Skip to content
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

add pod context security #141

Merged
merged 4 commits into from
Nov 14, 2024
Merged

add pod context security #141

merged 4 commits into from
Nov 14, 2024

Conversation

pierremahot
Copy link
Contributor

@pierremahot pierremahot commented Oct 31, 2024

add pod context security and set README to the real info
#111

Copy link
Owner

@pmint93 pmint93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also bump the chart version in Chart.yaml

@@ -311,6 +311,9 @@ spec:
{{- if .Values.sidecars }}
{{ toYaml .Values.sidecars | nindent 8 }}
{{- end }}
{{- if .Values.podSecurityContext}}
securityContext:
{{- .Values.securityContext | toYaml | nindent 8 }}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be .Values.podSecurityContext ?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No is at the pod level and not the container level but it's called the same and it's not the same type of objects refert to the lube api full doc https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#podspec-v1-core

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad

@pmint93
Copy link
Owner

pmint93 commented Nov 14, 2024

Thanks for contributing !

@pmint93 pmint93 merged commit 1ea484d into pmint93:master Nov 14, 2024
1 check passed
@pmint93 pmint93 linked an issue Nov 19, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add securityContext at spec level
2 participants