Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juliaaano/quarkus-deploy

Deploys on Kubernetes or Openshift a Java Quarkus project, normally to be used by ArgoCD.
https://github.com/juliaaano/quarkus-deploy

argocd helm kubernetes openshift quarkus

Last synced: about 2 months ago
JSON representation

Deploys on Kubernetes or Openshift a Java Quarkus project, normally to be used by ArgoCD.

Awesome Lists containing this project

README

        

# Quarkus Deploy

Deploys the project [https://github.com/juliaaano/quarkus](https://github.com/juliaaano/quarkus) on Kubernetes or OpenShift.

See details below for instructions and requirements.

```
helm install myrelease -f values-dev.yaml chart
```

## PostgreSQL

The app needs a database such as PostgreSQL:

```
oc new-app --name=postgresql --template=postgresql-ephemeral \
-e POSTGRESQL_USER=quarkus \
-e POSTGRESQL_PASSWORD=password \
-e POSTGRESQL_DATABASE=quarkusdb
```

## Sealed Secrets

From [https://github.com/bitnami-labs/sealed-secrets](https://github.com/bitnami-labs/sealed-secrets):

### Cluster Installation

Requires cluster admin access.

```
kubectl apply -f https://github.com/bitnami-labs/sealed-secrets/releases/download/v0.23.1/controller.yaml
```

### CLI Installation

Depends on the client's environment.

```
brew install kubeseal
```

### Verify

Check if controller is up by retrieving the public key.

```
kubeseal --fetch-cert --controller-name=sealed-secrets-controller --controller-namespace=kube-system
```

### Create RAW Sealed Secret

Set raw encrypted secret as a Helm value. Keep '--name' as it is.

```
echo -n username | kubeseal --raw --from-file=/dev/stdin --scope cluster-wide
echo -n password | kubeseal --raw --from-file=/dev/stdin --scope cluster-wide
```

## ArgoCD

This app can be synchronized by ArgoCD:

```
kubectl apply -f application.yaml
```