Skip to content

Commit

Permalink
Allow to provide the imageVectorOverwrite for the cilium extension (#318
Browse files Browse the repository at this point in the history
)
  • Loading branch information
simcod authored Sep 11, 2024
1 parent 9d22b64 commit 5327bbd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
1 change: 1 addition & 0 deletions control-plane/roles/gardener/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ This includes the metal-stack extension provider called [gardener-extension-prov
| gardener_extension_provider_metal_image_pull_policy | | Sets the image pull policy for components deployed through this extension controller. |
| gardener_extension_provider_metal_image_pull_secret | | Provide image pull secrets for deployed containers |
| gardener_cert_management_issuer_private_key | | The Let's Encrypt private key used by the cert-management extension controller to setup signed certificates |
| gardener_extension_networking_cilium_image_vector_overwrite | | Allows overriding the image vector for the networking cilium extension |
| gardener_cert_management_issuer_email | | The issuer email used by the cert-management extension |
| gardener_cert_management_issuer_server | | The issuer server used by the cert-management extension |

Expand Down
6 changes: 6 additions & 0 deletions control-plane/roles/gardener/defaults/main/extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,9 @@ gardener_cert_management_issuer_server: https://acme-v02.api.letsencrypt.org/dir
gardener_cert_management_issuer_email:

gardener_extension_dns_external_controller_registration_url:

gardener_extension_networking_cilium_image_vector_overwrite: []
# - name: <image-name>
# sourceRepository: /source/repository
# repository: /repository
# tag: <tag>
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,8 @@ providerConfig:
repository: "{{ gardener_networking_cilium_image_name }}"
tag: "{{ gardener_networking_cilium_image_tag }}"
pullPolicy: Always
{% if gardener_extension_networking_cilium_image_vector_overwrite %}
imageVectorOverwrite: |
images:
- name: cilium-agent
sourceRepository: github.com/cilium/cilium
repository: quay.io/cilium/cilium
tag: v1.12.1
- name: cilium-preflight
sourceRepository: github.com/cilium/cilium
repository: quay.io/cilium/cilium
tag: v1.12.1
- name: cilium-operator
sourceRepository: github.com/cilium/cilium
repository: quay.io/cilium/operator
tag: v1.12.1
- name: hubble-relay
sourceRepository: github.com/cilium/hubble-ui
repository: quay.io/cilium/hubble-relay
tag: v1.12.1
{{ gardener_extension_networking_cilium_image_vector_overwrite | to_nice_yaml(indent=2) | indent(width=8, first=false) }}
{% endif %}

0 comments on commit 5327bbd

Please sign in to comment.