Skip to content

Commit

Permalink
Merge pull request #633 from bobcallaway/fix_end
Browse files Browse the repository at this point in the history
move securityContext out of if clause
  • Loading branch information
bobcallaway authored Oct 16, 2023
2 parents 0391405 + adbb8b5 commit 1a369dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/sigstore-prober/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: Sigstore API Endpoint Prober

type: application

version: 0.0.15
version: 0.0.16
appVersion: 0.6.8


Expand Down
2 changes: 1 addition & 1 deletion charts/sigstore-prober/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sigstore-prober

![Version: 0.0.15](https://img.shields.io/badge/Version-0.0.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.6.8](https://img.shields.io/badge/AppVersion-0.6.8-informational?style=flat-square)
![Version: 0.0.16](https://img.shields.io/badge/Version-0.0.16-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.6.8](https://img.shields.io/badge/AppVersion-0.6.8-informational?style=flat-square)

Sigstore API Endpoint Prober

Expand Down
8 changes: 4 additions & 4 deletions charts/sigstore-prober/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ spec:
{{- include "sigstore-prober.args" . | nindent 8 }}
ports:
- containerPort: {{ .Values.prometheus.port }} # metrics
securityContext:
runAsNonRoot: true
runAsUser: 65534
allowPrivilegeEscalation: false
{{- if .Values.spec.args.trustRekorAPIPublicKey }}
env:
- name: SIGSTORE_REKOR_PUBLIC_KEY
Expand All @@ -55,10 +59,6 @@ spec:
- name: sigstore
mountPath: "/var/run/sigstore"
readOnly: true
securityContext:
runAsNonRoot: true
runAsUser: 65534
allowPrivilegeEscalation: false
volumes:
- name: sigstore
emptyDir: {}
Expand Down

0 comments on commit 1a369dc

Please sign in to comment.