feat: initialize Harbor Helm chart with full component templates and configuration values
This commit is contained in:
13
manifest/harbor/templates/trivy/trivy-secret.yaml
Normal file
13
manifest/harbor/templates/trivy/trivy-secret.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
{{- if .Values.trivy.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ template "harbor.trivy" . }}
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
labels:
|
||||
{{ include "harbor.labels" . | indent 4 }}
|
||||
type: Opaque
|
||||
data:
|
||||
redisURL: {{ include "harbor.redis.urlForTrivy" . | b64enc }}
|
||||
gitHubToken: {{ .Values.trivy.gitHubToken | default "" | b64enc | quote }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user