Skip to content

Commit

Permalink
Merge pull request #4119 from Jont828/caaph-calico-fix
Browse files Browse the repository at this point in the history
Add version pin and registry values to calico Helm install with CAAPH
  • Loading branch information
k8s-ci-robot authored Oct 19, 2023
2 parents 1b6df41 + fe18c05 commit 9b844c6
Show file tree
Hide file tree
Showing 53 changed files with 265 additions and 25 deletions.
10 changes: 9 additions & 1 deletion templates/addons/cluster-api-helm/calico-dual-stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
cni: calico-dual-stack
repoURL: https://docs.tigera.io/calico/charts
chartName: tigera-operator
version: ${CALICO_VERSION}
releaseName: projectcalico
namespace: tigera-operator
valuesTemplate: |
Expand All @@ -29,4 +30,11 @@ spec:
cidr: {{ index .Cluster.spec.clusterNetwork.pods.cidrBlocks 1 }}
encapsulation: None
natOutgoing: Enabled
nodeSelector: all()
nodeSelector: all()
registry: mcr.microsoft.com/oss
# Image and registry configuration for the tigera/operator pod.
tigeraOperator:
image: tigera/operator
registry: mcr.microsoft.com/oss
calicoctl:
image: mcr.microsoft.com/oss/calico/ctl
10 changes: 9 additions & 1 deletion templates/addons/cluster-api-helm/calico-ipv6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
cni: calico-ipv6
repoURL: https://docs.tigera.io/calico/charts
chartName: tigera-operator
version: ${CALICO_VERSION}
releaseName: projectcalico
namespace: tigera-operator
valuesTemplate: |
Expand All @@ -24,4 +25,11 @@ spec:
cidr: {{ $cidr }}
encapsulation: None
natOutgoing: Enabled
nodeSelector: all(){{end}}
nodeSelector: all(){{end}}
registry: mcr.microsoft.com/oss
# Image and registry configuration for the tigera/operator pod.
tigeraOperator:
image: tigera/operator
registry: mcr.microsoft.com/oss
calicoctl:
image: mcr.microsoft.com/oss/calico/ctl
10 changes: 9 additions & 1 deletion templates/addons/cluster-api-helm/calico.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ spec:
cni: calico
repoURL: https://docs.tigera.io/calico/charts
chartName: tigera-operator
version: ${CALICO_VERSION}
releaseName: projectcalico
namespace: tigera-operator
valuesTemplate: |
Expand All @@ -20,4 +21,11 @@ spec:
ipPools:
ipPools:{{range $i, $cidr := .Cluster.spec.clusterNetwork.pods.cidrBlocks }}
- cidr: {{ $cidr }}
encapsulation: VXLAN{{end}}
encapsulation: VXLAN{{end}}
registry: mcr.microsoft.com/oss
# Image and registry configuration for the tigera/operator pod.
tigeraOperator:
image: tigera/operator
registry: mcr.microsoft.com/oss
calicoctl:
image: mcr.microsoft.com/oss/calico/ctl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow-ci-version-ipv6.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow-ci-version.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow-custom-vnet.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion templates/test/ci/cluster-template-prow-dual-stack.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow-edgezone.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow-flatcar.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow-ipv6.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow-machine-pool.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow-nvidia-gpu.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow-private.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow-topology.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions templates/test/ci/cluster-template-prow.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ patchesStrategicMerge:
- ../../../flavors/dual-stack/patches/dual-stack.yaml
- ../../../flavors/dual-stack/patches/controlplane-azuremachinetemplate.yaml
- ../../../flavors/dual-stack/patches/kubeadm-controlplane.yaml
- ../prow-dual-stack/patches/cluster-label.yaml
- ../prow-dual-stack/patches/cluster-label-calico-dual-stack.yaml
- patches/machine-deployment.yaml
- ../patches/windows-addons-disabled.yaml
patches:
Expand Down
2 changes: 1 addition & 1 deletion templates/test/ci/prow-ci-version-ipv6/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ patchesStrategicMerge:
- ../../../flavors/ipv6/patches/ipv6.yaml
- ../../../flavors/ipv6/patches/controlplane-azuremachinetemplate.yaml
- ../../../flavors/ipv6/patches/kubeadm-controlplane.yaml
- ../prow-ipv6/patches/cluster-label.yaml
- ../prow-ipv6/patches/cluster-label-calico-ipv6.yaml
- patches/machine-deployment.yaml
- ../patches/windows-addons-disabled.yaml
patches:
Expand Down
2 changes: 1 addition & 1 deletion templates/test/ci/prow-custom-vnet/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ patchesStrategicMerge:
- patches/custom-vnet.yaml
- ../patches/uami-md-0.yaml
- ../patches/uami-control-plane.yaml
- ../patches/cluster-label.yaml
- ../patches/cluster-label-calico.yaml
2 changes: 1 addition & 1 deletion templates/test/ci/prow-dual-stack/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ patchesStrategicMerge:
- ../patches/controller-manager.yaml
- patches/azure-machine-template-control-plane.yaml
- patches/azure-machine-template.yaml
- patches/cluster-label.yaml
- patches/cluster-label-calico-dual-stack.yaml
2 changes: 1 addition & 1 deletion templates/test/ci/prow-edgezone/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ patchesStrategicMerge:
- patches/standardssd-disk.yaml
- patches/machine-type.yaml
- patches/kubernetes-version.yaml
- ../patches/cluster-label.yaml
- ../patches/cluster-label-calico.yaml
2 changes: 1 addition & 1 deletion templates/test/ci/prow-flatcar/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ resources:
patchesStrategicMerge:
- ../patches/tags.yaml
- ../patches/controller-manager.yaml
- ../patches/cluster-label.yaml
- ../patches/cluster-label-calico.yaml
2 changes: 1 addition & 1 deletion templates/test/ci/prow-ipv6/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ resources:
patchesStrategicMerge:
- ../patches/tags.yaml
- ../patches/controller-manager.yaml
- patches/cluster-label.yaml
- patches/cluster-label-calico-ipv6.yaml
2 changes: 1 addition & 1 deletion templates/test/ci/prow-machine-pool/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ patchesStrategicMerge:
- ../patches/controller-manager.yaml
- ../patches/machine-pool-worker-counts.yaml
- ../patches/windows-containerd-labels.yaml
- ../patches/cluster-label.yaml
- ../patches/cluster-label-calico.yaml
configMapGenerator:
- name: cni-${CLUSTER_NAME}-calico-windows
files:
Expand Down
2 changes: 1 addition & 1 deletion templates/test/ci/prow-nvidia-gpu/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ patchesStrategicMerge:
- ../patches/tags.yaml
- ../patches/controller-manager.yaml
- ../patches/azurecluster-gpu.yaml
- ../patches/cluster-label.yaml
- ../patches/cluster-label-calico.yaml
patches:
- path: patches/node-storage-type.yaml
target:
Expand Down
Loading

0 comments on commit 9b844c6

Please sign in to comment.