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

[stable/ambassador] Major Release v3.0.0 #15538

Merged
merged 18 commits into from
Jul 30, 2019
Merged

Conversation

iNoahNothing
Copy link
Collaborator

What this PR does / why we need it:

This is a major chart release with a couple of breaking changes.

Notable changes include:

  • Replacing service.http, service.https, and additionalTCPPort with service.ports.
  • renaming the admin service to match the default YAML install
  • Removing the default Module annotation
  • RBAC fixes for CRDs

All changes are documented in the CHANGELOG and README.

Which issue this PR fixes

Special notes for your reviewer:

If there are any other breaking changes that had been discussed that I missed please comment the same.

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

Signed-off-by: Noah Krause <krausenoah@gmail.com>
Signed-off-by: Noah Krause <krausenoah@gmail.com>
Signed-off-by: Noah Krause <krausenoah@gmail.com>
Signed-off-by: Noah Krause <krausenoah@gmail.com>
Signed-off-by: Noah Krause <krausenoah@gmail.com>
Signed-off-by: Noah Krause <krausenoah@gmail.com>
@helm-bot helm-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 15, 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 Jul 15, 2019
@k8s-ci-robot
Copy link
Contributor

Hi @nbkrause. 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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 15, 2019
Signed-off-by: Noah Krause <krausenoah@gmail.com>
…amespace

Signed-off-by: Noah Krause <krausenoah@gmail.com>
Signed-off-by: Noah Krause <krausenoah@gmail.com>
…ut not necessarily created

Signed-off-by: Noah Krause <krausenoah@gmail.com>
Signed-off-by: Noah Krause <krausenoah@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 Jul 15, 2019
Signed-off-by: Noah Krause <krausenoah@gmail.com>
Signed-off-by: Noah Krause <krausenoah@gmail.com>
@Flydiverny
Copy link
Collaborator

/assign
Will take a more detailed look at this when I return from vacation. (flying back tomorrow so in the coming days!)

@iNoahNothing
Copy link
Collaborator Author

/hold

Pending internal review this afternoon

@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 Jul 16, 2019
…is as redis server

Signed-off-by: Noah Krause <krausenoah@gmail.com>
stable/ambassador/templates/deployment.yaml Show resolved Hide resolved
stable/ambassador/templates/service.yaml Outdated Show resolved Hide resolved
stable/ambassador/values.yaml Outdated Show resolved Hide resolved
stable/ambassador/values.yaml Outdated Show resolved Hide resolved
@Flydiverny
Copy link
Collaborator

Another potential improvment, that I think can wait. Would be to remove the ambassador-pro-redis.yaml and add a dependency on the redis chart instead, to allow all the configurability the redis chart offers :)
Can be done with helm dependencies (for example ghost chart depends on mariadb https://github.com/helm/charts/blob/master/stable/ghost/requirements.yaml) and they allow conditionals.

Signed-off-by: Noah Krause <krausenoah@gmail.com>
@iNoahNothing
Copy link
Collaborator Author

Another potential improvment, that I think can wait. Would be to remove the ambassador-pro-redis.yaml and add a dependency on the redis chart instead, to allow all the configurability the redis chart offers :)
Can be done with helm dependencies (for example ghost chart depends on mariadb https://github.com/helm/charts/blob/master/stable/ghost/requirements.yaml) and they allow conditionals.

This is not a breaking change so I would rather put it off to a later date. I'll create an issue to track and see how much of an effort this would be as well as potential trade offs

@iNoahNothing
Copy link
Collaborator Author

/hold cancel

The PR looks sane to members of the Datawire team.

@Flydiverny @kflynn Do either of you wanna take a final pass at it?

@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 Jul 19, 2019
@Flydiverny
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 Jul 19, 2019
@Flydiverny
Copy link
Collaborator

Looks good to me, havent tested it but should be ok if test passes :)
Seems to need a rebase tho as Chart.yaml is conflicting.

@Flydiverny
Copy link
Collaborator

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 19, 2019
@iNoahNothing
Copy link
Collaborator Author

/retest

Signed-off-by: Noah Krause <krausenoah@gmail.com>
@k8s-ci-robot k8s-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jul 25, 2019
@iNoahNothing
Copy link
Collaborator Author

/retest

1 similar comment
@Flydiverny
Copy link
Collaborator

/retest

Signed-off-by: Noah Krause <krausenoah@gmail.com>
@iNoahNothing
Copy link
Collaborator Author

/test pull-charts-e2e

@Flydiverny
Copy link
Collaborator

Flydiverny commented Jul 29, 2019

I think the connection test thing is probably failing. Think it can be tested by using helm test after installing the chart. Havent had the time to check it :) @nbkrause

@iNoahNothing
Copy link
Collaborator Author

@Flydiverny Thank you! I had no clue what was causing this and don't yet fully grok the test infrastructure.

Signed-off-by: Noah Krause <krausenoah@gmail.com>
@Flydiverny
Copy link
Collaborator

Nice!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 30, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Flydiverny, nbkrause

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 merged commit f5a544a into helm:master Jul 30, 2019
ThoTischner pushed a commit to bitsbeats/charts that referenced this pull request Aug 13, 2019
* Make ports configuration flexible to allow for TCPMapping ports

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* bump chart version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Update README and bump major version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Rename admin service to match YAML templates

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Remove default annotation

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* .service.ports eliminates the need to `.additionalTCPPorts` as well

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Create clusterrole for crds to solve issue with singlenamespaced config

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* rbac.namespaced was extraneous and has been replaced by scope.singleNamespace

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Ambassador Pro will notice `AMBASSADOR_ID` in `.Values.env`

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* `crds.enabled` will flag that crds should be enabled in the release but not necessarily created

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Update changelog

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Fix trailing spaces

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Bump pro version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Ambassador Pro will use {{ include "ambassador.fullname" . }}-pro-redis as redis server

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Requested fixes

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Forgot port on redis url change

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* fix test

Signed-off-by: Noah Krause <krausenoah@gmail.com>
landorg pushed a commit to landorg/charts that referenced this pull request Aug 19, 2019
* Make ports configuration flexible to allow for TCPMapping ports

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* bump chart version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Update README and bump major version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Rename admin service to match YAML templates

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Remove default annotation

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* .service.ports eliminates the need to `.additionalTCPPorts` as well

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Create clusterrole for crds to solve issue with singlenamespaced config

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* rbac.namespaced was extraneous and has been replaced by scope.singleNamespace

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Ambassador Pro will notice `AMBASSADOR_ID` in `.Values.env`

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* `crds.enabled` will flag that crds should be enabled in the release but not necessarily created

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Update changelog

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Fix trailing spaces

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Bump pro version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Ambassador Pro will use {{ include "ambassador.fullname" . }}-pro-redis as redis server

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Requested fixes

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Forgot port on redis url change

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* fix test

Signed-off-by: Noah Krause <krausenoah@gmail.com>
Signed-off-by: Roland Gritzer <gritzer.roland@gmail.com>
kengou pushed a commit to kengou/charts that referenced this pull request Sep 18, 2019
* Make ports configuration flexible to allow for TCPMapping ports

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* bump chart version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Update README and bump major version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Rename admin service to match YAML templates

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Remove default annotation

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* .service.ports eliminates the need to `.additionalTCPPorts` as well

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Create clusterrole for crds to solve issue with singlenamespaced config

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* rbac.namespaced was extraneous and has been replaced by scope.singleNamespace

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Ambassador Pro will notice `AMBASSADOR_ID` in `.Values.env`

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* `crds.enabled` will flag that crds should be enabled in the release but not necessarily created

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Update changelog

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Fix trailing spaces

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Bump pro version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Ambassador Pro will use {{ include "ambassador.fullname" . }}-pro-redis as redis server

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Requested fixes

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Forgot port on redis url change

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* fix test

Signed-off-by: Noah Krause <krausenoah@gmail.com>
ramkumarvs pushed a commit to yugabyte/charts-helm-fork that referenced this pull request Sep 30, 2019
* Make ports configuration flexible to allow for TCPMapping ports

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* bump chart version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Update README and bump major version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Rename admin service to match YAML templates

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Remove default annotation

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* .service.ports eliminates the need to `.additionalTCPPorts` as well

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Create clusterrole for crds to solve issue with singlenamespaced config

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* rbac.namespaced was extraneous and has been replaced by scope.singleNamespace

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Ambassador Pro will notice `AMBASSADOR_ID` in `.Values.env`

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* `crds.enabled` will flag that crds should be enabled in the release but not necessarily created

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Update changelog

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Fix trailing spaces

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Bump pro version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Ambassador Pro will use {{ include "ambassador.fullname" . }}-pro-redis as redis server

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Requested fixes

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Forgot port on redis url change

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* fix test

Signed-off-by: Noah Krause <krausenoah@gmail.com>
gaida pushed a commit to gaida/charts that referenced this pull request Oct 3, 2019
* Make ports configuration flexible to allow for TCPMapping ports

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* bump chart version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Update README and bump major version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Rename admin service to match YAML templates

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Remove default annotation

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* .service.ports eliminates the need to `.additionalTCPPorts` as well

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Create clusterrole for crds to solve issue with singlenamespaced config

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* rbac.namespaced was extraneous and has been replaced by scope.singleNamespace

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Ambassador Pro will notice `AMBASSADOR_ID` in `.Values.env`

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* `crds.enabled` will flag that crds should be enabled in the release but not necessarily created

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Update changelog

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Fix trailing spaces

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Bump pro version

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Ambassador Pro will use {{ include "ambassador.fullname" . }}-pro-redis as redis server

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Requested fixes

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* Forgot port on redis url change

Signed-off-by: Noah Krause <krausenoah@gmail.com>

* fix test

Signed-off-by: Noah Krause <krausenoah@gmail.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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
4 participants