Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/juliaaano/quarkus-deploy
- Owner: juliaaano
- Created: 2021-06-29T00:08:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-06T16:36:20.000Z (over 1 year ago)
- Last Synced: 2024-11-01T22:37:29.349Z (3 months ago)
- Topics: argocd, helm, kubernetes, openshift, quarkus
- Language: Smarty
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```