remove oauthproxy from hello-world
This commit is contained in:
@@ -82,7 +82,7 @@ apps:
|
||||
namespace: nextcloud
|
||||
|
||||
hello_world:
|
||||
enabled: false
|
||||
enabled: true
|
||||
namespace: default
|
||||
state: present
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: hello-world
|
||||
replicas: 3
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
||||
@@ -20,6 +20,16 @@ spec:
|
||||
name: hello-world
|
||||
port:
|
||||
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
|
||||
- secretName: xai-corp-production-tls
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
definition: "{{ lookup('file', item) | from_yaml }}"
|
||||
loop:
|
||||
- hello-world/configmap.yaml
|
||||
# - hello-world/ingress.yaml
|
||||
- hello-world/ingress.yaml
|
||||
- hello-world/service.yaml
|
||||
- hello-world/deployment.yaml
|
||||
become: true
|
||||
@@ -31,7 +31,8 @@
|
||||
- name: Install oauth2-proxy Release
|
||||
local_action:
|
||||
module: kubernetes.core.helm
|
||||
release_state: "{{apps.hello_world.state}}"
|
||||
# release_state: "{{apps.hello_world.state}}"
|
||||
release_state: absent
|
||||
name: oauth2-proxy
|
||||
namespace: "{{apps.hello_world.namespace}}"
|
||||
create_namespace: yes
|
||||
|
||||
Reference in New Issue
Block a user