Skip to content

Commit

Permalink
change externallyCreated to useFakeS3 and change its depth (#3895)
Browse files Browse the repository at this point in the history
* change externallyCreated to useFakeS3 and change its depth

* fix chart values and doc

---------

Co-authored-by: Amit Sagtani <asagtani06@gmail.com>
  • Loading branch information
arthurwolf and amitsagtani97 authored Jun 13, 2024
1 parent b30fc9d commit 36b2406
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/nginx-ingress-services/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
selector:
app: webapp
{{- end }}
{{- if not .Values.service.s3.externallyCreated }}
{{- if .Values.service.useFakeS3 }}
---
apiVersion: v1
kind: Service
Expand Down
17 changes: 8 additions & 9 deletions charts/nginx-ingress-services/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ service:
s3:
externalPort: 9000
serviceName: fake-aws-s3
externallyCreated: false # See note below
useFakeS3: true # See note below
teamSettings:
externalPort: 8080
accountPages:
Expand Down Expand Up @@ -142,14 +142,13 @@ config:
#
# For Services:
# service:
# s3:
# externallyCreated: true
# ^ externallyCreated might be useful if S3 access is provided by
# an external service such as `minio-external`: in such cases
# we do not want to create yet another service here but rather
# use that service instead in the ingress
# serviceName: minio-external

# useFakeS3: true
# ^ useFakeS3 should be enabled if S3 access is to be
# provided by fake-aws-s3, inside of the kubernetes cluster.
# when it is something outside of the cluster (like minio-external),
# we should leave this setting off. this setting creates a
# fake-aws-s3 service inside of the cluster, which should be
# what is referred to in the brig configuration.
# Configure CSP headers directly in the ingress.
#
# This is only suggested / needed in setups with multiple backend domains
Expand Down

0 comments on commit 36b2406

Please sign in to comment.