Skip to content

Commit

Permalink
Merge pull request #50 from cheyang/helm-chart-fluid-1.0.0-alpha.22
Browse files Browse the repository at this point in the history
Update helm-chart-fluid-1.0.0-alpha.22
  • Loading branch information
cheyang authored Mar 2, 2024
2 parents 683ca5a + 72402be commit dbab962
Show file tree
Hide file tree
Showing 12 changed files with 413 additions and 40 deletions.
4 changes: 2 additions & 2 deletions charts/fluid/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 1.0.0-alpha.21
version: 1.0.0-alpha.22

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 1.0.0-bbab38c
appVersion: 1.0.0-50ee888
home: https://github.com/fluid-cloudnative/fluid
keywords:
- category:data
Expand Down
10 changes: 10 additions & 0 deletions charts/fluid/templates/controller/juicefsruntime_controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@ spec:
- --leader-election-namespace={{ include "fluid.namespace" . }}
command: ["juicefsruntime-controller", "start"]
env:
{{- if .Values.image.imagePullSecrets }}
- name: IMAGE_PULL_SECRETS
{{- $secretList := list }}
{{- range .Values.image.imagePullSecrets }}
{{- range $name,$v := . }}
{{- $secretList = append $secretList $v }}
{{- end }}
{{- end }}
value: {{ join "," $secretList | quote }}
{{- end }}
{{- if .Values.runtime.juicefs.fuse.ceimage }}
- name: JUICEFS_CE_IMAGE_ENV
value: {{ .Values.runtime.juicefs.fuse.ceimage | quote }}
Expand Down
47 changes: 44 additions & 3 deletions charts/fluid/templates/role/alluxio/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,13 @@ rules:
- alluxioruntimes/status
- datasets/status
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resources:
Expand All @@ -104,13 +110,34 @@ rules:
- daemonsets/status
- statefulsets/status
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: {{ include "fluid.namespace" . }}
name: alluxioruntime-controller-lease-role
rules:
- apiGroups:
- coordination.k8s.io
resources:
- leases
resourceNames:
- alluxio.data.fluid.io
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand All @@ -125,6 +152,20 @@ subjects:
name: alluxioruntime-controller
namespace: {{ include "fluid.namespace" . }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: alluxioruntime-rolebinding
namespace: {{ include "fluid.namespace" . }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: alluxioruntime-controller-lease-role
subjects:
- kind: ServiceAccount
name: alluxioruntime-controller
namespace: {{ include "fluid.namespace" . }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
47 changes: 44 additions & 3 deletions charts/fluid/templates/role/dataset/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,13 @@ rules:
- vineyardruntimes
- vineyardruntimes/status
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resources:
Expand All @@ -113,7 +119,13 @@ rules:
- daemonsets/status
- statefulsets/status
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resources:
Expand All @@ -126,12 +138,27 @@ rules:
- 'watch'
- 'update'
- 'patch'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: {{ include "fluid.namespace" . }}
name: dataset-controller-lease-role
rules:
- apiGroups:
- coordination.k8s.io
resources:
- leases
resourceNames:
- dataset.data.fluid.io
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand All @@ -146,6 +173,20 @@ subjects:
name: dataset-controller
namespace: {{ include "fluid.namespace" . }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: dataset-rolebinding
namespace: {{ include "fluid.namespace" . }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: dataset-controller-lease-role
subjects:
- kind: ServiceAccount
name: dataset-controller
namespace: {{ include "fluid.namespace" . }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
47 changes: 44 additions & 3 deletions charts/fluid/templates/role/efc/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,13 @@ rules:
- efcruntimes/status
- datasets/status
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resources:
Expand All @@ -103,13 +109,34 @@ rules:
- daemonsets/status
- statefulsets/status
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: {{ include "fluid.namespace" . }}
name: efcruntime-controller-lease-role
rules:
- apiGroups:
- coordination.k8s.io
resources:
- leases
resourceNames:
- efc.data.fluid.io
verbs:
- "*"
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand All @@ -124,6 +151,20 @@ subjects:
name: efcruntime-controller
namespace: {{ include "fluid.namespace" . }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: efcruntime-rolebinding
namespace: {{ include "fluid.namespace" . }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: efcruntime-controller-lease-role
subjects:
- kind: ServiceAccount
name: efcruntime-controller
namespace: {{ include "fluid.namespace" . }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
39 changes: 37 additions & 2 deletions charts/fluid/templates/role/fluidapp/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,34 @@ rules:
resources:
- configmaps
verbs:
- "*"
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: {{ include "fluid.namespace" . }}
name: fluidapp-controller-lease-role
rules:
- apiGroups:
- coordination.k8s.io
resources:
- leases
resourceNames:
- fluidapp.data.fluid.io
verbs:
- "*"
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand All @@ -59,6 +80,20 @@ subjects:
name: fluidapp-controller
namespace: {{ include "fluid.namespace" . }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: fluidapp-rolebinding
namespace: {{ include "fluid.namespace" . }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: fluidapp-controller-lease-role
subjects:
- kind: ServiceAccount
name: fluidapp-controller
namespace: {{ include "fluid.namespace" . }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
47 changes: 44 additions & 3 deletions charts/fluid/templates/role/goosefs/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,13 @@ rules:
- goosefsruntimes/status
- datasets/status
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resources:
Expand All @@ -114,13 +120,34 @@ rules:
- daemonsets/status
- statefulsets/status
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: {{ include "fluid.namespace" . }}
name: goosefsruntime-controller-lease-role
rules:
- apiGroups:
- coordination.k8s.io
resources:
- leases
resourceNames:
- goosefs.data.fluid.io
verbs:
- '*'
- get
- list
- watch
- create
- update
- patch
- delete
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand All @@ -135,6 +162,20 @@ subjects:
name: goosefsruntime-controller
namespace: {{ include "fluid.namespace" . }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: goosefsruntime-rolebinding
namespace: {{ include "fluid.namespace" . }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: goosefsruntime-controller-lease-role
subjects:
- kind: ServiceAccount
name: goosefsruntime-controller
namespace: {{ include "fluid.namespace" . }}
---
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
Loading

0 comments on commit dbab962

Please sign in to comment.