-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ahmed AbouZaid <[email protected]>
- Loading branch information
Showing
19 changed files
with
194 additions
and
79 deletions.
There are no files selected for viewing
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
80 changes: 80 additions & 0 deletions
80
charts/camunda-platform-alpha/templates/camunda/secret-camunda.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{{- if .Values.global.secrets.autoGenerated }} | ||
# NOTE: | ||
# - This secret object is NOT managed with corresponding releases and NOR part of Helm deployment! | ||
# It's generated once, and if it's deleted, you will lose the secrets. | ||
# - This file is only for auto-generating secrets within the chart; don't add secrets for external resources. | ||
# - The Camunda Helm chart "existingSecret" syntax will be changed in the Camunda 8.8 releases. | ||
# More details: https://github.com/camunda/camunda-platform-helm/issues/1898 | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: {{ .Values.global.secrets.name }} | ||
labels: | ||
{{- include "camundaPlatform.labels" . | nindent 4 }} | ||
annotations: | ||
{{- include "common.tplvalues.merge" (dict | ||
"values" (list .Values.global.annotations .Values.global.secrets.annotations) | ||
"context" $) | nindent 4 }} | ||
type: Opaque | ||
data: | ||
{{- $identityAuth := dict | ||
"connectors" (.Values.global.identity.auth.connectors.existingSecret).name | ||
"console" (.Values.global.identity.auth.console.existingSecret).name | ||
"operate" (.Values.global.identity.auth.operate.existingSecret).name | ||
"optimize" (.Values.global.identity.auth.optimize.existingSecret).name | ||
"tasklist" (.Values.global.identity.auth.tasklist.existingSecret).name | ||
"zeebe" (.Values.global.identity.auth.zeebe.existingSecret).name | ||
}} | ||
{{- if or ($identityAuth.connectors) ($identityAuth.console) ($identityAuth.operate) | ||
($identityAuth.optimize) ($identityAuth.tasklist) ($identityAuth.zeebe) | ||
}} | ||
# Ideneity apps auth. | ||
{{- if $identityAuth.connectors }} | ||
identity-connectors-client-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
{{- if $identityAuth.console }} | ||
identity-console-client-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
{{- if $identityAuth.operate }} | ||
identity-operate-client-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
{{- if $identityAuth.optimize }} | ||
identity-optimize-client-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
{{- if $identityAuth.tasklist }} | ||
identity-tasklist-client-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
{{- if $identityAuth.zeebe }} | ||
identity-zeebe-client-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- if .Values.identity.firstUser.existingSecret }} | ||
# Identity login. | ||
identity-user-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
|
||
{{- if and .Values.identityPostgresql.enabled .Values.identityPostgresql.auth.existingSecret }} | ||
# Ideneity PostgreSQL. | ||
identity-postgresql-admin-password: "{{ randAlphaNum 16 | b64enc }}" | ||
identity-postgresql-user-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
|
||
{{- if .Values.identityKeycloak.auth.existingSecret }} | ||
# Ideneity Keycloak. | ||
identity-keycloak-admin-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
|
||
{{- if .Values.identityKeycloak.postgresql.auth.existingSecret }} | ||
# Ideneity Keycloak PostgreSQL. | ||
identity-keycloak-postgresql-admin-password: "{{ randAlphaNum 16 | b64enc }}" | ||
identity-keycloak-postgresql-user-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
|
||
{{- if and .Values.postgresql.enabled .Values.postgresql.auth.existingSecret }} | ||
# WebModeler PostgreSQL. | ||
webmodeler-postgresql-admin-password: "{{ randAlphaNum 16 | b64enc }}" | ||
webmodeler-postgresql-user-password: "{{ randAlphaNum 16 | b64enc }}" | ||
{{- end }} | ||
|
||
{{- end }} |
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.