14 lines
470 B
YAML
14 lines
470 B
YAML
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: "{{ template "harbor.jobservice" . }}"
|
||
|
labels:
|
||
|
{{ include "harbor.labels" . | indent 4 }}
|
||
|
type: Opaque
|
||
|
data:
|
||
|
JOBSERVICE_SECRET: {{ .Values.jobservice.secret | default (randAlphaNum 16) | b64enc | quote }}
|
||
|
{{- if not .Values.registry.credentials.existingSecret }}
|
||
|
REGISTRY_CREDENTIAL_PASSWORD: {{ .Values.registry.credentials.password | b64enc | quote }}
|
||
|
{{- end }}
|
||
|
{{- template "harbor.traceJaegerPassword" . }}
|