Skip to content

Commit

Permalink
ci: use helm to install calico CNI
Browse files Browse the repository at this point in the history
  • Loading branch information
jackfrancis committed Jun 10, 2022
1 parent efc37fd commit b9f1244
Show file tree
Hide file tree
Showing 53 changed files with 5,470 additions and 55,736 deletions.
5 changes: 1 addition & 4 deletions Makefile
Expand Up @@ -461,11 +461,8 @@ generate-e2e-templates: $(KUSTOMIZE) ## Generate Azure infrastructure templates
$(KUSTOMIZE) build $(AZURE_TEMPLATES)/v1beta1/cluster-template-kcp-scale-in --load-restrictor LoadRestrictionsNone > $(AZURE_TEMPLATES)/v1beta1/cluster-template-kcp-scale-in.yaml

.PHONY: generate-addons
generate-addons: fetch-calico-manifests ## Generate metric-server, calico calico-ipv6 addons.
generate-addons: fetch-calico-manifests ## Generate metric-server, calico calico-ipv6 ClusterResourceSet addons.
$(KUSTOMIZE) build $(ADDONS_DIR)/metrics-server > $(ADDONS_DIR)/metrics-server/metrics-server.yaml
$(KUSTOMIZE) build $(ADDONS_DIR)/calico > $(ADDONS_DIR)/calico.yaml
$(KUSTOMIZE) build $(ADDONS_DIR)/calico-ipv6 > $(ADDONS_DIR)/calico-ipv6.yaml
$(KUSTOMIZE) build $(ADDONS_DIR)/calico-dual-stack > $(ADDONS_DIR)/calico-dual-stack.yaml

# When updating this, make sure to also update the Windows image version in templates/addons/windows/calico.
CALICO_VERSION := v3.23.0
Expand Down
22 changes: 22 additions & 0 deletions helm/calico-capz/.helmignore
@@ -0,0 +1,22 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
test/
15 changes: 15 additions & 0 deletions helm/calico-capz/Chart.yaml
@@ -0,0 +1,15 @@
apiVersion: v1
description: A Helm chart for installing calico CNI onto capz clusters
home: https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-azure/main/helm/calico-capz/README.md
keywords:
- calico
- capz
- cluster-api-provider-azure
- cluster-api
maintainers:
- email: jackfrancis@gmail.com
name: Jack Francis
name: calico-capz
sources:
- https://github.com/kubernetes-sigs/cluster-api-provider-azure
version: 3.20
3 changes: 3 additions & 0 deletions helm/calico-capz/README.md
@@ -0,0 +1,3 @@
# calico-capz Helm Chart

This Helm chart enables installation and maintenance of calico CNI components for capz (cluster-api-provider-azure) clusters.
3,928 changes: 3,928 additions & 0 deletions helm/calico-capz/crds/crds.yaml

Large diffs are not rendered by default.

0 comments on commit b9f1244

Please sign in to comment.