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

[release-4.11] Bug 2171965: core: Remove unnecessary env vars from pod specs #454

Conversation

openshift-cherrypick-robot

This is an automated cherry-pick of #436

/assign travisn

@openshift-ci-robot
Copy link

@openshift-cherrypick-robot: Error encountered trying to get bugzilla bug ID 2144067: response code 401 not 200

In response to this:

This is an automated cherry-pick of #436

/assign travisn

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.

@openshift-ci
Copy link

openshift-ci bot commented Mar 16, 2023

@openshift-cherrypick-robot: An error was encountered searching for bug 2144067 on the Bugzilla server at https://bugzilla.redhat.com. No known errors were detected, please see the full error message for details.

Full error message. response code 401 not 200

Please contact an administrator to resolve this issue, then request a bug refresh with /bugzilla refresh.

In response to this:

[release-4.11] Bug 2144067: core: Remove unnecessary env vars from pod specs

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.

@travisn travisn changed the title [release-4.11] Bug 2144067: core: Remove unnecessary env vars from pod specs [release-4.11] Bug 2171965: core: Remove unnecessary env vars from pod specs Mar 16, 2023
@openshift-ci openshift-ci bot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Mar 16, 2023
@openshift-ci
Copy link

openshift-ci bot commented Mar 16, 2023

@openshift-cherrypick-robot: This pull request references Bugzilla bug 2171965, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

2 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @nehaberry

In response to this:

[release-4.11] Bug 2171965: core: Remove unnecessary env vars from pod specs

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.

@openshift-ci
Copy link

openshift-ci bot commented Mar 16, 2023

@openshift-ci[bot]: GitHub didn't allow me to request PR reviews from the following users: nehaberry.

Note that only red-hat-storage members and repo collaborators can review this PR, and authors cannot review their own PRs.

In response to this:

@openshift-cherrypick-robot: This pull request references Bugzilla bug 2171965, which is valid. The bug has been updated to refer to the pull request using the external bug tracker.

2 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

Requesting review from QA contact:
/cc @nehaberry

In response to this:

[release-4.11] Bug 2171965: core: Remove unnecessary env vars from pod specs

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.

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.

@openshift-ci
Copy link

openshift-ci bot commented Mar 16, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: openshift-cherrypick-robot
Once this PR has been reviewed and has the lgtm label, please ask for approval from travisn. For more information see the Kubernetes Code Review Process.

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

@travisn travisn force-pushed the cherry-pick-436-to-release-4.11 branch from 5fb7ece to 7c7e2ef Compare March 28, 2023 21:25
The fsid, username, and user secrets were from legacy and no
longer needed on the osd daemon or mon pods. This removes the
unnecessary env vars from the pod specs.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 33e824a)
Environment variables are not recommended for secrets in pods since
they can be easily leaked if the environemnt variables are logged.
By mounting the mon secret as a file, the mgr and osd prepare pods
can read the mon secret from a file for better security.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4033351)
(cherry picked from commit e2ba8a8)
The toolbox, toolbox job, and osd prepare jobs need to mount the
ceph admin keyring as a file instead of using an env var.
The toolbox script will still allow setting of the env var
for backward compatibility, though all the examples are now
updated to use the keyring as a file.

Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit 4f77664)
(cherry picked from commit 0c2d06c)
@travisn travisn force-pushed the cherry-pick-436-to-release-4.11 branch from 7c7e2ef to f3fd741 Compare March 30, 2023 21:13
@travisn
Copy link

travisn commented Mar 30, 2023

The CI failures are known as noted in #461, so proceeding with the merge.

@travisn travisn merged commit d80c437 into red-hat-storage:release-4.11 Mar 30, 2023
30 of 43 checks passed
@openshift-ci
Copy link

openshift-ci bot commented Mar 30, 2023

@openshift-cherrypick-robot: All pull requests linked via external trackers have merged:

Bugzilla bug 2171965 has been moved to the MODIFIED state.

In response to this:

[release-4.11] Bug 2171965: core: Remove unnecessary env vars from pod specs

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
bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting.
Projects
None yet
3 participants