Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 861363a

Browse files
committed
Only set the port if explicitly set
1 parent 386643d commit 861363a

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

operator/templates/manager/manager.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,10 @@ spec:
5656
value: {{ .Values.s3.endpoint | quote }}
5757
- name: S3_BUCKET
5858
value: {{ .Values.s3.bucket }}
59+
{{- if .Values.s3.port }}
5960
- name: S3_PORT
60-
value: '443'
61+
value: {{ .Values.s3.port }}
62+
{{- end }}
6163
- name: S3_ACCESS_KEY
6264
valueFrom:
6365
secretKeyRef:

operator/values.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,21 @@ lurcher:
1717
digest: "sha256:0e9f18f85809fb8c042543657d340949db14e81fc727bf9fab4421befd317850"
1818
pullPolicy: IfNotPresent
1919

20+
minio:
21+
enabled: true
22+
defaultBucket:
23+
enabled: true
24+
name: "securecodebox"
25+
26+
# Config for external s3 systems
27+
# enable this and disable minio if you want to directly connect agains AWS S3, Google Cloud Storage, DigitalOcean Spaces etc.
2028
s3:
2129
enabled: false
2230
endpoint: "fra1.digitaloceanspaces.com"
2331
bucket: "my-bucket"
32+
# Implicit 443. You probably only need to change this when the system uses a non default port
33+
port: undefined
2434
# Name to a k8s secret with 'accesskey' and 'secretkey' as attributes in the same namespace as this release
2535
# Example creation via kubectl:
2636
# kubectl create secret generic my-secret --from-literal=accessKey="******" --from-literal=secretKey="******"
2737
keySecret: my-secret
28-
29-
minio:
30-
enabled: true
31-
defaultBucket:
32-
enabled: true
33-
name: "securecodebox"

0 commit comments

Comments
 (0)