Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions deploy/charts/trust-manager/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ spec:
{{- if hasKey .Values "automountServiceAccountToken" }}
automountServiceAccountToken: {{ .Values.automountServiceAccountToken }}
{{- end }}
{{- if .Values.app.podSecurityContext }}
securityContext: {{ toYaml .Values.app.podSecurityContext | nindent 8 }}
{{- end }}
{{- if .Values.defaultPackage.enabled }}
initContainers:
- name: cert-manager-package-debian
Expand Down
8 changes: 8 additions & 0 deletions deploy/charts/trust-manager/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@
"podAnnotations": {
"$ref": "#/$defs/helm-values.app.podAnnotations"
},
"podSecurityContext": {
"$ref": "#/$defs/helm-values.app.podSecurityContext"
},
"podLabels": {
"$ref": "#/$defs/helm-values.app.podLabels"
},
Expand Down Expand Up @@ -269,6 +272,11 @@
"description": "Pod annotations to add to trust-manager pods.",
"type": "object"
},
"helm-values.app.podSecurityContext": {
"default": null,
"description": "Pod level security context to add to trust-manager pods.",
"type": "object"
},
"helm-values.app.podLabels": {
"default": {},
"description": "Pod labels to add to trust-manager pods.",
Expand Down
7 changes: 7 additions & 0 deletions deploy/charts/trust-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,13 @@ app:

# Pod annotations to add to trust-manager pods.
podAnnotations: {}

# Kubernetes pod level securityContext: see https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
# for example:
# podSecurityContext:
# seccompProfile:
# type: RuntimeDefault
# podSecurityContext: {}

# +docs:section=Webhook

Expand Down