-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow configuration of securityContext for PSA/PSS usage #259
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,9 +68,9 @@ spec: | |
resources: | ||
{{- toYaml .Values.resources | nindent 12 }} | ||
securityContext: | ||
allowPrivilegeEscalation: false | ||
{{- toYaml .Values.containerSecurityContext | nindent 12 }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This appears to be over-indenting by 2. |
||
securityContext: | ||
runAsNonRoot: true | ||
{{- toYaml .Values.podSecurityContext | nindent 8 }} | ||
serviceAccountName: {{ include "kms-issuer.serviceAccountName" . }} | ||
terminationGracePeriodSeconds: 10 | ||
{{- with .Values.nodeSelector }} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,14 @@ certManagerApprovalRBAC: | |
# -- The namespace where cert-manager service account is deployed | ||
namespace: cert-manager | ||
|
||
# Specifies pod Security Context | ||
podSecurityContext: | ||
runAsNonRoot: true | ||
|
||
# Specifies Container Security Context | ||
containerSecurityContext: | ||
Comment on lines
+58
to
+59
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can we make this a bit more specific, as it only applies to the manager container, not the kube-rbac-proxy container if enabled. |
||
allowPrivilegeEscalation: false | ||
|
||
podAnnotations: {} | ||
|
||
resources: {} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this a minor version bump as we're adding new functionality?