remove oauthproxy from hello-world
This commit is contained in:
@@ -82,7 +82,7 @@ apps:
|
|||||||
namespace: nextcloud
|
namespace: nextcloud
|
||||||
|
|
||||||
hello_world:
|
hello_world:
|
||||||
enabled: false
|
enabled: true
|
||||||
namespace: default
|
namespace: default
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: hello-world
|
app: hello-world
|
||||||
replicas: 3
|
replicas: 1
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@@ -20,6 +20,16 @@ spec:
|
|||||||
name: hello-world
|
name: hello-world
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
- host: xai-corp.net
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: hello-world
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
|
||||||
tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
|
tls: # < placing a host in the TLS config will determine what ends up in the cert's subjectAltNames
|
||||||
- secretName: xai-corp-production-tls
|
- secretName: xai-corp-production-tls
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
definition: "{{ lookup('file', item) | from_yaml }}"
|
definition: "{{ lookup('file', item) | from_yaml }}"
|
||||||
loop:
|
loop:
|
||||||
- hello-world/configmap.yaml
|
- hello-world/configmap.yaml
|
||||||
# - hello-world/ingress.yaml
|
- hello-world/ingress.yaml
|
||||||
- hello-world/service.yaml
|
- hello-world/service.yaml
|
||||||
- hello-world/deployment.yaml
|
- hello-world/deployment.yaml
|
||||||
become: true
|
become: true
|
||||||
@@ -31,7 +31,8 @@
|
|||||||
- name: Install oauth2-proxy Release
|
- name: Install oauth2-proxy Release
|
||||||
local_action:
|
local_action:
|
||||||
module: kubernetes.core.helm
|
module: kubernetes.core.helm
|
||||||
release_state: "{{apps.hello_world.state}}"
|
# release_state: "{{apps.hello_world.state}}"
|
||||||
|
release_state: absent
|
||||||
name: oauth2-proxy
|
name: oauth2-proxy
|
||||||
namespace: "{{apps.hello_world.namespace}}"
|
namespace: "{{apps.hello_world.namespace}}"
|
||||||
create_namespace: yes
|
create_namespace: yes
|
||||||
|
|||||||
Reference in New Issue
Block a user