Skip to content

Commit e6f8ceb

Browse files
willie-yaomarosset
authored andcommitted
Use quay instead of docker for calico images
1 parent d99edd9 commit e6f8ceb

File tree

51 files changed

+364
-292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+364
-292
lines changed

templates/addons/calico-dual-stack/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ installation:
1717
encapsulation: None
1818
natOutgoing: Enabled
1919
nodeSelector: all()
20+
registry: quay.io
2021
# By default, tigera tolerates all NoSchedule taints. This breaks upgrades
2122
# when it continuously gets scheduled onto an out-of-date Node that is being
2223
# deleted. Tolerate only the NoSchedule taints that are expected.
@@ -29,3 +30,9 @@ tolerations:
2930
- effect: NoSchedule
3031
key: node.kubernetes.io/not-ready
3132
operator: Exists
33+
# Image and registry configuration for the tigera/operator pod.
34+
tigeraOperator:
35+
image: tigera/operator
36+
registry: quay.io
37+
calicoctl:
38+
image: quay.io/calico/ctl

templates/addons/calico-ipv6/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ installation:
1212
encapsulation: None
1313
natOutgoing: Enabled
1414
nodeSelector: all()
15+
registry: quay.io
1516
# By default, tigera tolerates all NoSchedule taints. This breaks upgrades
1617
# when it continuously gets scheduled onto an out-of-date Node that is being
1718
# deleted. Tolerate only the NoSchedule taints that are expected.
@@ -24,3 +25,9 @@ tolerations:
2425
- effect: NoSchedule
2526
key: node.kubernetes.io/not-ready
2627
operator: Exists
28+
# Image and registry configuration for the tigera/operator pod.Add commentMore actions
29+
tigeraOperator:
30+
image: tigera/operator
31+
registry: quay.io
32+
calicoctl:
33+
image: quay.io/calico/ctl

templates/addons/calico.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6063,7 +6063,7 @@ spec:
60636063
value: node
60646064
- name: DATASTORE_TYPE
60656065
value: kubernetes
6066-
image: docker.io/calico/kube-controllers:v3.29.4
6066+
image: quay.io/calico/kube-controllers:v3.29.4
60676067
imagePullPolicy: IfNotPresent
60686068
livenessProbe:
60696069
exec:
@@ -6181,7 +6181,7 @@ spec:
61816181
- configMapRef:
61826182
name: kubernetes-services-endpoint
61836183
optional: true
6184-
image: docker.io/calico/node:v3.29.4
6184+
image: quay.io/calico/node:v3.29.4
61856185
imagePullPolicy: IfNotPresent
61866186
lifecycle:
61876187
preStop:
@@ -6253,7 +6253,7 @@ spec:
62536253
- configMapRef:
62546254
name: kubernetes-services-endpoint
62556255
optional: true
6256-
image: docker.io/calico/cni:v3.29.4
6256+
image: quay.io/calico/cni:v3.29.4
62576257
imagePullPolicy: IfNotPresent
62586258
name: upgrade-ipam
62596259
securityContext:
@@ -6288,7 +6288,7 @@ spec:
62886288
- configMapRef:
62896289
name: kubernetes-services-endpoint
62906290
optional: true
6291-
image: docker.io/calico/cni:v3.29.4
6291+
image: quay.io/calico/cni:v3.29.4
62926292
imagePullPolicy: IfNotPresent
62936293
name: install-cni
62946294
securityContext:
@@ -6302,7 +6302,7 @@ spec:
63026302
- calico-node
63036303
- -init
63046304
- -best-effort
6305-
image: docker.io/calico/node:v3.29.4
6305+
image: quay.io/calico/node:v3.29.4
63066306
imagePullPolicy: IfNotPresent
63076307
name: mount-bpffs
63086308
securityContext:

templates/addons/calico/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ patches:
1212
name: calico-kube-controllers
1313
namespace: kube-system
1414
- path: patches/azure-mtu.yaml
15+
- path: patches/replace-docker-with-quay.yaml
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
apiVersion: apps/v1
2+
kind: DaemonSet
3+
metadata:
4+
name: calico-node
5+
namespace: kube-system
6+
spec:
7+
template:
8+
spec:
9+
initContainers:
10+
- name: upgrade-ipam
11+
image: quay.io/calico/cni:v3.29.4
12+
- name: install-cni
13+
image: quay.io/calico/cni:v3.29.4
14+
- name: mount-bpffs
15+
image: quay.io/calico/node:v3.29.4
16+
containers:
17+
- name: calico-node
18+
image: quay.io/calico/node:v3.29.4
19+
---
20+
apiVersion: apps/v1
21+
kind: Deployment
22+
metadata:
23+
name: calico-kube-controllers
24+
namespace: kube-system
25+
spec:
26+
template:
27+
spec:
28+
containers:
29+
- name: calico-kube-controllers
30+
image: quay.io/calico/kube-controllers:v3.29.4

templates/addons/calico/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,13 @@ installation:
1010
- cidr: 192.168.0.0/16
1111
encapsulation: VXLAN
1212
windowsDataplane: HNS
13+
registry: quay.io
14+
# Image and registry configuration for the tigera/operator pod.
15+
tigeraOperator:
16+
image: tigera/operator
17+
registry: quay.io
18+
calicoctl:
19+
image: quay.io/calico/ctl
1320
serviceCIDRs:
1421
- 10.96.0.0/12 # must match cluster service CIDR (this is the default)
1522
# By default, tigera tolerates all NoSchedule taints. This breaks upgrades

templates/addons/cluster-api-helm/calico-dual-stack.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ spec:
5656
matchExpressions:
5757
- key: node-role.kubernetes.io/control-plane
5858
operator: Exists
59-
registry: mcr.microsoft.com/oss
60-
# Image and registry configuration for the tigera/operator pod.
61-
tigeraOperator:
62-
image: tigera/operator
63-
registry: mcr.microsoft.com/oss
64-
calicoctl:
65-
image: mcr.microsoft.com/oss/calico/ctl
59+
registry: quay.io
60+
# Image and registry configuration for the tigera/operator pod.
61+
tigeraOperator:
62+
image: tigera/operator
63+
registry: quay.io
64+
calicoctl:
65+
image: quay.io/calico/ctl
6666
# By default, tigera tolerates all NoSchedule taints. This breaks upgrades
6767
# when it continuously gets scheduled onto an out-of-date Node that is being
6868
# deleted. Tolerate only the NoSchedule taints that are expected.

templates/addons/cluster-api-helm/calico-ipv6.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ spec:
5151
matchExpressions:
5252
- key: node-role.kubernetes.io/control-plane
5353
operator: Exists
54-
registry: mcr.microsoft.com/oss
55-
# Image and registry configuration for the tigera/operator pod.
56-
tigeraOperator:
57-
image: tigera/operator
58-
registry: mcr.microsoft.com/oss
59-
calicoctl:
60-
image: mcr.microsoft.com/oss/calico/ctl
54+
registry: quay.io
55+
# Image and registry configuration for the tigera/operator pod.
56+
tigeraOperator:
57+
image: tigera/operator
58+
registry: quay.io
59+
calicoctl:
60+
image: quay.io/calico/ctl
6161
# By default, tigera tolerates all NoSchedule taints. This breaks upgrades
6262
# when it continuously gets scheduled onto an out-of-date Node that is being
6363
# deleted. Tolerate only the NoSchedule taints that are expected.

templates/addons/cluster-api-helm/calico.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ spec:
4949
matchExpressions:
5050
- key: node-role.kubernetes.io/control-plane
5151
operator: Exists
52-
registry: mcr.microsoft.com/oss
53-
# Image and registry configuration for the tigera/operator pod.
54-
tigeraOperator:
55-
image: tigera/operator
56-
registry: mcr.microsoft.com/oss
57-
calicoctl:
58-
image: mcr.microsoft.com/oss/calico/ctl
52+
registry: quay.io
5953
serviceCIDRs:
6054
- 10.96.0.0/12 # must match cluster service CIDR (this is the default)
55+
# Image and registry configuration for the tigera/operator pod
56+
tigeraOperator:
57+
image: tigera/operator
58+
registry: quay.io
59+
calicoctl:
60+
image: quay.io/calico/ctl
6161
# when kubernetesServiceEndpoint (required for windows) is added
6262
# DNS configuration is needed to look up the api server name properly
6363
# https://github.com/projectcalico/calico/issues/9536

templates/test/ci/cluster-template-prow-apiserver-ilb-custom-images.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)