|
1 | 1 | # Default values for convoy-migrate. |
2 | 2 | # This is a YAML-formatted file. |
3 | 3 | # Declare variables to be passed into your templates. |
| 4 | +global: |
| 5 | + externalDatabase: |
| 6 | + # -- Enable an external database, This will use postgresql chart, Change values if you use an external database |
| 7 | + enabled: true |
| 8 | + # -- Host for the external database |
| 9 | + host: "postgresql" |
| 10 | + # -- Password for the external database |
| 11 | + postgresPassword: &postgresPassword "postgres" |
| 12 | + # -- Database name for the external database |
| 13 | + database: &postgresDatabase "convoy" |
| 14 | + # -- Password for the external database, ignored in case of secret parameter with non-empty value |
| 15 | + password: &userPassword "postgres" |
| 16 | + # -- If this secret parameter is not empty, password value will be ignored. The password in the secret should be in the 'password' key |
| 17 | + secret: "" |
| 18 | + # -- Username for the external database |
| 19 | + username: &username "postgres" |
| 20 | + # -- Scheme for the external database. This is postgres by default |
| 21 | + scheme: "postgres" |
| 22 | + # -- Query params for the external database |
| 23 | + options: "sslmode=disable&connect_timeout=30" |
| 24 | + # -- Port for the external database |
| 25 | + port: 5432 |
| 26 | + |
| 27 | + nativeRedis: |
| 28 | + # -- Enable redis, This will use redis chart, Disable if you use an external redis |
| 29 | + enabled: &redisEnabled true |
| 30 | + # -- Host for the redis |
| 31 | + host: "redis-master" |
| 32 | + # -- password for the redis, ignored in case of secret parameter with non-empty value |
| 33 | + password: &redisPassword "convoy" |
| 34 | + # -- If this secret parameter is not empty, password value will be ignored. The password in the secret should be in the 'password' key |
| 35 | + secret: "" |
| 36 | + # -- Port for the redis |
| 37 | + port: 6379 |
| 38 | + |
| 39 | + externalRedis: |
| 40 | + # -- Enable external redis, Enable this if you use an external redis and disable Native redis |
| 41 | + enabled: false |
| 42 | + # -- redis cluster addresses, if set the other values won't be used |
| 43 | + addresses: "" |
| 44 | + # -- Host for the external redis |
| 45 | + host: "" |
| 46 | + # -- Scheme for the external redis. This can be redis, rediss, redis-socket or redis-sentinel |
| 47 | + scheme: "" |
| 48 | + # -- username for the external redis. |
| 49 | + username: "" |
| 50 | + # -- password for the external redis, ignored in case of secret parameter with non-empty value |
| 51 | + password: "" |
| 52 | + # -- If this secret parameter is not empty, password value will be ignored. The password in the secret should be in the 'password' key |
| 53 | + secret: "" |
| 54 | + # -- Database name for the external redis. |
| 55 | + database: "" |
| 56 | + # -- Port for the external redis |
| 57 | + port: "" |
4 | 58 |
|
5 | 59 | app: |
6 | 60 | replicaCount: 1 |
@@ -29,3 +83,16 @@ tolerations: [] |
29 | 83 | affinity: {} |
30 | 84 |
|
31 | 85 | jobAnnotations: {} |
| 86 | + |
| 87 | +# containerSecurityContext holds container level security attributes. |
| 88 | +containerSecurityContext: |
| 89 | + runAsNonRoot: true |
| 90 | + runAsUser: 1000 |
| 91 | + allowPrivilegeEscalation: false |
| 92 | + privileged: false |
| 93 | + readOnlyRootFilesystem: true |
| 94 | + seccompProfile: |
| 95 | + type: RuntimeDefault |
| 96 | + capabilities: |
| 97 | + drop: |
| 98 | + - ALL |
0 commit comments