Skip to content

Commit b1d5bc4

Browse files
author
Your Name
committed
set secretRef to null by default
1 parent 41bbe8b commit b1d5bc4

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ ctfd:
197197
| ctfd.uploadprovider.s3.access_key_id | string | `""` | AWS S3 bucket secret key id |
198198
| ctfd.uploadprovider.s3.bucket | string | `""` | AWS S3 bucket name |
199199
| ctfd.uploadprovider.s3.endpoint_url | string | `""` | AWS S3 bucket region |
200-
| ctfd.uploadprovider.s3.secretRef | object | `{"idKey":"AWS_ACCESS_KEY_ID","name":null,"secretKey":"AWS_SECRET_ACCESS_KEY"}` | External Secrets S3 Credentials |
200+
| ctfd.uploadprovider.s3.secretRef | object | `{}` | External Secrets S3 Credentials |
201201
| ctfd.uploadprovider.s3.secret_access_key | string | `""` | AWS S3 bucket access key |
202202
| ctfd.volumeMounts | list | `[]` | CTFd volumeMounts |
203203
| ctfd.volumes | list | `[]` | CTFd volumes |
@@ -207,7 +207,7 @@ ctfd:
207207
| mariadb-galera.db.user | string | `"ctfd"` | ctfd database user |
208208
| mariadb-galera.enabled | bool | `true` | Deploys bitnami's mariadb-galera (set to false if you want to use an external database) |
209209
| mariadb-galera.external | object | ignored | External database connection details. Takes effect if `mariadb.enabled` is set to false |
210-
| mariadb-galera.external.secretRef | object | `{"databaseUrlKey":"DATABASE_URL","name":null}` | External Secrets DB Credentials |
210+
| mariadb-galera.external.secretRef | object | `{}` | External Secrets DB Credentials |
211211
| mariadb-galera.extraFlags | string | Check `values.yaml`. Used by official CTFd `docker-compose.yml` | MariaDB primary entrypoint extra flags |
212212
| mariadb-galera.galera | object | `{"mariabackup":{"password":"ctfd"}}` | backup user (This is required by the subchart to do helm upgrades) |
213213
| mariadb-galera.galera.mariabackup.password | string | `"ctfd"` | backup user (This is required by the subchart to do helm upgrades) |

values.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ ctfd:
5656
uploadprovider:
5757
s3:
5858
# -- External Secrets S3 Credentials
59-
secretRef:
60-
name: null
61-
secretKey: AWS_SECRET_ACCESS_KEY
62-
idKey: AWS_ACCESS_KEY_ID
59+
secretRef: {}
60+
# name: s3-secret-name
61+
# secretKey: AWS_SECRET_ACCESS_KEY
62+
# idKey: AWS_ACCESS_KEY_ID
6363
# -- AWS S3 bucket name
6464
bucket: "" # external bucket (you should disable Minio. See below)
6565
# -- AWS S3 bucket region
@@ -226,9 +226,9 @@ mariadb-galera:
226226
port: 3306
227227
host: external-mariadb-host
228228
# -- External Secrets DB Credentials
229-
secretRef:
230-
name: null
231-
databaseUrlKey: DATABASE_URL
229+
secretRef: {}
230+
# name: db-secret-name
231+
# databaseUrlKey: DATABASE_URL
232232
username: ""
233233
password: ""
234234
database: ""

0 commit comments

Comments
 (0)