Skip to content

Commit

Permalink
[cc-gardener] image overrides per values
Browse files Browse the repository at this point in the history
  • Loading branch information
defo89 committed Dec 24, 2024
1 parent 3d3f01c commit f1ee001
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
2 changes: 1 addition & 1 deletion global/cc-gardener/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: cc-gardener
description: Converged Cloud Gardener setup based on gardener-operator
type: application
version: 0.6.1
version: 0.6.2
appVersion: "v1.110.1"
home: https://github.com/gardener/gardener
dependencies:
Expand Down
13 changes: 10 additions & 3 deletions global/cc-gardener/managedresources/extension-metal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ helm:
image:
repository: "{{required ".Values.extensions.metal.image.repository is missing" .Values.extensions.metal.image.repository }}"
tag: "{{required ".Values.extensions.metal.image.tag is missing" .Values.extensions.metal.image.tag }}"
{{- if .Values.extensions.metal.imageVectorOverwrites }}
imageVectorOverwrite: "{{ .Values.extensions.metal.imageVectorOverwrites }}"
{{ end -}}
imageVectorOverwrite: |
images:
- name: cloud-controller-manager
sourceRepository: github.com/ironcore-dev/cloud-provider-metal
repository: "{{required ".Values.extensions.metal.imageVectorOverwrite.ccm.repository is missing" .Values.extensions.metal.imageVectorOverwrite.ccm.repository }}"
tag: "{{required ".Values.extensions.metal.imageVectorOverwrite.ccm.tag is missing" .Values.extensions.metal.imageVectorOverwrite.ccm.tag }}"
- name: machine-controller-manager-provider-metal
sourceRepository: github.com/ironcore-dev/machine-controller-manager-provider-metal
repository: "{{required ".Values.extensions.metal.imageVectorOverwrite.mcm.repository is missing" .Values.extensions.metal.imageVectorOverwrite.mcm.repository }}"
tag: "{{required ".Values.extensions.metal.imageVectorOverwrite.mcm.tag is missing" .Values.extensions.metal.imageVectorOverwrite.mcm.tag }}"
---
apiVersion: core.gardener.cloud/v1beta1
kind: ControllerRegistration
Expand Down
17 changes: 7 additions & 10 deletions global/cc-gardener/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,13 @@ extensions:
image:
repository: ghcr.io/ironcore-dev/gardener-extension-provider-metal
tag: sha-681e007
imageVectorOverwrites: |
images:
- name: cloud-controller-manager
sourceRepository: github.com/ironcore-dev/cloud-provider-metal
repository: ghcr.io/ironcore-dev/metal-cloud-controller-manager
tag: sha-62079d8
- name: machine-controller-manager-provider-metal
sourceRepository: github.com/ironcore-dev/machine-controller-manager-provider-metal
repository: ghcr.io/ironcore-dev/machine-controller-manager-provider-metal
tag: sha-1591c41
imageVectorOverwrites:
ccm:
repository: ghcr.io/ironcore-dev/metal-cloud-controller-manager
tag: sha-62079d8
mcm:
repository: ghcr.io/ironcore-dev/machine-controller-manager-provider-metal
tag: sha-1591c41
gardenlet:
enabled: false
owner-info:
Expand Down

0 comments on commit f1ee001

Please sign in to comment.