Skip to content

Commit

Permalink
feat: update chart with new feature for management.cattle.io/v3 support
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Salas <[email protected]>
  • Loading branch information
salasberryfin committed Jan 16, 2024
1 parent 15a29c3 commit e598205
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/rancher-turtles/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
containers:
- args:
- --leader-elect
- --feature-gates=rancher-kube-secret-patch={{ index .Values "rancherTurtles" "features" "rancher-kubeconfigs" "label"}}
- --feature-gates=managementv3-cluster={{ index .Values "rancherTurtles" "features" "managementv3-cluster" "enabled"}},rancher-kube-secret-patch={{ index .Values "rancherTurtles" "features" "rancher-kubeconfigs" "label"}}
{{- range .Values.rancherTurtles.managerArguments }}
- {{ . }}
{{- end }}
Expand Down
13 changes: 13 additions & 0 deletions charts/rancher-turtles/templates/rancher-turtles-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1872,6 +1872,19 @@ rules:
- list
- watch
- create
- apiGroups:
- management.cattle.io
resources:
- clusters
- clusters/status
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- provisioning.cattle.io
resources:
Expand Down
2 changes: 2 additions & 0 deletions charts/rancher-turtles/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ rancherTurtles:
kubectlImage: rancher/kubectl
rancher-kubeconfigs:
label: true
managementv3-cluster:
enabled: false
cluster-api-operator:
enabled: true
cert-manager:
Expand Down

0 comments on commit e598205

Please sign in to comment.