Skip to content

Commit

Permalink
Update Contour Docker image to v1.28.0.
Browse files Browse the repository at this point in the history
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
  • Loading branch information
sunjayBhatia committed Feb 12, 2024
1 parent 92d5342 commit 26a6532
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 49 deletions.
2 changes: 1 addition & 1 deletion cmd/contour/gatewayprovisioner.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func registerGatewayProvisioner(app *kingpin.Application) (*kingpin.CmdClause, *
cmd := app.Command("gateway-provisioner", "Run contour gateway provisioner.")

provisionerConfig := &gatewayProvisionerConfig{
contourImage: "ghcr.io/projectcontour/contour:main",
contourImage: "ghcr.io/projectcontour/contour:v1.28.0",
envoyImage: "docker.io/envoyproxy/envoy:v1.29.1",
metricsBindAddress: ":8080",
leaderElection: false,
Expand Down
7 changes: 3 additions & 4 deletions examples/contour/02-job-certgen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,18 @@ rules:
apiVersion: batch/v1
kind: Job
metadata:
name: contour-certgen-main
name: contour-certgen-v1-28-0
namespace: projectcontour
spec:
ttlSecondsAfterFinished: 0
template:
metadata:
labels:
app: "contour-certgen"
spec:
containers:
- name: contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
command:
- contour
- certgen
Expand Down
4 changes: 2 additions & 2 deletions examples/contour/03-contour.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ spec:
- --contour-key-file=/certs/tls.key
- --config-path=/config/contour.yaml
command: ["contour"]
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: contour
ports:
- containerPort: 8001
Expand Down
8 changes: 4 additions & 4 deletions examples/contour/03-envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ spec:
args:
- envoy
- shutdown-manager
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -107,8 +107,8 @@ spec:
- --envoy-key-file=/certs/tls.key
command:
- contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: envoy-initconfig
volumeMounts:
- name: envoy-config
Expand Down
8 changes: 4 additions & 4 deletions examples/deployment/03-envoy-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ spec:
args:
- envoy
- shutdown-manager
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -119,8 +119,8 @@ spec:
- --envoy-key-file=/certs/tls.key
command:
- contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: envoy-initconfig
volumeMounts:
- name: envoy-config
Expand Down
4 changes: 2 additions & 2 deletions examples/gateway-provisioner/03-gateway-provisioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ spec:
- --metrics-addr=127.0.0.1:8080
- --enable-leader-election
command: ["contour"]
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: contour-gateway-provisioner
resources:
requests:
Expand Down
19 changes: 9 additions & 10 deletions examples/render/contour-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8803,19 +8803,18 @@ rules:
apiVersion: batch/v1
kind: Job
metadata:
name: contour-certgen-main
name: contour-certgen-v1-28-0
namespace: projectcontour
spec:
ttlSecondsAfterFinished: 0
template:
metadata:
labels:
app: "contour-certgen"
spec:
containers:
- name: contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
command:
- contour
- certgen
Expand Down Expand Up @@ -9076,8 +9075,8 @@ spec:
- --contour-key-file=/certs/tls.key
- --config-path=/config/contour.yaml
command: ["contour"]
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: contour
ports:
- containerPort: 8001
Expand Down Expand Up @@ -9176,8 +9175,8 @@ spec:
args:
- envoy
- shutdown-manager
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -9254,8 +9253,8 @@ spec:
- --envoy-key-file=/certs/tls.key
command:
- contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: envoy-initconfig
volumeMounts:
- name: envoy-config
Expand Down
4 changes: 2 additions & 2 deletions examples/render/contour-gateway-provisioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20601,8 +20601,8 @@ spec:
- --metrics-addr=127.0.0.1:8080
- --enable-leader-election
command: ["contour"]
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: contour-gateway-provisioner
resources:
requests:
Expand Down
19 changes: 9 additions & 10 deletions examples/render/contour-gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8806,19 +8806,18 @@ rules:
apiVersion: batch/v1
kind: Job
metadata:
name: contour-certgen-main
name: contour-certgen-v1-28-0
namespace: projectcontour
spec:
ttlSecondsAfterFinished: 0
template:
metadata:
labels:
app: "contour-certgen"
spec:
containers:
- name: contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
command:
- contour
- certgen
Expand Down Expand Up @@ -9079,8 +9078,8 @@ spec:
- --contour-key-file=/certs/tls.key
- --config-path=/config/contour.yaml
command: ["contour"]
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: contour
ports:
- containerPort: 8001
Expand Down Expand Up @@ -9167,8 +9166,8 @@ spec:
args:
- envoy
- shutdown-manager
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -9245,8 +9244,8 @@ spec:
- --envoy-key-file=/certs/tls.key
command:
- contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: envoy-initconfig
volumeMounts:
- name: envoy-config
Expand Down
19 changes: 9 additions & 10 deletions examples/render/contour.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8803,19 +8803,18 @@ rules:
apiVersion: batch/v1
kind: Job
metadata:
name: contour-certgen-main
name: contour-certgen-v1-28-0
namespace: projectcontour
spec:
ttlSecondsAfterFinished: 0
template:
metadata:
labels:
app: "contour-certgen"
spec:
containers:
- name: contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
command:
- contour
- certgen
Expand Down Expand Up @@ -9076,8 +9075,8 @@ spec:
- --contour-key-file=/certs/tls.key
- --config-path=/config/contour.yaml
command: ["contour"]
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: contour
ports:
- containerPort: 8001
Expand Down Expand Up @@ -9164,8 +9163,8 @@ spec:
args:
- envoy
- shutdown-manager
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -9242,8 +9241,8 @@ spec:
- --envoy-key-file=/certs/tls.key
command:
- contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.28.0
imagePullPolicy: IfNotPresent
name: envoy-initconfig
volumeMounts:
- name: envoy-config
Expand Down

0 comments on commit 26a6532

Please sign in to comment.