Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Commit c3a5542

Browse files
passing flags on the sidecar and adding TCP on the LISTEN_ADDRESS
1 parent 0874085 commit c3a5542

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

resources/deployment.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ spec:
4242
requests:
4343
cpu: 100m
4444
memory: 100Mi
45+
args:
46+
- "--listen-address=$(LISTEN_ADDRESS)"
47+
- "--s3-endpoint=$(S3_ENDPOINT)"
48+
- "--access-key=$(ACCESS_KEY)"
49+
- "--secret-key=$(SECRET_KEY)"
4550
envFrom:
4651
- secretRef:
4752
name: objectstorage-provisioner

resources/secret.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
app.kubernetes.io/name: container-object-storage-interface-provisioner
1212
type: Opaque
1313
stringData:
14-
LISTEN_ADDRESS: 0.0.0.0:9000
14+
LISTEN_ADDRESS: tcp://0.0.0.0:9000
1515
data:
1616
# set to space
1717
S3_ENDPOINT: IA==

0 commit comments

Comments
 (0)