Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Install cert-manager before capi-operator #636

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Contributing Guidelines

Please check our Contributing Guide [here](https://turtles.docs.rancher.com/docs/contributing/intro).
Please check our Developer Guide [here](https://turtles.docs.rancher.com/developer-guide/intro).
2 changes: 1 addition & 1 deletion scripts/kind-cluster-with-extramounts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: kind.x-k8s.io/v1alpha4
name: capi-test
nodes:
- role: control-plane
image: kindest/node:v1.26.3
image: kindest/node:v1.27.13
extraMounts:
- hostPath: /var/run/docker.sock
containerPath: /var/run/docker.sock
7 changes: 6 additions & 1 deletion scripts/turtles-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,21 @@ kubectl rollout status deployment coredns -n kube-system --timeout=90s

helm repo add rancher-stable https://releases.rancher.com/server-charts/stable
helm repo add capi-operator https://kubernetes-sigs.github.io/cluster-api-operator
helm repo add jetstack https://charts.jetstack.io
helm repo update

helm install cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--set crds.enabled=true

export EXP_CLUSTER_RESOURCE_SET=true
export CLUSTER_TOPOLOGY=true

helm install capi-operator capi-operator/cluster-api-operator \
--create-namespace -n capi-operator-system \
--set infrastructure=docker:v1.4.6 \
--set core=cluster-api:v1.4.6 \
--set cert-manager.enabled=true \
--timeout 90s --wait

kubectl rollout status deployment capi-operator-cluster-api-operator -n capi-operator-system --timeout=180s
Expand Down