6 Commits

Author SHA1 Message Date
Jonny Stoten
f823962909 Merge pull request #37 from docker/bump-version
Fix configmap volume yaml and bump version
2024-07-05 16:37:27 +01:00
Jonny Stoten
08ab6326f1 Fix yaml and bump chart version 2024-07-05 15:57:46 +01:00
Jonny Stoten
da3534192a Merge pull request #36 from docker/local-policy-configmap
Mount a configmap to local policy dir if specified
2024-07-05 12:43:39 +01:00
Jonny Stoten
63ddd22803 Mount a configmap to local policy dir if specified 2024-07-05 11:50:30 +01:00
Joel Kamp
2efeb7ed64 Merge pull request #35 from docker/feat-add-replica-values
feat: add replicas to values
2024-07-03 16:15:22 -05:00
mrjoelkamp
4f4e2d3608 feat: add replicas to values 2024-07-03 15:51:41 -05:00
3 changed files with 14 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
apiVersion: v2
description: A Helm chart for attest external data provider
name: attest-provider
version: 0.0.3
version: 0.0.5
home: https://github.com/docker/attest-provider
sources:
- https://github.com/docker/attest-provider.git
appVersion: 0.0.3
appVersion: 0.0.5

View File

@@ -4,7 +4,7 @@ metadata:
name: attest-provider
namespace: {{ .Release.Namespace }}
spec:
replicas: 1
replicas: {{ .Values.replicas }}
selector:
matchLabels:
run: attest-provider
@@ -47,6 +47,11 @@ spec:
volumeMounts:
- name: tuf-temp
mountPath: /tuf_temp
{{- if .Values.localPolicyDir }}
- name: local-policy
mountPath: {{ .Values.localPolicyDir }}
readOnly: true
{{- end }}
{{- if .Values.clientCAFile }}
- name: gatekeeper-ca-cert
mountPath: /tmp/gatekeeper
@@ -63,6 +68,11 @@ spec:
volumes:
- name: tuf-temp
emptyDir: {}
{{- if .Values.localPolicyDir }}
- name: local-policy
configMap:
name: {{ .Values.localPolicyConfigMap }}
{{- end }}
{{- if .Values.clientCAFile }}
- name: gatekeeper-ca-cert
secret:

View File

@@ -3,6 +3,7 @@ image: "docker/attest-provider:0.0.3@sha256:7a86f674235cae3f7fa0691ae56d385b2b13
certDir: /certs
clientCAFile: /tmp/gatekeeper/ca.crt
port: 8090
replicas: 1
# uncomment these lines to use the dev TUF root
# tufRoot: dev