Skip to content

Commit

Permalink
Add helm-chart-fluid-1.0.3, To #58466088
Browse files Browse the repository at this point in the history
Signed-off-by: cheyang <[email protected]>
  • Loading branch information
cheyang committed Nov 1, 2024
1 parent 49c08ff commit f8346bf
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 13 deletions.
2 changes: 1 addition & 1 deletion history-versions/v1.0.3/fluid/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ version: 1.0.3

# 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.3-3e38c94
appVersion: 1.0.3-ccdf3a9
home: https://github.com/fluid-cloudnative/fluid
keywords:
- category:data
Expand Down
6 changes: 4 additions & 2 deletions history-versions/v1.0.3/fluid/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,10 @@ Create the name of the service account to use
{{- end -}}

{{- define "fluid.controlplane.resources" -}}
{{- if .resources -}}
{{ toYaml .resources }}
{{- $ := index . 0 -}}
{{- $resources := index . 1 -}}
{{- if $resources -}}
{{ toYaml $resources }}
{{- end -}}
{{- end -}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,5 @@ spec:
name: metrics
protocol: TCP
resources:
{{- include "fluid.controlplane.resources" .Values.runtime.alluxio | nindent 10 }}
{{- include "fluid.controlplane.resources" (list $ .Values.runtime.alluxio.resources) | nindent 10 }}
terminationGracePeriodSeconds: 10
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@ spec:
name: metrics
protocol: TCP
resources:
{{- include "fluid.controlplane.resources" .Values.dataset | nindent 10 }}
{{- include "fluid.controlplane.resources" (list $ .Values.dataset.resources) | nindent 10 }}
terminationGracePeriodSeconds: 10
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ spec:
name: metrics
protocol: TCP
resources:
{{- include "fluid.controlplane.resources" .Values.runtime.efc | nindent 10 }}
{{- include "fluid.controlplane.resources" (list $ .Values.runtime.efc.resources) | nindent 10 }}
terminationGracePeriodSeconds: 10
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ spec:
name: metrics
protocol: TCP
resources:
{{- include "fluid.controlplane.resources" .Values.fluidapp | nindent 10 }}
{{- include "fluid.controlplane.resources" (list $ .Values.fluidapp.resources) | nindent 10 }}
terminationGracePeriodSeconds: 10
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,5 @@ spec:
name: metrics
protocol: TCP
resources:
{{- include "fluid.controlplane.resources" .Values.runtime.goosefs | nindent 10 }}
{{- include "fluid.controlplane.resources" (list $ .Values.runtime.goosefs.resources) | nindent 10 }}
terminationGracePeriodSeconds: 10
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ spec:
name: metrics
protocol: TCP
resources:
{{- include "fluid.controlplane.resources" .Values.runtime.jindo | nindent 10 }}
{{- include "fluid.controlplane.resources" (list $ .Values.runtime.jindo.resources) | nindent 10 }}
terminationGracePeriodSeconds: 10
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ spec:
name: metrics
protocol: TCP
resources:
{{- include "fluid.controlplane.resources" .Values.runtime.juicefs | nindent 10 }}
{{- include "fluid.controlplane.resources" (list $ .Values.runtime.juicefs.resources) | nindent 10 }}
terminationGracePeriodSeconds: 10
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ spec:
controller.runtime.fluid.io/replicas: {{ .Values.runtime.thin.replicas | quote }}
{{- end }}
spec:
{{- with .Values.image.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: thinruntime-controller
{{ include "fluid.controlplane.affinity" . | nindent 6}}
{{- if .Values.runtime.thin.tolerations }}
Expand Down Expand Up @@ -62,5 +66,5 @@ spec:
name: metrics
protocol: TCP
resources:
{{- include "fluid.controlplane.resources" .Values.runtime.thin | nindent 10 }}
{{- include "fluid.controlplane.resources" (list $ .Values.runtime.thin.resources) | nindent 10 }}
terminationGracePeriodSeconds: 10
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@ spec:
name: metrics
protocol: TCP
resources:
{{- include "fluid.controlplane.resources" .Values.runtime.vineyard | nindent 10 }}
{{- include "fluid.controlplane.resources" (list $ .Values.runtime.vineyard.resources) | nindent 10 }}
terminationGracePeriodSeconds: 10
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spec:
{{- end }}
template:
spec:
{{- with .Values.image.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: fluid-crds-upgrade
containers:
- name: fluid-crds-upgrade
Expand Down
2 changes: 1 addition & 1 deletion history-versions/v1.0.3/fluid/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ image:
# Default registry, namespace and version tag for images managed by fluid
imagePrefix: &defaultImagePrefix fluidcloudnative
# imagePrefix: &defaultImagePrefix registry.aliyuncs.com/fluid
version: &defaultVersion v1.0.3-3e38c94
version: &defaultVersion v1.0.3-ccdf3a9

crdUpgrade:
enabled: true
Expand Down

0 comments on commit f8346bf

Please sign in to comment.