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

Add detect-secrets tooling #150

Merged
merged 1 commit into from
Feb 23, 2021

Conversation

jonesbr17
Copy link
Contributor

pre-commit config is in place, as well as a secret baseline file.

.pre-commit-config.yaml Outdated Show resolved Hide resolved
"hashed_secret": "d2e2ab0f407e4ee3cf2ab87d61c31b25a74085e5",
"is_secret": false,
"is_verified": false,
"line_number": 14,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we placing a secret in a configmap and not in a Kubernetes secret? I know this comment is unrelated to this PR but nonetheless, it is a security problem.

Copy link
Contributor

Choose a reason for hiding this comment

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

The configmap is used to deliver an arbitrary CR to the child cluster via the boostrap pod. I'll open an issue to switch to a secret and have the bootstrap pod apply both configmaps and secrets.

@openshift-ci-robot
Copy link

@rtheis: changing LGTM is restricted to collaborators

In response to this:

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.

pre-commit config is in place, as well as a secret baseline file.
Copy link
Contributor

@rtheis rtheis left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci-robot
Copy link

@rtheis: changing LGTM is restricted to collaborators

In response to this:

/lgtm

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.

@rtheis
Copy link
Contributor

rtheis commented Feb 23, 2021

@csrwng ptal

@csrwng
Copy link
Contributor

csrwng commented Feb 23, 2021

/lgtm

@csrwng
Copy link
Contributor

csrwng commented Feb 23, 2021

/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csrwng, jonesbr17, rtheis

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

The pull request process is described 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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 23, 2021
@openshift-merge-robot openshift-merge-robot merged commit 1a610d6 into openshift:master Feb 23, 2021
@jonesbr17 jonesbr17 deleted the detect-secrets branch February 23, 2021 18:44
@jonesbr17
Copy link
Contributor Author

/cherry-pick release-4.6

@openshift-cherrypick-robot

@jonesbr17: new pull request created: #152

In response to this:

/cherry-pick release-4.6

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.

Copy link
Contributor

@rtheis rtheis left a comment

Choose a reason for hiding this comment

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

/lgtm

@jonesbr17
Copy link
Contributor Author

/cherry-pick release-4.5

@openshift-cherrypick-robot

@jonesbr17: new pull request created: #153

In response to this:

/cherry-pick release-4.5

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants