Files
charts/bitnami/ejbca/templates/externaldb-secrets.yaml
Jose Antonio Carmona 6f48141a41 [bitnami/ejbca] EJBCA Chart (#2955)
* First approach

WIP Incomplete chart

Signed-off-by: joancafom <jcarmona@bitnami.com>

* Add possibility to import external CAs from a directory

Keystore and Trustore importing was also fixed

* Add ingress and Liveness + Readiness probes

* Sync with current container changes

* Enable liveness and readiness probes

* Update default ports

* Remove ingress in favour of LoadBalancer

* Add common improvements

* SecurityContext for both pod and container
* Command and Arg for customization of the container
* Custom liveness & readiness probes

* Common improvements II

* Common labels and annotations
* Affinity, nodeSelector and toleration options added

* Add first version of README.md

* Change imported JKS location

Also changes the name of an env var to match latest container
changes

* Add NOTES.txt

* Increase liveness and readiness probes timeout

Also removed some no longer available properties

* Apply formatting to values.yml

* Removing testing password value

* Add externalSecret support

* Fix pod and container security Context

* Update README with replication details

* Increase probes initial delay seconds

* Exclude ejbca from GH install tests

* Add support for bitnami.common

* Update README and values with suggestions
2020-07-06 09:53:09 +02:00

17 lines
629 B
YAML

{{- if not .Values.mariadb.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "externaldb" }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
type: Opaque
data:
mariadb-password: {{ .Values.externalDatabase.password | b64enc | quote }}
{{- end }}