Skip to content

Commit

Permalink
fix: use the correct apiVersion for the oauth proxy ingress (#38)
Browse files Browse the repository at this point in the history
Signed-off-by: Georgi Ivanov <[email protected]>

Signed-off-by: Georgi Ivanov <[email protected]>
  • Loading branch information
givanov authored Dec 8, 2022
1 parent 9de9b9f commit f7aaa23
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/05-oauthproxy/00-manifests/06-ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
---
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
kubernetes.io/ingress.class: nginx
name: oauth2-proxy
namespace: {{ .oauthproxy.namespace }}
spec:
ingressClassName: nginx
rules:
- host: oauth2.{{ .global.basedomain }}
http:
paths:
- backend:
serviceName: oauth2-proxy
servicePort: http
service:
name: oauth2-proxy
port:
name: http
path: /
pathType: Prefix
tls:
- hosts:
- oauth2.{{ .global.basedomain }}
Expand Down

0 comments on commit f7aaa23

Please sign in to comment.