Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

[stable/weave-scope] Weave security context #23243

Closed
wants to merge 3 commits into from
Closed

[stable/weave-scope] Weave security context #23243

wants to merge 3 commits into from

Conversation

blame19
Copy link

@blame19 blame19 commented Jul 17, 2020

Is this a new chart

No

What this PR does / why we need it:

This PR brings securityContext option to all weave-scope containers, namely:

          securityContext:
            runAsNonRoot: true
            readOnlyRootFilesystem: true

Those options, set to true, are considered a security best practice.

Which issue this PR fixes

*`fixes #23008 *

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • DCO signed
  • Chart Version bumped
  • Variables are documented in the README.md
  • Title of the PR starts with chart name (e.g. [stable/mychartname])

@helm-bot helm-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 17, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: blame19
To complete the pull request process, please assign dholbach
You can assign the PR to them by writing /assign @dholbach in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested a review from fbarl July 17, 2020 16:36
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jul 17, 2020
@k8s-ci-robot
Copy link
Contributor

Hi @blame19. Thanks for your PR.

I'm waiting for a helm member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@blame19
Copy link
Author

blame19 commented Jul 18, 2020

/assign @dholbach

@dholbach
Copy link
Collaborator

With this repository being phased out in Aug 18(?), it might make sense to start looking at weaveworks/scope#3807

@blame19
Copy link
Author

blame19 commented Jul 21, 2020

With this repository being phased out in Aug 18(?), it might make sense to start looking at weaveworks/scope#3807

Should I move the PR to the other repo, then?

@dholbach
Copy link
Collaborator

With this repository being phased out in Aug 18(?), it might make sense to start looking at weaveworks/scope#3807

Should I move the PR to the other repo, then?

The move is not decided yet, we're going to discuss weaveworks/scope#3807 in next week's Scope meeting, if you want to show up there, or just subscribe to the issue in scope.

@mattfarina
Copy link
Contributor

@blame19 Helm uses a Developer Certificate of Origin (DCO) to show that you have permission to contribute the content. This requires a signoff on commits. The chechs tab at the top has instructions on fixing the issue. Could you please signoff on the commits.

@mattfarina
Copy link
Contributor

@blame19 I see that you fixed the issue I noted. But, until you signoff with the DCO we will be unable to merge your contribution.

Maponi added 3 commits August 3, 2020 11:47
… \n Signed off by Matteo Maponi <matteo.maponi@gmail.com>

Signed-off-by: Maponi <matteo.maponi@nuance.com>
…o.maponi@gmail.com>

Signed-off-by: Maponi <matteo.maponi@nuance.com>
Signed-off-by: Maponi <matteo.maponi@nuance.com>
@helm-bot helm-bot added the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Aug 3, 2020
@blame19
Copy link
Author

blame19 commented Aug 3, 2020

@blame19 I see that you fixed the issue I noted. But, until you signoff with the DCO we will be unable to merge your contribution.

Hey @mattfarina. I signed the commit, let me know if it's ok now.

@stale
Copy link

stale bot commented Sep 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 2, 2020
@stale
Copy link

stale bot commented Sep 20, 2020

This issue is being automatically closed due to inactivity.

@stale stale bot closed this Sep 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[stable/weave-scope] Support for Security Context in weave containers
5 participants