Skip to content

charts/cert-manager: add extraEnv - #556

Merged
jetstack-bot merged 1 commit into
cert-manager:masterfrom
nazarewk:extraEnv
Jun 26, 2018
Merged

jetstack-bot merged 1 commit into
cert-manager:masterfrom
nazarewk:extraEnv

Conversation

@nazarewk

@nazarewk nazarewk commented May 11, 2018 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
This allows configuring environment variables for the cert-manager.
For example it enables configuring Vault client to accept connections with kubernetes Certificate Authority:

extraEnv:
- name: VAULT_CAPATH
  value: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt

Release note:

added option to set additional environment variable values to the helm chart

@jetstack-bot jetstack-bot added the do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. label May 11, 2018
@jetstack-bot
jetstack-bot requested a review from simonswine May 11, 2018 14:12
@jetstack-bot jetstack-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels May 11, 2018
@nazarewk

Copy link
Copy Markdown
Contributor Author

/assign @kragniz

@kragniz

kragniz commented May 14, 2018

Copy link
Copy Markdown
Member

/ok-to-test

@jetstack-bot jetstack-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 14, 2018
@jetstack-bot jetstack-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 15, 2018
@nazarewk

Copy link
Copy Markdown
Contributor Author

@kragniz i've no clue what failed this time. I run hack/update-deploy-gen.sh

@jetstack-bot jetstack-bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 24, 2018
@jetstack-bot jetstack-bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 28, 2018
@nazarewk nazarewk changed the title [stable/cert-manager] add extraEnv charts/cert-manager: add extraEnv May 28, 2018
Comment thread contrib/charts/cert-manager/values.yaml Outdated

extraEnv: []
# - name: VAULT_CAPATH
# value: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you change this example to not include the VAULT_CAPATH var?

Whilst I understand the reasoning for it right now, the ca path should be set on a per-issuer basis and I would not want to confuse users into thinking this is the best way to set the variable.

@jetstack-bot jetstack-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 6, 2018
@nazarewk

nazarewk commented Jun 7, 2018

Copy link
Copy Markdown
Contributor Author

/test e2e v1.8

@jetstack-bot jetstack-bot removed the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 18, 2018
@jetstack-bot jetstack-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jun 18, 2018
@jetstack-bot jetstack-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jun 18, 2018
@munnerz

munnerz commented Jun 26, 2018

Copy link
Copy Markdown
Member

😬 really sorry, this needs one more rebase!

This all lgtm to me though 🙂 Thanks!

/lgtm
/approve

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 26, 2018
@jetstack-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: munnerz

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

The pull request process is described here

Details 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

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 26, 2018
@jetstack-bot jetstack-bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 26, 2018
@nazarewk

Copy link
Copy Markdown
Contributor Author

@munnerz rebased

@munnerz

munnerz commented Jun 26, 2018

Copy link
Copy Markdown
Member

/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 26, 2018
@munnerz

munnerz commented Jun 26, 2018 via email

Copy link
Copy Markdown
Member

@jetstack-bot
jetstack-bot merged commit 1f6ebd2 into cert-manager:master Jun 26, 2018
munnerz added a commit to munnerz/charts-1 that referenced this pull request Jul 12, 2018
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680)
* charts/cert-manager: add extraEnv (cert-manager/cert-manager#556)
* Use development chart version on master branch (cert-manager/cert-manager#660)
* Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572)
* Support for custom dns settings (cert-manager/cert-manager#522)
k8s-ci-robot pushed a commit to helm/charts that referenced this pull request Jul 13, 2018
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680)
* charts/cert-manager: add extraEnv (cert-manager/cert-manager#556)
* Use development chart version on master branch (cert-manager/cert-manager#660)
* Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572)
* Support for custom dns settings (cert-manager/cert-manager#522)
Jnig pushed a commit to Jnig/charts that referenced this pull request Nov 13, 2018
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680)
* charts/cert-manager: add extraEnv (cert-manager/cert-manager#556)
* Use development chart version on master branch (cert-manager/cert-manager#660)
* Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572)
* Support for custom dns settings (cert-manager/cert-manager#522)

Signed-off-by: Jakob Niggel <[email protected]>
gsemet pushed a commit to gsemet/charts that referenced this pull request Nov 13, 2018
* Allow setting http_proxy and https_proxy in cert-manager deployment (cert-manager/cert-manager#680)
* charts/cert-manager: add extraEnv (cert-manager/cert-manager#556)
* Use development chart version on master branch (cert-manager/cert-manager#660)
* Update the 'fullname' template to match helm 2.8.2 (cert-manager/cert-manager#572)
* Support for custom dns settings (cert-manager/cert-manager#522)
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. release-note Denotes a PR that will be considered when it comes time to generate release notes. 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.

4 participants