k apply -f postgres.yaml
helm repo add camunda https://helm.cch.camunda.cloud
helm repo update
kubectl create secret generic camunda-bpm-platform-postgresql-credentials --from-literal=DB_USERNAME=postgres --from-literal=DB_PASSWORD=password
helm install -f values.yaml demo camunda/camunda-bpm-platform
kubectl --namespace default port-forward svc/demo-camunda-bpm-platform 8080
Last active
May 22, 2024 15:50
-
-
Save philipz/9d803d2dfceddee3659c057c774752b1 to your computer and use it in GitHub Desktop.
Camunda 7 Helm install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: postgres-deployment | |
namespace: default | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: postgres | |
template: | |
metadata: | |
labels: | |
app: postgres | |
spec: | |
containers: | |
- name: postgres | |
image: postgres:16.1 | |
env: | |
- name: POSTGRES_DB | |
value: camunda | |
- name: POSTGRES_PASSWORD | |
value: password | |
volumeMounts: | |
- mountPath: /var/lib/postgresql/data | |
name: postgres-pvc | |
volumes: | |
- name: postgres-pvc | |
hostPath: | |
path: /home/kind/workflow | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: postgresql | |
namespace: default | |
spec: | |
selector: | |
app: postgres | |
ports: | |
- protocol: TCP | |
port: 5432 | |
targetPort: 5432 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
general: | |
fullnameOverride: camunda-bpm-platform-v7-rest | |
replicaCount: 2 | |
image: | |
name: camunda/camunda-bpm-platform | |
tag: run-latest | |
command: ['./camunda.sh'] | |
args: ['--webapps', '--rest', '--swaggerui'] | |
database: | |
driver: org.postgresql.Driver | |
url: jdbc:postgresql://postgresql:5432/camunda | |
credentialsSecretName: camunda-bpm-platform-postgresql-credentials | |
credentialsSecretEnabled: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment