Open sbenhazez opened 2 years ago
We should consider leaving the image pull policy as Always
on the main branch, for any ghcr.io/projectcontour/contour:main
images, but changing it to IfNotPresent
for the release tags, via https://github.com/projectcontour/contour-operator/blob/main/hack/release/make-release-tag.sh.
Use case : Air-Gap install of contour operator
Contour resources used for test : https://raw.githubusercontent.com/projectcontour/contour-operator/main/examples/operator/operator.yaml https://raw.githubusercontent.com/projectcontour/contour-operator/main/examples/gateway/gateway-nodeport.yaml
Images loaded in air-gap environment:
Problem for creating pod/contour-certgen-main :
Image pull policy in contour object: The source of problem is that the object
job.go
force the policy to PullAlways :daemonset.go
: ImagePullPolicy: corev1.PullIfNotPresent,deployment.go
: ImagePullPolicy: corev1.PullIfNotPresent,job.go: ImagePullPolicy
: corev1.PullAlwaysEnvironment:
kubectl version
): v1.23.6/etc/os-release
): Debian 10