We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b8e11 commit 878ee14Copy full SHA for 878ee14
oauth2-proxy/oauth2-proxy.libsonnet
@@ -25,7 +25,7 @@ k {
25
}),
26
27
local container = $.core.v1.container,
28
- local envFrom = container.envFromType,
+ local envFrom = $.core.v1.envFromSource,
29
30
oauth2_proxy_container::
31
container.new('oauth2-proxy', $._images.oauth2_proxy) +
@@ -38,8 +38,7 @@ k {
38
'-pass-basic-auth=%s' % $._config.oauth_pass_basic_auth,
39
]) +
40
container.withEnvFrom(
41
- envFrom.new() +
42
- envFrom.mixin.secretRef.withName('oauth2-proxy'),
+ envFrom.secretRef.withName('oauth2-proxy'),
43
),
44
45
local deployment = $.apps.v1.deployment,
0 commit comments