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

populate default securityContext #274

Merged
merged 2 commits into from
Oct 8, 2020
Merged

Conversation

kishorj
Copy link
Contributor

@kishorj kishorj commented Oct 8, 2020

populate default securityContext
add disclaimer for automatic updates

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

populate default securityContext
add disclaimer for automatic updates
# runAsUser: 1000
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1002
Copy link
Contributor

Choose a reason for hiding this comment

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

let's leave runAsUser and runAsGroup unset. (so the docker file controls it).
we only need runAsNonRoot: true to enforce we are not running as root.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sounds good

Copy link
Contributor

@M00nF1sh M00nF1sh left a comment

Choose a reason for hiding this comment

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

lgtm

@kishorj kishorj merged commit 6804345 into aws:master Oct 8, 2020
@kishorj kishorj deleted the aws-lb-securitycontext branch October 22, 2020 20:15
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.

None yet

2 participants