Skip to content

Commit

Permalink
Update Contour Docker image to v1.21.0-rc.1. (#4500)
Browse files Browse the repository at this point in the history
Signed-off-by: Sunjay Bhatia <sunjayb@vmware.com>
  • Loading branch information
sunjayBhatia authored Apr 28, 2022
1 parent 39ae16a commit dcbe217
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 @@ -32,7 +32,7 @@ func registerGatewayProvisioner(app *kingpin.Application) (*kingpin.CmdClause, *
cmd := app.Command("gateway-provisioner", "Run contour gateway provisioner.")

config := &gatewayProvisionerConfig{
contourImage: "ghcr.io/projectcontour/contour:main",
contourImage: "ghcr.io/projectcontour/contour:v1.21.0-rc.1",
envoyImage: "docker.io/envoyproxy/envoy:v1.22.0",
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.21.0-rc.1
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.21.0-rc.1
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.21.0-rc.1
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.21.0-rc.1
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -113,8 +113,8 @@ spec:
- --envoy-key-file=/certs/tls.key
command:
- contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.21.0-rc.1
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 @@ -42,8 +42,8 @@ spec:
args:
- envoy
- shutdown-manager
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.21.0-rc.1
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -126,8 +126,8 @@ spec:
- --envoy-key-file=/certs/tls.key
command:
- contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.21.0-rc.1
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.21.0-rc.1
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 @@ -4749,19 +4749,18 @@ rules:
apiVersion: batch/v1
kind: Job
metadata:
name: contour-certgen-main
name: contour-certgen-v1.21.0-rc.1
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.21.0-rc.1
imagePullPolicy: IfNotPresent
command:
- contour
- certgen
Expand Down Expand Up @@ -5011,8 +5010,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.21.0-rc.1
imagePullPolicy: IfNotPresent
name: contour
ports:
- containerPort: 8001
Expand Down Expand Up @@ -5113,8 +5112,8 @@ spec:
args:
- envoy
- shutdown-manager
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.21.0-rc.1
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -5197,8 +5196,8 @@ spec:
- --envoy-key-file=/certs/tls.key
command:
- contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.21.0-rc.1
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 @@ -8496,8 +8496,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.21.0-rc.1
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 @@ -4752,19 +4752,18 @@ rules:
apiVersion: batch/v1
kind: Job
metadata:
name: contour-certgen-main
name: contour-certgen-v1.21.0-rc.1
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.21.0-rc.1
imagePullPolicy: IfNotPresent
command:
- contour
- certgen
Expand Down Expand Up @@ -5014,8 +5013,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.21.0-rc.1
imagePullPolicy: IfNotPresent
name: contour
ports:
- containerPort: 8001
Expand Down Expand Up @@ -5103,8 +5102,8 @@ spec:
args:
- envoy
- shutdown-manager
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.21.0-rc.1
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -5187,8 +5186,8 @@ spec:
- --envoy-key-file=/certs/tls.key
command:
- contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.21.0-rc.1
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 @@ -4749,19 +4749,18 @@ rules:
apiVersion: batch/v1
kind: Job
metadata:
name: contour-certgen-main
name: contour-certgen-v1.21.0-rc.1
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.21.0-rc.1
imagePullPolicy: IfNotPresent
command:
- contour
- certgen
Expand Down Expand Up @@ -5011,8 +5010,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.21.0-rc.1
imagePullPolicy: IfNotPresent
name: contour
ports:
- containerPort: 8001
Expand Down Expand Up @@ -5100,8 +5099,8 @@ spec:
args:
- envoy
- shutdown-manager
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.21.0-rc.1
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
exec:
Expand Down Expand Up @@ -5184,8 +5183,8 @@ spec:
- --envoy-key-file=/certs/tls.key
command:
- contour
image: ghcr.io/projectcontour/contour:main
imagePullPolicy: Always
image: ghcr.io/projectcontour/contour:v1.21.0-rc.1
imagePullPolicy: IfNotPresent
name: envoy-initconfig
volumeMounts:
- name: envoy-config
Expand Down

0 comments on commit dcbe217

Please sign in to comment.