Azure-Samples / kubernetes-offer-samples

Samples for creating an Azure Marketplace Kubernetes offer
MIT License
17 stars 27 forks source link

Update sample to use tag instead of digest reference. #31

Closed thomasyip-msft closed 7 months ago

thomasyip-msft commented 9 months ago

Purpose

Tag support is enabled with latest CPA tool, updating the documentation to reflect the change. Tag support is enabled starting cpa tool version 1.2.1

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

What to Check

Verify that the following are valid

Other Information

KeithMnemonic commented 9 months ago

Will you also be updating https://learn.microsoft.com/en-us/partner-center/marketplace/azure-container-technical-assets-kubernetes?tabs=linux#update-the-helm-chart

image

thomasyip-msft commented 9 months ago

Will you also be updating https://learn.microsoft.com/en-us/partner-center/marketplace/azure-container-technical-assets-kubernetes?tabs=linux#update-the-helm-chart

image

Yes we will.

KeithMnemonic commented 9 months ago

Will you also be updating https://learn.microsoft.com/en-us/partner-center/marketplace/azure-container-technical-assets-kubernetes?tabs=linux#update-the-helm-chart image

Yes we will.

Thank you.

Will you also be updating https://learn.microsoft.com/en-us/partner-center/marketplace/azure-container-technical-assets-kubernetes?tabs=linux#update-the-helm-chart image

Yes we will.

Thank you. Also since the example is supporting "latest" does that mean if in image is updated, it will get automatically pulled when the "reconciler runs on the CNAB bundle" or do you still need to push a new CNAB ? For example. if you publish CNAB 1.0.0 using 'latest' which points to 1.0.0 of the image and the image is updated such that 'latest' is now 1.0.1 . Do you need to publish a new CNAB, 1.0.1 or will the existing infrastructure have the ability to automatically update the original 1.0.0 CNAB?

thomasyip-msft commented 9 months ago

Will you also be updating https://learn.microsoft.com/en-us/partner-center/marketplace/azure-container-technical-assets-kubernetes?tabs=linux#update-the-helm-chart image

Yes we will.

Thank you.

Will you also be updating https://learn.microsoft.com/en-us/partner-center/marketplace/azure-container-technical-assets-kubernetes?tabs=linux#update-the-helm-chart image

Yes we will.

Thank you. Also since the example is supporting "latest" does that mean if in image is updated, it will get automatically pulled when the "reconciler runs on the CNAB bundle" or do you still need to push a new CNAB ? For example. if you publish CNAB 1.0.0 using 'latest' which points to 1.0.0 of the image and the image is updated such that 'latest' is now 1.0.1 . Do you need to publish a new CNAB, 1.0.1 or will the existing infrastructure have the ability to automatically update the original 1.0.0 CNAB?

You still need to push a new CNAB. tag is resolved during the CNAB build time where it is being bundled. So when you wish to include the latest latest, you will need to increment the manifest version to 1.0.1 and push it through partner center for customer to upgrade their extensions.