File tree Expand file tree Collapse file tree 4 files changed +32
-1
lines changed
charts/rancher-turtles/templates Expand file tree Collapse file tree 4 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 11{{- if index .Values "rancherTurtles" "features" "embedded-operator" "enabled" }}
2- apiversion : v1
2+ apiVersion : v1
33kind : ConfigMap
44metadata :
55 name : clusterctl-config
66 namespace : ' {{ .Values.rancherTurtles.namespace }}'
7+ annotations :
8+ " helm.sh/hook " : " pre-install, pre-upgrade"
9+ " helm.sh/hook-weight " : " -1"
710{{- end}}
Original file line number Diff line number Diff line change @@ -21810,4 +21810,18 @@ spec:
2181021810 storage: true
2181121811 subresources:
2181221812 status: {}
21813+ ---
21814+ apiVersion: rbac.authorization.k8s.io/v1
21815+ kind: ClusterRole
21816+ metadata:
21817+ labels:
21818+ rancher-turtles/aggregate-to-manager: "true"
21819+ name: rancher-turtles-operator-admin
21820+ rules:
21821+ - apiGroups:
21822+ - '*'
21823+ resources:
21824+ - '*'
21825+ verbs:
21826+ - '*'
2181321827{{- end }}
Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : ClusterRole
3+ metadata :
4+ labels :
5+ rancher-turtles/aggregate-to-manager : " true"
6+ name : operator-admin
7+ rules :
8+ - apiGroups :
9+ - ' *'
10+ resources :
11+ - ' *'
12+ verbs :
13+ - ' *'
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ resources:
99- bases/operator.cluster.x-k8s.io_infrastructureproviders.yaml
1010- bases/operator.cluster.x-k8s.io_ipamproviders.yaml
1111- bases/operator.cluster.x-k8s.io_runtimeextensionproviders.yaml
12+ - bases/operator_role.yaml
1213# +kubebuilder:scaffold:crdkustomizeresource
1314
1415patches :
You can’t perform that action at this time.
0 commit comments