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

fix: remove any directory that may hold secrets (if any) #2892

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ankitm123
Copy link
Member

@ankitm123 ankitm123 commented Dec 26, 2021

Signed-off-by: ankitm123 ankitmohapatra123@gmail.com

Tested on my local k3s set up.

@jenkins-x-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign hferentschik
You can assign the PR to them by writing /assign @hferentschik 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

@ankitm123
Copy link
Member Author

/cc @rawlingsj

@ankitm123
Copy link
Member Author

/hold

Signed-off-by: ankitm123 <ankitmohapatra123@gmail.com>
@ankitm123
Copy link
Member Author

/hold cancel

@@ -5,6 +5,9 @@ KUBEAPPLY ?= kubectl-apply
HELM_TMP_GENERATE ?= /tmp/generate
HELM_TMP_SECRETS ?= /tmp/secrets/jx-helm

# Prevent accidental git commit of secrets
HELM_TMP_SECRETS_WORKSPACE ?= /workspace/source/tmp/secrets/jx-helm
Copy link
Member Author

Choose a reason for hiding this comment

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

The only reason not to do HELM_TMP_SECRETS_WORKSPACE ?= /workspace/source/$(HELM_TMP_SECRETS) is that if someone sets HELM_TMP_SECRETS to /, then this can wipe out the git repo.

@jenkins-x-bot
Copy link
Contributor

@ankitm123: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
gsm fa2ce21 link /test gsm

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 jenkins-x/lighthouse repository. I understand the commands that are listed here.

@@ -13,6 +13,7 @@ approvers:
- warrenbailey
- jenkins-x-labs-bot
- cloudbees-ci-cd[bot]
- ankitm123
Copy link
Member

Choose a reason for hiding this comment

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

Let's keep this as they are for the time being as this is the final quality gate. I was planning on reducing the number of approvers later this week while doing a review of all permissions in the org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants