remove oauthproxy from hello-world

This commit is contained in:
2023-07-30 17:53:17 -04:00
parent a7b60014f5
commit bfd4f6458f
4 changed files with 15 additions and 4 deletions

View File

@@ -82,7 +82,7 @@ apps:
namespace: nextcloud
hello_world:
enabled: false
enabled: true
namespace: default
state: present

View File

@@ -8,7 +8,7 @@ spec:
selector:
matchLabels:
app: hello-world
replicas: 3
replicas: 1
template:
metadata:
labels:

View File

@@ -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

View File

@@ -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