Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
k8s-helmfiles
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
4cb6ddca
authored
2022-09-08 18:36:37 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add configurable namespace support for oauth2-proxy.
1 parent
ca571919
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
oauth2-proxy/environments/default-values.yaml
oauth2-proxy/helmfile.yaml
oauth2-proxy/environments/default-values.yaml
View file @
4cb6ddc
oauth2_proxy
:
enabled
:
true
namespace
:
default
name
:
"
"
config
:
OAUTH2_PROXY_UPSTREAMS
:
"
"
...
...
oauth2-proxy/helmfile.yaml
View file @
4cb6ddc
...
...
@@ -4,7 +4,7 @@ bases:
---
releases
:
-
name
:
oauth2-proxy-{{ $.Values.oauth2_proxy.name }}
namespace
:
oauth2-proxy
namespace
:
{{
$.Values.oauth2_proxy.namespace
}}
chart
:
charts/oauth2-proxy
condition
:
oauth2_proxy.enabled
values
:
...
...
@@ -15,7 +15,7 @@ releases:
version
:
v1
group
:
apps
kind
:
Deployment
namespace
:
oauth2-proxy
namespace
:
{{
$.Values.oauth2_proxy.namespace
}}
name
:
oauth2-proxy-{{ $.Values.oauth2_proxy.name }}
patch
:
-
op
:
replace
...
...
@@ -30,7 +30,7 @@ releases:
-
target
:
version
:
v1
kind
:
Service
namespace
:
oauth2-proxy
namespace
:
{{
$.Values.oauth2_proxy.namespace
}}
name
:
oauth2-proxy-{{ $.Values.oauth2_proxy.name }}
patch
:
-
op
:
replace
...
...
@@ -40,14 +40,14 @@ releases:
-
apiVersion
:
v1
kind
:
ConfigMap
metadata
:
namespace
:
oauth2-proxy
namespace
:
{{
$.Values.oauth2_proxy.namespace
}}
name
:
oauth2-proxy-{{ $.Values.oauth2_proxy.name }}
data
:
{{
$.Values.oauth2_proxy.config | toYaml | nindent 12
}}
-
apiVersion
:
v1
kind
:
Secret
metadata
:
namespace
:
oauth2-proxy
namespace
:
{{
$.Values.oauth2_proxy.namespace
}}
name
:
oauth2-proxy-{{ $.Values.oauth2_proxy.name }}
data
:
{{
$.Values.oauth2_proxy.secret | toYaml | nindent 12
}}
...
...
Please
register
or
sign in
to post a comment