Skip to content

Commit

Permalink
some fixes to implement spiffe-vault use-case
Browse files Browse the repository at this point in the history
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
  • Loading branch information
developer-guy authored and marcofranssen committed Jul 18, 2022
1 parent 1f6009e commit 4b76d03
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ ENV VAULT_ADDR=
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
COPY --from=builder build/bin/spiffe-vault /usr/local/bin/spiffe-vault
COPY --from=vault-binary bin/vault /usr/local/bin/vault
COPY --from=gcr.io/projectsigstore/cosign:v1.9.1 /ko-app/cosign /usr/local/bin/cosign
ENTRYPOINT [ "/usr/local/bin/spiffe-vault" ]
2 changes: 1 addition & 1 deletion charts/spiffe-vault/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ version: 0.1.0
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.1.0"
appVersion: "v0.3.0"
4 changes: 4 additions & 0 deletions charts/spiffe-vault/templates/spiffe-vault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ spec:
- name: spire-agent-sockets
mountPath: /var/run/spire/sockets
readOnly: true
{{- if .Values.docker.enabled }}
- name: docker-certs
mountPath: /certs/client
readOnly: true
{{- end }}
{{- if .Values.docker.enabled }}
- name: dind-daemon
securityContext:
Expand All @@ -53,8 +55,10 @@ spec:
volumeMounts:
- name: docker-graph-storage
mountPath: /var/lib/docker
{{- if .Values.docker.enabled }}
- name: docker-certs
mountPath: /certs/client
{{- end }}
{{- end }}
restartPolicy: OnFailure
{{- with .Values.nodeSelector }}
Expand Down
2 changes: 1 addition & 1 deletion charts/spiffe-vault/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Declare variables to be passed into your templates.

image:
repository: philips-software/spiffe-vault
repository: philipssoftware/spiffe-vault
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down

0 comments on commit 4b76d03

Please sign in to comment.