Browse Source

Fix: helm: remove deprecated values that caused helm template error for post install hook (#5108)

* Update post-install-bucket-hook.yaml - remove deprecated volume checks

* Update Chart.yaml - update chart version to 3.60.0
pull/5110/head
JesseBot 1 year ago
committed by GitHub
parent
commit
2b323a8293
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      k8s/charts/seaweedfs/Chart.yaml
  2. 12
      k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml

2
k8s/charts/seaweedfs/Chart.yaml

@ -2,4 +2,4 @@ apiVersion: v1
description: SeaweedFS description: SeaweedFS
name: seaweedfs name: seaweedfs
appVersion: "3.59" appVersion: "3.59"
version: 3.59.4
version: 3.60.0

12
k8s/charts/seaweedfs/templates/post-install-bucket-hook.yaml

@ -80,9 +80,6 @@ spec:
{{- end }} {{- end }}
- containerPort: {{ .Values.master.grpcPort }} - containerPort: {{ .Values.master.grpcPort }}
#name: swfs-master-grpc #name: swfs-master-grpc
{{- if .Values.master.readinessProbe.enabled }}
{{- $hostpath_exists := include "master.hostpath_exists" . -}}
{{- $existing_claims := include "master.existing_claims" . -}}
{{- if .Values.filer.s3.enableAuth }} {{- if .Values.filer.s3.enableAuth }}
volumes: volumes:
- name: config-users - name: config-users
@ -93,8 +90,7 @@ spec:
{{- else }} {{- else }}
secretName: seaweedfs-s3-secret secretName: seaweedfs-s3-secret
{{- end }} {{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}{{/** if .Values.filer.s3.enableAuth **/}}
{{- end }}{{/** if .Values.master.enabled **/}}
{{- end }}{{/** if .Values.filer.s3.enabled **/}}
{{- end }}{{/** if .Values.filer.s3.createBuckets **/}}
Loading…
Cancel
Save