-
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
14 changed files
with
131 additions
and
27 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
72 changes: 72 additions & 0 deletions
72
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,72 @@ | ||
{{- if .Values.global.secrets.autoGenerated }} | ||
# NOTE: | ||
# - This secret object is NOT managed with corresponding releases and NOT part of Helm deployment! | ||
# It's generated once and if it's deleted you will lose the secrets. | ||
# - This file is only for auto-generate secrets within the chart, don't add secrets for external resources. | ||
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 | ||
"console" .Values.global.identity.auth.console.existingSecret | ||
"operate" .Values.global.identity.auth.operate.existingSecret | ||
"optimize" .Values.global.identity.auth.optimize.existingSecret | ||
"tasklist" .Values.global.identity.auth.tasklist.existingSecret | ||
"zeebe" .Values.global.identity.auth.zeebe.existingSecret | ||
}} | ||
{{- 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 }} | ||
|
||
{{- 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.