Add configurable namespace support for oauth2-proxy.
Showing
2 changed files
with
6 additions
and
5 deletions
... | @@ -4,7 +4,7 @@ bases: | ... | @@ -4,7 +4,7 @@ bases: |
4 | --- | 4 | --- |
5 | releases: | 5 | releases: |
6 | - name: oauth2-proxy-{{ $.Values.oauth2_proxy.name }} | 6 | - name: oauth2-proxy-{{ $.Values.oauth2_proxy.name }} |
7 | namespace: oauth2-proxy | 7 | namespace: {{ $.Values.oauth2_proxy.namespace }} |
8 | chart: charts/oauth2-proxy | 8 | chart: charts/oauth2-proxy |
9 | condition: oauth2_proxy.enabled | 9 | condition: oauth2_proxy.enabled |
10 | values: | 10 | values: |
... | @@ -15,7 +15,7 @@ releases: | ... | @@ -15,7 +15,7 @@ releases: |
15 | version: v1 | 15 | version: v1 |
16 | group: apps | 16 | group: apps |
17 | kind: Deployment | 17 | kind: Deployment |
18 | namespace: oauth2-proxy | 18 | namespace: {{ $.Values.oauth2_proxy.namespace }} |
19 | name: oauth2-proxy-{{ $.Values.oauth2_proxy.name }} | 19 | name: oauth2-proxy-{{ $.Values.oauth2_proxy.name }} |
20 | patch: | 20 | patch: |
21 | - op: replace | 21 | - op: replace |
... | @@ -30,7 +30,7 @@ releases: | ... | @@ -30,7 +30,7 @@ releases: |
30 | - target: | 30 | - target: |
31 | version: v1 | 31 | version: v1 |
32 | kind: Service | 32 | kind: Service |
33 | namespace: oauth2-proxy | 33 | namespace: {{ $.Values.oauth2_proxy.namespace }} |
34 | name: oauth2-proxy-{{ $.Values.oauth2_proxy.name }} | 34 | name: oauth2-proxy-{{ $.Values.oauth2_proxy.name }} |
35 | patch: | 35 | patch: |
36 | - op: replace | 36 | - op: replace |
... | @@ -40,14 +40,14 @@ releases: | ... | @@ -40,14 +40,14 @@ releases: |
40 | - apiVersion: v1 | 40 | - apiVersion: v1 |
41 | kind: ConfigMap | 41 | kind: ConfigMap |
42 | metadata: | 42 | metadata: |
43 | namespace: oauth2-proxy | 43 | namespace: {{ $.Values.oauth2_proxy.namespace }} |
44 | name: oauth2-proxy-{{ $.Values.oauth2_proxy.name }} | 44 | name: oauth2-proxy-{{ $.Values.oauth2_proxy.name }} |
45 | data: | 45 | data: |
46 | {{ $.Values.oauth2_proxy.config | toYaml | nindent 12 }} | 46 | {{ $.Values.oauth2_proxy.config | toYaml | nindent 12 }} |
47 | - apiVersion: v1 | 47 | - apiVersion: v1 |
48 | kind: Secret | 48 | kind: Secret |
49 | metadata: | 49 | metadata: |
50 | namespace: oauth2-proxy | 50 | namespace: {{ $.Values.oauth2_proxy.namespace }} |
51 | name: oauth2-proxy-{{ $.Values.oauth2_proxy.name }} | 51 | name: oauth2-proxy-{{ $.Values.oauth2_proxy.name }} |
52 | data: | 52 | data: |
53 | {{ $.Values.oauth2_proxy.secret | toYaml | nindent 12 }} | 53 | {{ $.Values.oauth2_proxy.secret | toYaml | nindent 12 }} | ... | ... |
-
Please register or sign in to post a comment