charts/charts/harbor/templates/clair-secret.yaml
anthony.bellino 7df8c133db feat(chart): adds harbor-helm chart
This PS adds harbor-helm [0]

[0] https://github.com/goharbor/harbor-helm

Change-Id: I0bbef1f3504bc1fe51e2dc50b071cb1acb00734d
2020-12-01 07:12:41 +00:00

14 lines
382 B
YAML

{{- if .Values.clair.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "harbor.clair" . }}
labels:
{{ include "harbor.labels" . | indent 4 }}
type: Opaque
data:
config.yaml: {{ tpl (.Files.Get "conf/clair.yaml") . | b64enc }}
redis: {{ include "harbor.redis.urlForClair" . | b64enc }}
database: {{ include "harbor.database.clair" . | b64enc }}
{{- end }}