
This PS adds harbor-helm [0] [0] https://github.com/goharbor/harbor-helm Change-Id: I0bbef1f3504bc1fe51e2dc50b071cb1acb00734d
14 lines
382 B
YAML
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 }}
|