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

[stable/ambassador] Bump Ambassador Pro version #16700

Closed
wants to merge 2 commits into from

Conversation

iNoahNothing
Copy link
Collaborator

What this PR does / why we need it:

Upgrades the version of Ambassador Pro to 0.7.0

Ambassador Pro 0.7.0 introduces Ambassador certified builds which require a license key and to pull the image from the ambassador_pro repository.

This change has been made in a backwards compatible way so Ambassador Pro < 0.7.0 will still use Ambassador OSS repository.

Special notes for your reviewer:

I believe this is backwards compatible but please review the templates/deployment.yaml file to make sure I didn't miss a way this is not.

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

- Ambassador Pro 0.7.0 introduces Ambassador certified builds that
  require
  - A license key
  - Use an image from the quay.io/datawire/ambassador_pro repository
- templates/deployment.yaml has been formatted in a backwards compatible
  way so all Ambassador Pro images before 0.7.0 will still use
Ambassador OSS repo.

Signed-off-by: Noah Krause <krausenoah@gmail.com>
Signed-off-by: Noah Krause <krausenoah@gmail.com>
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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

@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 Aug 29, 2019
@helm-bot helm-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 29, 2019
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 29, 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.

@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 Sep 3, 2019
Copy link
Collaborator

@Flydiverny Flydiverny left a comment

Choose a reason for hiding this comment

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

Could probably just bump it to 4.0.0 and add a note about added support for the new pro image. I guess this is the certified builds?

@@ -159,7 +174,7 @@ spec:
{{- toYaml .Values.resources | nindent 12 }}
{{- if .Values.pro.enabled }}
- name: ambassador-pro
image: "{{ .Values.pro.image.repository }}:{{ .Values.pro.image.tag }}"
image: "{{ .Values.pro.image.repository }}:amb-sidecar-{{ .Values.pro.image.tag }}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This would cause breaking changes if you have a copy of the values file with tag: amb-sidecar-0.6.0 as the chart would then generate amb-sidecar-amb-sidecar-0.6.0

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ughh good point.

I was trying to think of a way to make this backwards compatible since we only bumped the major version a month ago.

I guess I will just have to do that

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think its fine :) even though I also prefer not bumping majors :D I'm guessing its only for a small subset of users anyway.

@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.76.0
description: A Helm chart for Datawire Ambassador
name: ambassador
version: 3.3.2
version: 3.4.2
Copy link
Collaborator

Choose a reason for hiding this comment

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

reset patch version

@iNoahNothing
Copy link
Collaborator Author

Possibly more breaking changes incoming.

/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 Sep 4, 2019
@iNoahNothing
Copy link
Collaborator Author

@Flydiverny I opened #16904 which includes this change along with a couple of others.

I will close this PR upon approval of that one

@iNoahNothing iNoahNothing deleted the nkrause/apro-0.7.0 branch September 16, 2019 19:00
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). do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. 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.

4 participants