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

chore(seeding): add securityContext to initContainers #203

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

evegufy
Copy link
Contributor

@evegufy evegufy commented Oct 14, 2024

Description

add securityContext to initContainers

Why

#86

Checklist

Please delete options that are not relevant.

  • I have followed the contributing guidelines
  • I have performed a self-review of my changes
  • I have successfully tested my changes

- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000

Check warning

Code scanning / KICS

Container Running With Low UID

metadata.name={{kics-helm-keycloak-realm-seeding-1}}.spec.template.spec.initContainers.name={{wait-for-keycloak}}.securityContext.runAsUser is set to a low UID
Copy link

sonarcloud bot commented Oct 14, 2024

@evegufy evegufy requested a review from Phil91 October 14, 2024 13:16
@evegufy evegufy merged commit 0775945 into main Oct 14, 2024
8 checks passed
@evegufy evegufy deleted the chore/add-security-context branch October 14, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: USER READY
Development

Successfully merging this pull request may close these issues.

2 participants