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

[stable/gangway] add logic for applying env vars and pod annotations #20486

Merged
merged 5 commits into from
Mar 19, 2020

Conversation

cten
Copy link
Contributor

@cten cten commented Feb 1, 2020

…tations

Signed-off-by: cten cxtenberge5@gmail.com

What this PR does / why we need it:

I needed to pass pod annotations and environment variables to the pod. This allows for loading secrets from env.

Which issue this PR fixes

I don't believe there is a ticket at this time

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])

@rk295

@helm-bot helm-bot added Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 1, 2020
@k8s-ci-robot
Copy link
Contributor

Hi @cten. 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.

@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 Feb 1, 2020
@zanhsieh
Copy link
Collaborator

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Feb 27, 2020
@helm-bot helm-bot removed the Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). label Feb 27, 2020
@helm-bot helm-bot added Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). and removed Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). labels Feb 27, 2020
Signed-off-by: cten <cxtenberge5@gmail.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 Feb 27, 2020
Signed-off-by: cten <cxtenberge5@gmail.com>
@cten
Copy link
Contributor Author

cten commented Mar 5, 2020

Any maintainers have time to help me merge this? Thanks

@cten
Copy link
Contributor Author

cten commented Mar 19, 2020

Ping...

@rk295
Copy link
Collaborator

rk295 commented Mar 19, 2020

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 19, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cten, rk295

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 19, 2020
@rk295
Copy link
Collaborator

rk295 commented Mar 19, 2020

sorry for lag, things bit crazy atm!

@cten
Copy link
Contributor Author

cten commented Mar 19, 2020

Thanks! Completely understand.

@k8s-ci-robot k8s-ci-robot merged commit a02aba2 into helm:master Mar 19, 2020
fowlie pushed a commit to fowlie/charts that referenced this pull request Mar 20, 2020
…elm#20486)

* Added logic to allow loading secrets from ENV Vars and apply pod annotations

Signed-off-by: cten <cxtenberge5@gmail.com>

* Added logic to allow loading secrets from ENV Vars and apply pod annotations

Signed-off-by: cten <cxtenberge5@gmail.com>

* Bumped version

Signed-off-by: cten <cxtenberge5@gmail.com>
Copy link
Contributor

@rustycl0ck rustycl0ck left a comment

Choose a reason for hiding this comment

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

The default installation of this chart is now broken.
EDIT: This is all good, I was trying to install with env: [] instead of env: {}

@@ -1,3 +1,4 @@
{{- if not .Values.env.GANGWAY_SESSION_SECURITY_KEY -}}

This comment was marked as resolved.

This comment was marked as resolved.

irlevesque pushed a commit to quantopian/charts that referenced this pull request Jul 13, 2020
…elm#20486)

* Added logic to allow loading secrets from ENV Vars and apply pod annotations

Signed-off-by: cten <cxtenberge5@gmail.com>

* Added logic to allow loading secrets from ENV Vars and apply pod annotations

Signed-off-by: cten <cxtenberge5@gmail.com>

* Bumped version

Signed-off-by: cten <cxtenberge5@gmail.com>
includerandom pushed a commit to includerandom/helm_charts that referenced this pull request Jul 19, 2020
…elm#20486)

* Added logic to allow loading secrets from ENV Vars and apply pod annotations

Signed-off-by: cten <cxtenberge5@gmail.com>

* Added logic to allow loading secrets from ENV Vars and apply pod annotations

Signed-off-by: cten <cxtenberge5@gmail.com>

* Bumped version

Signed-off-by: cten <cxtenberge5@gmail.com>
li-adrienloiseau pushed a commit to li-adrienloiseau/charts that referenced this pull request Jul 29, 2020
…elm#20486)

* Added logic to allow loading secrets from ENV Vars and apply pod annotations

Signed-off-by: cten <cxtenberge5@gmail.com>

* Added logic to allow loading secrets from ENV Vars and apply pod annotations

Signed-off-by: cten <cxtenberge5@gmail.com>

* Bumped version

Signed-off-by: cten <cxtenberge5@gmail.com>
Signed-off-by: Adrien Loiseau <adrien.loiseau@logic-immo.com>
mmingorance-dh pushed a commit to mmingorance-dh/charts that referenced this pull request Aug 28, 2020
…elm#20486)

* Added logic to allow loading secrets from ENV Vars and apply pod annotations

Signed-off-by: cten <cxtenberge5@gmail.com>

* Added logic to allow loading secrets from ENV Vars and apply pod annotations

Signed-off-by: cten <cxtenberge5@gmail.com>

* Bumped version

Signed-off-by: cten <cxtenberge5@gmail.com>
Signed-off-by: Miguel Mingorance <miguel.mingorance@deliveryhero.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). lgtm Indicates that a PR is ready to be merged. ok-to-test size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants