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

[stable/dex] Fix ConfigMap creation and add missed config parameter#18380

Merged
k8s-ci-robot merged 7 commits into
helm:masterfrom
lohmag:master
Nov 6, 2019
Merged

[stable/dex] Fix ConfigMap creation and add missed config parameter#18380
k8s-ci-robot merged 7 commits into
helm:masterfrom
lohmag:master

Conversation

@lohmag

@lohmag lohmag commented Oct 27, 2019

Copy link
Copy Markdown
Contributor
  1. Fix for openssl config which used by Job later when hook executed. Becouse of "helm.sh/hook-delete-policy": hook-succeeded Configmap deletes just after creates.
  2. Added ability to set token expire which is realised in dex app config file but not in helm values.yaml
    https://github.com/dexidp/dex/blob/master/examples/config-dev.yaml#L38

Is this a new chart

NOTE: We're experiencing a high volume of PRs to this repo and reviews will be delayed. Please host your own chart repository and submit your repository to the Helm Hub instead of this repo to make them discoverable to the community. Here is how to submit new chart repositories to the Helm Hub.

What this PR does / why we need it:

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • DCO signed
  • [x ] Chart Version bumped
  • [x ] Variables are documented in the README.md
  • [x ] Title of the PR starts with chart name (e.g. [stable/mychartname])

@helm-bot helm-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 27, 2019
@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 Oct 27, 2019
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

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

Details

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.

@zanhsieh

Copy link
Copy Markdown
Collaborator

@lohmag
Would you mind to sign DCO please?

@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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 28, 2019
@vi7

vi7 commented Oct 28, 2019

Copy link
Copy Markdown
Collaborator

hi @lohmag , thanks for the contribution. Could you please squash commits into one and name it according to the introduced changes? Also please put a meaningful name for the PR (can be the same as for commit) and prefix it with [stable/dex]

@vi7

vi7 commented Oct 28, 2019

Copy link
Copy Markdown
Collaborator

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 28, 2019
@zanhsieh

Copy link
Copy Markdown
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 Oct 29, 2019
@lohmag lohmag changed the title stable/dex [stable/dex] Fix ConfigMap creation Oct 29, 2019
@lohmag

lohmag commented Oct 29, 2019

Copy link
Copy Markdown
Contributor Author

/retest

@helm-bot helm-bot added 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. and removed 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. labels Oct 29, 2019
@lohmag

lohmag commented Oct 29, 2019

Copy link
Copy Markdown
Contributor Author

/retest

@lohmag

lohmag commented Oct 29, 2019

Copy link
Copy Markdown
Contributor Author

I don't know how to squash commit into one and can't spend anymore time on it. And actually I don't know why I should do it if you can squash in web interface when it merges by just checking a box.

@vi7

vi7 commented Oct 30, 2019

Copy link
Copy Markdown
Collaborator

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 30, 2019
@helm-bot helm-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. Contribution Allowed If the contributor has signed the DCO or the CNCF CLA (prior to the move to a DCO). labels Nov 2, 2019
Nikita Massalitin added 2 commits November 2, 2019 22:06
Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>
Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>
@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/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 Nov 2, 2019
@helm-bot helm-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 2, 2019
@lohmag

lohmag commented Nov 2, 2019

Copy link
Copy Markdown
Contributor Author

/assign @vi7

@desaintmartin

Copy link
Copy Markdown
Collaborator

With this change, we'll have one unused configmap, but it is better than a non-working Chart. Thanks!

Could you bump minor version of this chart instead of patch version since there is a new feature?

/assign

@vi7 FYI, AFAIK, merge bot will squash the commits anyway, so the important thing is the PR title.

@lohmag

lohmag commented Nov 4, 2019

Copy link
Copy Markdown
Contributor Author

With this change, we'll have one unused configmap, but it is better than a non-working Chart. Thanks!

Could you bump minor version of this chart instead of patch version since there is a new feature?

/assign

@vi7 FYI, AFAIK, merge bot will squash the commits anyway, so the important thing is the PR title.

what do you mean by version bumping? i already bumped helm chart version

@desaintmartin desaintmartin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

  • bump minor version
  • Please also document in the README the new value

Comment thread stable/dex/Chart.yaml Outdated
lohmag and others added 2 commits November 4, 2019 20:58
Co-Authored-By: Cédric de Saint Martin <cedric@desaintmartin.fr>
Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>
Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>
@vi7

vi7 commented Nov 6, 2019

Copy link
Copy Markdown
Collaborator

@vi7 FYI, AFAIK, merge bot will squash the commits anyway, so the important thing is the PR title.

@desaintmartin I'm ok with that in case merge commit will be named after the PR name, cause current commit names doesn't describe introduced changes and moreover have misleading names

@vi7

vi7 commented Nov 6, 2019

Copy link
Copy Markdown
Collaborator

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 6, 2019
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lohmag, vi7

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 6, 2019
@zanhsieh

zanhsieh commented Nov 6, 2019

Copy link
Copy Markdown
Collaborator

/test pull-charts-e2e

@k8s-ci-robot k8s-ci-robot merged commit 2c9b6dd into helm:master Nov 6, 2019
JoseAlban pushed a commit to JoseAlban/charts that referenced this pull request Nov 22, 2019
…elm#18380)

* [stable/traefik] Decouple prometheus metrics to dashboard (helm#14946)

Before this PR, in case the dashboard was not enabled, the Prometheus metrics were disabled.

It is now possible to enable Prometheus metrics having at the same time the dashboard disabled.

Signed-off-by: Salvatore Mazzarino <dev@mazzarino.cz>

Fix

Fix for Jobs.
Jobs also have `"helm.sh/hook": post-install` so they don't have this configmap after start. Pods won't start because of this.

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

Update Chart.yaml

version up

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

fix

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

* added expire to values

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

* add ability to set expire

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

* remove blank line

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

* Bump version

Co-Authored-By: Cédric de Saint Martin <cedric@desaintmartin.fr>
Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

* Added new conf params to Readme

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>
hakman pushed a commit to hakman/charts that referenced this pull request Dec 5, 2019
…elm#18380)

* [stable/traefik] Decouple prometheus metrics to dashboard (helm#14946)

Before this PR, in case the dashboard was not enabled, the Prometheus metrics were disabled.

It is now possible to enable Prometheus metrics having at the same time the dashboard disabled.

Signed-off-by: Salvatore Mazzarino <dev@mazzarino.cz>

Fix

Fix for Jobs.
Jobs also have `"helm.sh/hook": post-install` so they don't have this configmap after start. Pods won't start because of this.

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

Update Chart.yaml

version up

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

fix

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

* added expire to values

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

* add ability to set expire

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

* remove blank line

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

* Bump version

Co-Authored-By: Cédric de Saint Martin <cedric@desaintmartin.fr>
Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>

* Added new conf params to Readme

Signed-off-by: Nikita Massalitin <nmassalitin@pushwoosh.com>
jkoelker added a commit to mesosphere/charts that referenced this pull request Jan 9, 2020
Since the configmap is needed for the `grpc` and `web` jobs, don't
delete it after successful creation.

Backported from: helm/charts#18380
jkoelker added a commit to mesosphere/charts that referenced this pull request Jan 10, 2020
Since the configmap is needed for the `grpc` and `web` jobs, don't
delete it after successful creation.

Backported from: helm/charts#18380
jkoelker added a commit to mesosphere/charts that referenced this pull request Jan 10, 2020
Since the configmap is needed for the `grpc` and `web` jobs, don't
delete it after successful creation.

Backported from: helm/charts#18380
jkoelker added a commit to mesosphere/charts that referenced this pull request Jan 10, 2020
Since the configmap is needed for the `grpc` and `web` jobs, don't
delete it after successful creation.

Backported from: helm/charts#18380
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.

7 participants