Skip to content

Commit e67adf7

Browse files
authored
Merge pull request #107 from cheyang/helm-chart-fluid-1.0.8-alpha.5
Add helm-chart-fluid-1.0.8-alpha.5
2 parents 03f7ee0 + b57ca84 commit e67adf7

10 files changed

+20
-33
lines changed

charts/fluid/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ type: application
1414

1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
17-
version: 1.0.8-alpha.4
17+
version: 1.0.8-alpha.5
1818

1919
# This is the version number of the application being deployed. This version number should be
2020
# incremented each time you make changes to the application.
21-
appVersion: 1.0.8-29e1c1e
21+
appVersion: 1.0.8-6533239
2222
home: https://github.com/fluid-cloudnative/fluid
2323
keywords:
2424
- category:data

charts/fluid/templates/_helpers.tpl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,11 @@ Check if feature gate DataflowAffinity is enabled in the featureGates.
161161
{{- end -}}
162162
{{- $found -}}
163163
{{- end -}}
164+
165+
{{/* Common syncScheduleInfoNodeExcludeSelector env for all runtime controllers*/}}
166+
{{- define "fluid.controllers.envs.syncScheduleInfoNodeExcludeSelector" -}}
167+
{{- if .Values.runtime.syncScheduleInfoNodeExcludeSelector }}
168+
- name: FLUID_SCHEDULE_INFO_EXCLUDE_NODE_SELECTOR
169+
value: {{ .Values.runtime.syncScheduleInfoNodeExcludeSelector | quote }}
170+
{{- end }}
171+
{{- end -}}

charts/fluid/templates/controller/alluxioruntime_controller.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@ spec:
8181
- name: FLUID_SYNC_RETRY_DURATION
8282
value: {{ .Values.runtime.syncRetryDuration | quote }}
8383
{{- end }}
84-
{{- if .Values.runtime.syncScheduleInfoNodeExcludeSelector }}
85-
- name: FLUID_SCHEDULE_INFO_EXCLUDE_NODE_SELECTOR
86-
value: {{ .Values.runtime.syncScheduleInfoNodeExcludeSelector | quote }}
87-
{{- end }}
84+
{{- include "fluid.controllers.envs.syncScheduleInfoNodeExcludeSelector" . | nindent 10 }}
8885
{{- if .Values.image.imagePullSecrets }}
8986
- name: IMAGE_PULL_SECRETS
9087
{{- $secretList := list }}

charts/fluid/templates/controller/efcruntime_controller.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ spec:
6363
- name: FLUID_SYNC_RETRY_DURATION
6464
value: {{ .Values.runtime.syncRetryDuration | quote }}
6565
{{- end }}
66-
{{- if .Values.runtime.syncScheduleInfoNodeExcludeSelector }}
67-
- name: FLUID_SCHEDULE_INFO_EXCLUDE_NODE_SELECTOR
68-
value: {{ .Values.runtime.syncScheduleInfoNodeExcludeSelector | quote }}
69-
{{- end }}
66+
{{- include "fluid.controllers.envs.syncScheduleInfoNodeExcludeSelector" . | nindent 10 }}
7067
{{- if .Values.runtime.efc.init.imageName }}
7168
- name: EFC_INIT_FUSE_IMAGE_ENV
7269
value: {{ include "fluid.runtime.imageTransform" (list .Values.runtime.efc.init.imagePrefix .Values.runtime.efc.init.imageName .Values.runtime.efc.init.imageTag . ) }}

charts/fluid/templates/controller/goosefsruntime_controller.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,7 @@ spec:
7979
- name: FLUID_SYNC_RETRY_DURATION
8080
value: {{ .Values.runtime.syncRetryDuration | quote }}
8181
{{- end }}
82-
{{- if .Values.runtime.syncScheduleInfoNodeExcludeSelector }}
83-
- name: FLUID_SCHEDULE_INFO_EXCLUDE_NODE_SELECTOR
84-
value: {{ .Values.runtime.syncScheduleInfoNodeExcludeSelector | quote }}
85-
{{- end }}
82+
{{- include "fluid.controllers.envs.syncScheduleInfoNodeExcludeSelector" . | nindent 10 }}
8683
{{- if .Values.runtime.goosefs.env }}
8784
{{ toYaml .Values.runtime.goosefs.env | nindent 10 }}
8885
{{- end }}

charts/fluid/templates/controller/jindoruntime_controller.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ spec:
8484
- name: FLUID_SYNC_RETRY_DURATION
8585
value: {{ .Values.runtime.syncRetryDuration | quote }}
8686
{{- end }}
87-
{{- if .Values.runtime.syncScheduleInfoNodeExcludeSelector }}
88-
- name: FLUID_SCHEDULE_INFO_EXCLUDE_NODE_SELECTOR
89-
value: {{ .Values.runtime.syncScheduleInfoNodeExcludeSelector | quote }}
90-
{{- end }}
87+
{{- include "fluid.controllers.envs.syncScheduleInfoNodeExcludeSelector" . | nindent 8 }}
9188
{{- if .Values.runtime.jindo.engine }}
9289
- name: JINDO_ENGINE_TYPE
9390
value: {{ .Values.runtime.jindo.engine | quote }}
@@ -99,7 +96,7 @@ spec:
9996
- name: HELM_DRIVER
10097
value: {{ template "fluid.helmDriver" . }}
10198
{{- if .Values.runtime.jindo.env }}
102-
{{ toYaml .Values.runtime.jindo.env | nindent 10 }}
99+
{{ toYaml .Values.runtime.jindo.env | nindent 8 }}
103100
{{- end }}
104101
ports:
105102
- containerPort: 8080

charts/fluid/templates/controller/juicefsruntime_controller.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@ spec:
8181
- name: FLUID_SYNC_RETRY_DURATION
8282
value: {{ .Values.runtime.syncRetryDuration | quote }}
8383
{{- end }}
84-
{{- if .Values.runtime.syncScheduleInfoNodeExcludeSelector }}
85-
- name: FLUID_SCHEDULE_INFO_EXCLUDE_NODE_SELECTOR
86-
value: {{ .Values.runtime.syncScheduleInfoNodeExcludeSelector | quote }}
87-
{{- end }}
84+
{{- include "fluid.controllers.envs.syncScheduleInfoNodeExcludeSelector" . | nindent 10 }}
8885
- name: HELM_DRIVER
8986
value: {{ template "fluid.helmDriver" . }}
9087
{{- if .Values.runtime.juicefs.env }}

charts/fluid/templates/controller/thinruntime_controller.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ spec:
6363
- name: FLUID_SYNC_RETRY_DURATION
6464
value: {{ .Values.runtime.thin.syncRetryRateLimitDuration | quote }}
6565
{{- end }}
66-
{{- if .Values.runtime.syncScheduleInfoNodeExcludeSelector }}
67-
- name: FLUID_SCHEDULE_INFO_EXCLUDE_NODE_SELECTOR
68-
value: {{ .Values.runtime.syncScheduleInfoNodeExcludeSelector | quote }}
69-
{{- end }}
66+
{{- include "fluid.controllers.envs.syncScheduleInfoNodeExcludeSelector" . | nindent 10 }}
7067
- name: HELM_DRIVER
7168
value: {{ template "fluid.helmDriver" . }}
7269
- name: THIN_FUSE_CONFIG_STORAGE

charts/fluid/templates/controller/vineyardruntime_controller.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,11 @@ spec:
7575
- name: FLUID_SYNC_RETRY_DURATION
7676
value: {{ .Values.runtime.syncRetryDuration | quote }}
7777
{{- end }}
78-
{{- if .Values.runtime.syncScheduleInfoNodeExcludeSelector }}
79-
- name: FLUID_SCHEDULE_INFO_EXCLUDE_NODE_SELECTOR
80-
value: {{ .Values.runtime.syncScheduleInfoNodeExcludeSelector | quote }}
81-
{{- end }}
78+
{{- include "fluid.controllers.envs.syncScheduleInfoNodeExcludeSelector" . | nindent 8 }}
8279
- name: HELM_DRIVER
8380
value: {{ template "fluid.helmDriver" . }}
8481
{{- if .Values.runtime.vineyard.env }}
85-
{{ toYaml .Values.runtime.vineyard.env | nindent 10 }}
82+
{{ toYaml .Values.runtime.vineyard.env | nindent 8 }}
8683
{{- end }}
8784
ports:
8885
- containerPort: 8080

charts/fluid/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ image:
1414
# Default registry, namespace and version tag for images managed by fluid
1515
imagePrefix: &defaultImagePrefix fluidcloudnative
1616
# imagePrefix: &defaultImagePrefix registry.aliyuncs.com/fluid
17-
version: &defaultVersion v1.0.8-29e1c1e
17+
version: &defaultVersion v1.0.8-6533239
1818

1919
crdUpgrade:
2020
enabled: true

0 commit comments

Comments
 (0)