File tree Expand file tree Collapse file tree 5 files changed +16
-0
lines changed
cluster/charts/crossplane Expand file tree Collapse file tree 5 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,9 @@ and their default values.
125125| ` securityContextRBACManager.runAsGroup ` | The group ID used by the RBAC Manager pod. | ` 65532 ` |
126126| ` securityContextRBACManager.runAsUser ` | The user ID used by the RBAC Manager pod. | ` 65532 ` |
127127| ` service.customAnnotations ` | Configure annotations on the service object. Only enabled when webhooks.enabled = true | ` {} ` |
128+ | ` serviceAccount.create ` | Specifies whether Crossplane ServiceAccount should be created | ` true ` |
128129| ` serviceAccount.customAnnotations ` | Add custom ` annotations ` to the Crossplane ServiceAccount. | ` {} ` |
130+ | ` serviceAccount.name ` | Provide the name of an already created Crossplane ServiceAccount. Required when ` serviceAccount.create ` is ` false ` | ` "" ` |
129131| ` tolerations ` | Add ` tolerations ` to the Crossplane pod deployment. | ` [] ` |
130132| ` topologySpreadConstraints ` | Add ` topologySpreadConstraints ` to the Crossplane pod deployment. | ` [] ` |
131133| ` webhooks.enabled ` | Enable webhooks for Crossplane and installed Provider packages. | ` true ` |
Original file line number Diff line number Diff line change @@ -11,5 +11,9 @@ roleRef:
1111 name : {{ template "crossplane.name" . }}
1212subjects :
1313- kind : ServiceAccount
14+ {{- if not .Values.serviceAccount.create }}
15+ name : {{ .Values.serviceAccount.name }}
16+ {{- else }}
1417 name : {{ template "crossplane.name" . }}
18+ {{- end }}
1519 namespace : {{ .Release.Namespace }}
Original file line number Diff line number Diff line change 4747 {{- if .Values.priorityClassName }}
4848 priorityClassName : {{ .Values.priorityClassName | quote }}
4949 {{- end }}
50+ {{- if not .Values.serviceAccount.create }}
51+ serviceAccountName : {{ .Values.serviceAccount.name }}
52+ {{- else }}
5053 serviceAccountName : {{ template "crossplane.name" . }}
54+ {{- end }}
5155 hostNetwork : {{ .Values.hostNetwork }}
5256 initContainers :
5357 - image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default (printf " v%s" .Chart.AppVersion) }}"
Original file line number Diff line number Diff line change 1+ {{- if .Values.serviceAccount.create }}
12apiVersion : v1
23kind : ServiceAccount
34metadata :
@@ -15,3 +16,4 @@ imagePullSecrets:
1516- name : {{ $secret }}
1617{{- end }}
1718{{ end }}
19+ {{- end }}
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ customLabels: {}
4040customAnnotations : {}
4141
4242serviceAccount :
43+ # -- Specifies whether Crossplane ServiceAccount should be created
44+ create : true
45+ # -- Provide the name of an already created Crossplane ServiceAccount. Required when `serviceAccount.create` is `false`
46+ name : " "
4347 # -- Add custom `annotations` to the Crossplane ServiceAccount.
4448 customAnnotations : {}
4549
You can’t perform that action at this time.
0 commit comments