Update ingress apiVersion from extensions/v1beta1 to networking.k8s.io/v1 and change ingress configuration accordingly (#77)
Signed-off-by: Christoph Dalski <chdalski.coding@gmail.com>
This commit is contained in:
parent
392e6211ca
commit
d00bf265c0
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: extensions/v1beta1
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: spire-ingress
|
||||
|
|
@ -15,6 +15,9 @@ spec:
|
|||
http:
|
||||
paths:
|
||||
- path: /.well-known/openid-configuration
|
||||
pathType: Prefix
|
||||
backend:
|
||||
serviceName: spire-oidc
|
||||
servicePort: 443
|
||||
service:
|
||||
name: spire-oidc
|
||||
port:
|
||||
number: 443
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: extensions/v1beta1
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: spire-ingress
|
||||
|
|
@ -6,19 +6,25 @@ metadata:
|
|||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
# TODO: Replace MY_DISCOVERY_DOMAIN with the FQDN of the Discovery Provider that you will configure in the DNS
|
||||
# TODO: Replace MY_DISCOVERY_DOMAIN with the FQDN of the Discovery Provider that you will configure in DNS
|
||||
- MY_DISCOVERY_DOMAIN
|
||||
secretName: oidc-secret
|
||||
rules:
|
||||
# TODO: Replace MY_DISCOVERY_DOMAIN with the FQDN of the Discovery Provider that you will configure in the DNS
|
||||
# TODO: Replace MY_DISCOVERY_DOMAIN with the FQDN of the Discovery Provider that you will configure in DNS
|
||||
- host: MY_DISCOVERY_DOMAIN
|
||||
http:
|
||||
paths:
|
||||
- path: /.well-known/openid-configuration
|
||||
pathType: Prefix
|
||||
backend:
|
||||
serviceName: spire-oidc
|
||||
servicePort: 443
|
||||
service:
|
||||
name: spire-oidc
|
||||
port:
|
||||
number: 443
|
||||
- path: /keys
|
||||
pathType: Prefix
|
||||
backend:
|
||||
serviceName: spire-oidc
|
||||
servicePort: 443
|
||||
service:
|
||||
name: spire-oidc
|
||||
port:
|
||||
number: 443
|
||||
|
|
|
|||
Loading…
Reference in New Issue