forked from infra/ansible
forgejo: debugging oauth-proxy
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
parent
0fdaf5ff7d
commit
743f69c8a8
2 changed files with 5 additions and 3 deletions
|
|
@ -68,9 +68,9 @@
|
|||
- name: Deploy Forgejo via Helm
|
||||
ansible.builtin.include_tasks: call-helm.yaml
|
||||
|
||||
#- name: Point forgejo-http Service at oauth-proxy sidecar (staging)
|
||||
# ansible.builtin.include_tasks: patch-forgejo-http-service-oauth-proxy.yaml
|
||||
# when: env == "staging"
|
||||
- name: Point forgejo-http Service at oauth-proxy sidecar (staging)
|
||||
ansible.builtin.include_tasks: patch-forgejo-http-service-oauth-proxy.yaml
|
||||
when: env == "staging"
|
||||
|
||||
- name: Load forgejo runners
|
||||
ansible.builtin.include_tasks: load-forgejo-runners.yaml
|
||||
|
|
|
|||
|
|
@ -347,6 +347,8 @@ extraContainers:
|
|||
containerPort: {{ forgejo_metrics_oauth_proxy_port }}
|
||||
args:
|
||||
- --http-address=:{{ forgejo_metrics_oauth_proxy_port }}
|
||||
# Disable default :443 listener; edge-terminated Route provides TLS.
|
||||
- --https-address=
|
||||
- --provider=openshift
|
||||
- --openshift-service-account=forgejo-http
|
||||
- --upstream=http://127.0.0.1:3000/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue