Richard Chen
17 hours ago
Failed to extract signature
1 changed files with
6 additions and
0 deletions
-
k8s/charts/seaweedfs/templates/s3/s3-deployment.yaml
|
|
|
@ -35,6 +35,12 @@ spec: |
|
|
|
{{- toYaml . | nindent 8 }} |
|
|
|
{{- end }} |
|
|
|
annotations: |
|
|
|
{{- if .Values.s3.existingConfigSecret }} |
|
|
|
{{- $configSecret := (lookup "v1" "Secret" .Release.Namespace .Values.s3.existingConfigSecret) | default dict }} |
|
|
|
checksum/s3config: {{ $configSecret | toYaml | sha256sum }} |
|
|
|
{{- else }} |
|
|
|
checksum/s3config: {{ include (print .Template.BasePath "/s3/s3-secret.yaml") . | sha256sum }} |
|
|
|
{{- end }} |
|
|
|
{{ with .Values.podAnnotations }} |
|
|
|
{{- toYaml . | nindent 8 }} |
|
|
|
{{- end }} |
|
|
|
|