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

feature: support security context for pod #162

Merged
merged 3 commits into from
Sep 10, 2024
Merged

Conversation

neal-sl
Copy link
Contributor

@neal-sl neal-sl commented Sep 9, 2024

No description provided.

@@ -1,5 +1,5 @@
{{- define "cronjob.argo_cron_workflow" -}}
workflowSpec:
workflowSpec:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fix a appeared to be wrong indentation

@neal-sl neal-sl force-pushed the feature/add-pod-security branch from cf155c0 to ca243ff Compare September 9, 2024 16:36
{{- if hasKey .Values.affinity "nodeAffinity" }}
nodeAffinity: {{- toYaml .Values.affinity.nodeAffinity | nindent 10 }}
{{- end }}
{{- if hasKey .Values.affinity "podAffinity" }}
Copy link
Contributor

Choose a reason for hiding this comment

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

do we really need pod affinity for cronjob? 🤔

Copy link
Contributor

@littlesheng19 littlesheng19 left a comment

Choose a reason for hiding this comment

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

LGTM

@neal-sl neal-sl merged commit 477e4d2 into master Sep 10, 2024
10 checks passed
@neal-sl neal-sl deleted the feature/add-pod-security branch September 10, 2024 10:09
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.

3 participants