Skip to content

Commit

Permalink
Remove aws.s3 which was removed in PR !66
Browse files Browse the repository at this point in the history
  • Loading branch information
kabooboo committed Oct 11, 2024
1 parent 9d998e4 commit f5967c5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion templates/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ spec:
{{ end }}
- name: LAGO_AWS_S3_REGION
value: {{ if .Values.global.s3.enabled }}
{{ .Values.global.s3.aws.region | quote }}
{{ .Values.global.s3.region | quote }}
{{ else if .Values.minio.enabled }}
{{ default "us-east-1" .Values.minio.region | quote }}
{{ end }}
Expand Down
8 changes: 4 additions & 4 deletions templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ data:

{{- if not .Values.global.existingSecret }}
{{ if .Values.global.s3.enabled }}
{{ if .Values.global.s3.aws.accessKeyId }}
awsS3AccessKeyId: {{ .Values.global.s3.aws.accessKeyId | b64enc }}
{{ if .Values.global.s3.accessKeyId }}
awsS3AccessKeyId: {{ .Values.global.s3.accessKeyId | b64enc }}
{{ end }}
{{ if .Values.global.s3.aws.secretAccessKey }}
awsS3SecretAccessKey: {{ .Values.global.s3.aws.secretAccessKey | b64enc }}
{{ if .Values.global.s3.secretAccessKey }}
awsS3SecretAccessKey: {{ .Values.global.s3.secretAccessKey | b64enc }}
{{ end }}
{{ if eq .Values.global.s3.provider "minio" }}
{{ if .Values.global.s3.minio.accessKeyId }}
Expand Down
12 changes: 6 additions & 6 deletions templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,28 +119,28 @@ spec:
{{ if .Values.global.s3.enabled }}
- name: LAGO_USE_AWS_S3
value: "true"
{{ if .Values.global.s3.aws.endpoint }}
{{ if .Values.global.s3.endpoint }}
- name: LAGO_AWS_S3_ENDPOINT
value: {{ .Values.global.s3.aws.endpoint | quote }}
value: {{ .Values.global.s3.endpoint | quote }}
{{ end }}
{{ if or .Values.global.s3.aws.accessKeyId .Values.global.existingSecret }}
{{ if or .Values.global.s3.accessKeyId .Values.global.existingSecret }}
- name: LAGO_AWS_S3_ACCESS_KEY_ID
valueFrom:
secretKeyRef:
name: {{ include "secret-path" . }}
key: awsS3AccessKeyId
{{ end }}
{{ if or .Values.global.s3.aws.secretAccessKey .Values.global.existingSecret }}
{{ if or .Values.global.s3.secretAccessKey .Values.global.existingSecret }}
- name: LAGO_AWS_S3_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: {{ include "secret-path" . }}
key: awsS3SecretAccessKey
{{ end }}
- name: LAGO_AWS_S3_BUCKET
value: {{ .Values.global.s3.aws.bucket | quote }}
value: {{ .Values.global.s3.bucket | quote }}
- name: LAGO_AWS_S3_REGION
value: {{ .Values.global.s3.aws.region | quote }}
value: {{ .Values.global.s3.region | quote }}
{{ end }}
{{ if .Values.global.smtp.enabled }}
- name: LAGO_FROM_EMAIL
Expand Down

0 comments on commit f5967c5

Please sign in to comment.