Skip to content

Commit 569f416

Browse files
committed
make accounts configurable
1 parent 0ce8ada commit 569f416

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

helm/wrongsecrets-ctf-party/templates/wrongsecrets-balancer/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ spec:
5555
- name: K8S_ENV
5656
value: {{ .Values.balancer.env.K8S_ENV }}
5757
- name: IRSA_ROLE
58-
value: "arn:aws:iam::233483431651:role/wrongsecrets-secret-manager" #REPLACE WITH THE ACTUAL AWS ROLE IF IN AWS MODE
58+
value: {{ .Values.balancer.env.IRSA_ROLE }} #REPLACE WITH THE ACTUAL AWS ROLE IF IN AWS MODE
5959
- name: COOKIEPARSER_SECRET
6060
valueFrom:
6161
secretKeyRef:

helm/wrongsecrets-ctf-party/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ balancer:
6969
REACT_APP_S3_BUCKET_URL : 's3://funstuff'
7070
K8S_ENV: 'k8s' #oraws
7171
REACT_APP_ACCESS_PASSWORD: '' #DEFAULT NO PASSWORD, PLAYING THIS IN PUBLIC? PUT A FANCY STRING HERE, BUT BE GENTLE: USERS NEED TO BE ABLE TO COPY THAT STUFF...
72+
IRSA_ROLE: arn:aws:iam::233483431651:role/wrongsecrets-secret-manager
7273
metrics:
7374
# -- enables prometheus metrics for the balancer. If set to true you should change the prometheus-scraper password
7475
enabled: true

0 commit comments

Comments
 (0)