Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev-v2.10] rancher-monitoring 105.1.3-rc.1 update #5051

Merged
merged 10 commits into from
Feb 7, 2025

Conversation

jmeza-xyz
Copy link
Contributor

@jmeza-xyz jmeza-xyz commented Jan 29, 2025

Checkpoints for Chart Bumps

release.yaml:

  • Each chart version in release.yaml DOES NOT modify an already released chart. If so, stop and modify the versions so that it releases a net-new chart.
  • Each chart version in release.yaml IS exactly 1 more patch or minor version than the last released chart version. If not, stop and modify the versions so that it releases a net-new chart.

Chart.yaml and index.yaml:

  • The index.yaml file has an entry for your new chart version.
  • The index.yaml entries for each chart matches the Chart.yaml for each chart.
  • Each chart has ALL required annotations
    • kube-version annotation
    • rancher-version annotation
    • permits-os annotation (indicates Windows and/or Linux)

Issue: rancher/rancher#48877

Users are not able to install rancher-monitoring chart if global.cattle.systemDefaultRegistry and grafana.imageRenderer.enabled=true is set because the $registry variable include statement is missing an argument from the image-renderer-deployment.yaml template file. Verified the error in rancher v2.10.1 installing chart version 105.1.2+up61.3.2 and confirmed it was introduced in 105.0.0+up57.0.3.

Screenshot 2025-01-29 at 10 32 59 AM

Error from install with setting from image above:

Error: template: rancher-monitoring/charts/grafana/templates/image-renderer-deployment.yaml:68:27: executing "rancher-monitoring/charts/grafana/templates/image-renderer-deployment.yaml" at <include>: wrong number of args for include: want 2 got 1

Solution

This PR changes:

- {{- $registry := include "system_default_registry" | default .Values.imageRenderer.image.registry -}}
+ {{- $registry := include "system_default_registry" . | default .Values.imageRenderer.image.registry -}}

QA Testing Considerations

@jmeza-xyz jmeza-xyz requested a review from a team as a code owner January 29, 2025 15:42
Copy link

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

2 similar comments
Copy link

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

Copy link

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

@mallardduck
Copy link
Member

@jmeza-xyz - We're past freeze now and there's a short window for the next release. Please let us know when you update this ASAP, that way it can be properly QAd before the window closes. The bug complete date is Feb 7th.

Copy link

github-actions bot commented Feb 4, 2025

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

@jmeza-xyz
Copy link
Contributor Author

Apologies for the delay in fixing the items pointed out in conversation. I've made the corrections as requested. Commit is ready for review @mallardduck @alexandreLamarre , thanks in advance for your time.

Copy link

github-actions bot commented Feb 5, 2025

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

@jmeza-xyz jmeza-xyz changed the title [dev-v2.10] rancher-monitoring 105.1.3+up61.3.2 update [dev-v2.10] rancher-monitoring 105.1.3-rc.1 update Feb 5, 2025
Copy link

github-actions bot commented Feb 6, 2025

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

Copy link

github-actions bot commented Feb 6, 2025

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

@mallardduck
Copy link
Member

@jmeza-xyz - looks like errors with some files. try make validate locally to see what's going on.

release.yaml not following yq style
make: *** [Makefile:14: check-release-yaml] Error 1

Copy link

github-actions bot commented Feb 6, 2025

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

@jmeza-xyz
Copy link
Contributor Author

@mallardduck apologies, it seems a PR was merged and I didn't rebase. I just pushed a rebase and make validate is successful.

Git diff

++<<<<<<< HEAD
 +rancher-webhook:
 +  - 105.0.3+up0.6.4-rc.1
++=======
+ rancher-monitoring:
+   - 105.1.3-rc.1+up61.3.2
+ rancher-monitoring-crd:
+   - 105.1.3-rc.1+up61.3.2
++>>>>>>> d0cbc556a (Update release.yaml)

After rebase, make validate.

meza@the-edge charts % make validate && date
...
INFO[0066] Unarchiving assets/ui-plugin-operator-crd/ui-plugin-operator-crd-103.0.3+up0.2.2.tgz
INFO[0066] Generated chart: charts/ui-plugin-operator-crd/103.0.3+up0.2.2
INFO[0067] index.yaml is up-to-date
INFO[0067] Doing a final check to ensure Git is clean
INFO[0070] Successfully validated current repository!
Thu Feb  6 17:09:54 EST 2025
meza@the-edge charts %

Copy link

github-actions bot commented Feb 6, 2025

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

Copy link

github-actions bot commented Feb 7, 2025

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

release.yaml Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Feb 7, 2025

Validation steps

  • Ensure all container images have repository and tag on the same level to ensure that all container images are included in rancher-images.txt which are used by airgap customers.
  Ex:-
    longhorn-controller:
      repository: rancher/hardened-sriov-cni
      tag: v2.6.3-build20230913
  
  • Add a 👍 (thumbs up) reaction to this comment once done. CI won't pass without this reaction to the github-action bot's latest validation comment.
  • Approve the PR to run the CI check.

@alexandreLamarre alexandreLamarre merged commit 0c70ea0 into rancher:dev-v2.10 Feb 7, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants