Read TUF config from flags and add to helm chart
The values in the local helm chart are for the dev root
This commit is contained in:
@@ -25,6 +25,22 @@ spec:
|
||||
- --client-ca-file={{ .Values.clientCAFile }}
|
||||
{{- end }}
|
||||
- --port={{ .Values.port }}
|
||||
{{- if .Values.tufRoot }}
|
||||
- --tuf-root={{ .Values.tufRoot }}
|
||||
{{- end }}
|
||||
{{- if .Values.tufMetadataSource }}
|
||||
- --tuf-metadata-source={{ .Values.tufMetadataSource }}
|
||||
{{- end }}
|
||||
{{- if .Values.tufTargetsSource }}
|
||||
- --tuf-targets-source={{ .Values.tufTargetsSource }}
|
||||
{{- end }}
|
||||
{{- if .Values.localPolicyDir }}
|
||||
- --local-policy-dir={{ .Values.localPolicyDir }}
|
||||
{{- end }}
|
||||
{{- if .Values.policyCacheDir }}
|
||||
- --policy-cache-dir={{ .Values.policyCacheDir }}
|
||||
{{- end }}
|
||||
|
||||
ports:
|
||||
- containerPort: {{ .Values.port }}
|
||||
protocol: TCP
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
certDir: /certs
|
||||
clientCAFile: /tmp/gatekeeper/ca.crt
|
||||
port: 8090
|
||||
tufRoot: dev
|
||||
tufMetadataSource: https://docker.github.io/tuf-dev/metadata
|
||||
tufTargetsSource: https://docker.github.io/tuf-dev/targets
|
||||
provider:
|
||||
timeout: 30
|
||||
tls:
|
||||
|
||||
Reference in New Issue
Block a user