You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`alphaConfig.serverConfigData` | Arbitrary configuration data to append to the server section | `{}`
108
108
`alphaConfig.metricsConfigData` | Arbitrary configuration data to append to the metrics section | `{}`
109
109
`alphaConfig.configData` | Arbitrary configuration data to append | `{}`
110
-
`alphaConfig.existingConfig` | existing Kubernetes configmap to use for the alpha configuration file. See [config template](https://github.com/oauth2-proxy/manifests/blob/master/helm/oauth2-proxy/templates/configmap-alpha.yaml) for the required values | `nil`
110
+
`alphaConfig.existingConfig` | existing Kubernetes configmap to use for the alpha configuration file. See [config template](https://github.com/oauth2-proxy/manifests/blob/master/helm/oauth2-proxy/templates/configmap-alpha.yaml) for the required values | `nil`
111
111
`customLabels` | Custom labels to add into metadata | `{}` |
112
112
`config.google.adminEmail` | user impersonated by the google service account | `""`
113
113
`config.google.serviceAccountJson` | google service account json contents | `""`
`securityContext.runAsNonRoot` | make sure that the container runs as a non-root user | `true`
169
169
`proxyVarsAsSecrets` | choose between environment values or secrets for setting up OAUTH2_PROXY variables. When set to false, remember to add the variables OAUTH2_PROXY_CLIENT_ID, OAUTH2_PROXY_CLIENT_SECRET, OAUTH2_PROXY_COOKIE_SECRET in extraEnv | `true`
170
170
`sessionStorage.type` | Session storage type which can be one of the following: cookie or redis | `cookie`
171
-
`sessionStorage.redis.existingSecret` | existing Kubernetes secret to use for redis-password and redis-sentinel-password | `""`
171
+
`sessionStorage.redis.existingSecret` | Name of the Kubernetes secret containing the redis & redissentinelpassword values (see also `sessionStorage.redis.passwordKey`) | `""`
172
172
`sessionStorage.redis.password` | Redis password. Applicable for all Redis configurations. Taken from redis subchart secret if not set. sessionStorage.redis.existingSecret takes precedence | `nil`
173
+
`sessionStorage.redis.passwordKey` | Key of the Kubernetes secret data containing the redis password value | `redis-password`
173
174
`sessionStorage.redis.clientType` | Allows the user to select which type of client will be used for redis instance. Possible options are: `sentinel`, `cluster` or `standalone` | `standalone`
174
-
`sessionStorage.redis.standalone.connectionUrl` | URL of redis standalone server for redis session storage (e.g. redis://HOST[:PORT]). Automatically generated if not set. | `""`
175
-
`sessionStorage.redis.cluster.connectionUrls` | List of Redis cluster connection URLs (e.g. redis://HOST[:PORT]) | `[]`
175
+
`sessionStorage.redis.standalone.connectionUrl` | URL of redis standalone server for redis session storage (e.g. `redis://HOST[:PORT]`). Automatically generated if not set. | `""`
176
+
`sessionStorage.redis.cluster.connectionUrls` | List of Redis cluster connection URLs (e.g. `["redis://127.0.0.1:8000", "redis://127.0.0.1:8000"]`) | `[]`
177
+
`sessionStorage.redis.sentinel.existingSecret` | Name of the Kubernetes secret containing the redis sentinel password value (see also `sessionStorage.redis.sentinel.passwordKey`). Default: `sessionStorage.redis.existingSecret` | `""`
176
178
`sessionStorage.redis.sentinel.password` | Redis sentinel password. Used only for sentinel connection; any redis node passwords need to use `sessionStorage.redis.password` | `nil`
179
+
`sessionStorage.redis.sentinel.passwordKey` | Key of the Kubernetes secret data containing the redis sentinel password value | `redis-sentinel-password`
177
180
`sessionStorage.redis.sentinel.masterName` | Redis sentinel master name | `nil`
178
-
`sessionStorage.redis.sentinel.connectionUrls` | List of Redis sentinel connection URLs (e.g. redis://HOST[:PORT]) | `[]`
181
+
`sessionStorage.redis.sentinel.connectionUrls` | List of Redis sentinel connection URLs (e.g. `["redis://127.0.0.1:8000", "redis://127.0.0.1:8000"]`) | `[]`
179
182
`topologySpreadConstraints` | List of pod topology spread constraints | `[]`
180
183
`redis.enabled` | Enable the redis subchart deployment | `false`
{{- if .Values.sessionStorage.redis.sentinel.password }}
150
+
{{- if or .Values.sessionStorage.redis.sentinel.existingSecret .Values.sessionStorage.redis.existingSecret .Values.sessionStorage.redis.sentinel.password }}
151
151
- name: OAUTH2_PROXY_REDIS_SENTINEL_PASSWORD
152
152
valueFrom:
153
153
secretKeyRef:
154
-
name: {{ if .Values.sessionStorage.redis.existingSecret }} {{ .Values.sessionStorage.redis.existingSecret }}{{ else }} {{ template "oauth2-proxy.fullname" . }}-redis-access{{ end }}
155
-
key: redis-sentinel-password
154
+
{{- if or .Values.sessionStorage.redis.sentinel.existingSecret .Values.sessionStorage.redis.existingSecret }}
Copy file name to clipboardExpand all lines: helm/oauth2-proxy/values.yaml
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -246,24 +246,33 @@ htpasswdFile:
246
246
247
247
# Configure the session storage type, between cookie and redis
248
248
sessionStorage:
249
-
# Can be one of the supported session storage cookie/redis
249
+
# Can be one of the supported session storage cookie|redis
250
250
type: cookie
251
251
redis:
252
-
#Secret name that holds the redis-password and redis-sentinel-password values
252
+
#Name of the Kubernetes secret containing the redis & redissentinelpassword values (see also `sessionStorage.redis.passwordKey`)
253
253
existingSecret: ""
254
+
# Redis password value. Applicable for all Redis configurations. Taken from redis subchart secret if not set. `sessionStorage.redis.existingSecret` takes precedence
254
255
password: ""
255
-
# Can be one of sentinel/cluster/standalone
256
+
# Key of the Kubernetes secret data containing the redis password value
257
+
passwordKey: "redis-password"
258
+
# Can be one of standalone|cluster|sentinel
256
259
clientType: "standalone"
257
260
standalone:
258
-
#If empty and sessionStorage type is redis, will automatically be generated.
261
+
#URL of redis standalone server for redis session storage (e.g. `redis://HOST[:PORT]`). Automatically generated if not set
#List of Redis cluster connection URLs (e.g. `["redis://127.0.0.1:8000", "redis://127.0.0.1:8000"]`)
262
265
connectionUrls: []
263
266
sentinel:
267
+
# Name of the Kubernetes secret containing the redis sentinel password value (see also `sessionStorage.redis.sentinel.passwordKey`). Default: `sessionStorage.redis.existingSecret`
268
+
existingSecret: ""
269
+
# Redis sentinel password. Used only for sentinel connection; any redis node passwords need to use `sessionStorage.redis.password`
264
270
password: ""
271
+
# Key of the Kubernetes secret data containing the redis sentinel password value
0 commit comments