Browse Source
Add variabilisation of RBAC (#4692)
* Add variabilisation of RBAC
* fix also filer reference
pull/4694/head
Armand LEOPOLD
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
5 additions and
0 deletions
-
k8s/charts/seaweedfs/templates/filer-statefulset.yaml
-
k8s/charts/seaweedfs/templates/service-account.yaml
-
k8s/charts/seaweedfs/values.yaml
|
|
@ -46,7 +46,9 @@ spec: |
|
|
|
imagePullSecrets: |
|
|
|
- name: {{ .Values.global.imagePullSecrets }} |
|
|
|
{{- end }} |
|
|
|
{{- if .Values.global.createClusterRole }} |
|
|
|
serviceAccountName: seaweedfs-rw-sa #hack for delete pod master after migration |
|
|
|
{{- end }} |
|
|
|
terminationGracePeriodSeconds: 60 |
|
|
|
{{- if .Values.filer.priorityClassName }} |
|
|
|
priorityClassName: {{ .Values.filer.priorityClassName | quote }} |
|
|
|
|
|
@ -1,3 +1,4 @@ |
|
|
|
{{- if .Values.global.createClusterRole }} |
|
|
|
#hack for delete pod master after migration |
|
|
|
--- |
|
|
|
kind: ClusterRole |
|
|
@ -27,3 +28,4 @@ roleRef: |
|
|
|
apiGroup: rbac.authorization.k8s.io |
|
|
|
kind: ClusterRole |
|
|
|
name: seaweedfs-rw-cr |
|
|
|
{{- end }} |
|
|
@ -1,6 +1,7 @@ |
|
|
|
# Available parameters and their default values for the SeaweedFS chart. |
|
|
|
|
|
|
|
global: |
|
|
|
createClusterRole: true |
|
|
|
registry: "" |
|
|
|
repository: "" |
|
|
|
imageName: chrislusf/seaweedfs |
|
|
|