canonical / k8s-snap

Canonical Kubernetes is an opinionated and CNCF conformant Kubernetes operated by Snaps and Charms, which come together to bring simplified operations and an enhanced security posture on any infrastructure.
GNU General Public License v3.0
40 stars 11 forks source link

Sync Contour images #516

Closed louiseschmidtgen closed 3 months ago

louiseschmidtgen commented 3 months ago

Description

Sync contour images to ghcr.io/canonical.

docker.io/envoyproxy/envoy:v1.29.2
ghcr.io/projectcontour/contour:v1.28.2
docker.io/bitnami/contour:1.28.2-debian-12-r4
docker.io/bitnami/envoy:1.28.2-debian-12-r0

Manipulated the pulled gateway provisioner manifests to be able to set the images via helm values:

    spec:
      containers:
      - args:
        - gateway-provisioner
        - --metrics-addr=127.0.0.1:8080
        - --enable-leader-election
        - --envoy-image={{ .Values.envoyproxy.image.repository }}:{{ .Values.envoyproxy.image.tag }}
        - --contour-image={{ .Values.projectcontour.image.repository }}:{{ .Values.projectcontour.image.tag }}
        command: ["contour"]
        image: "{{ .Values.projectcontour.image.repository }}:{{ .Values.projectcontour.image.tag }}"
        imagePullPolicy: IfNotPresent
        name: contour-gateway-provisioner

Note: Gateway provisioner uses envoyproxy image v1.29.2 instead of v1.28.2 in their release for gateway provisioner v1.28.2.

Sidenote: Gateway provisioner allows you to change the images used by setting these args here.