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:
Christoph Dalski 2022-05-05 20:45:35 +02:00 committed by GitHub
parent 392e6211ca
commit d00bf265c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 10 deletions

View File

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

View File

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