This commit is contained in:
parent
3467a8fb01
commit
b5bcfff108
3 changed files with 71 additions and 15 deletions
|
@ -68,10 +68,8 @@ metadata:
|
|||
name: example-ingress
|
||||
namespace: example
|
||||
#annotations:
|
||||
# Use for Basic auth:
|
||||
#nginx.org/basic-auth-secret: example-basic-auth-secret
|
||||
# Use the following annotation if the backend only speaks HTTPS (fill out the service name accordingly):
|
||||
#nginx.org/ssl-services: "example-service"
|
||||
# Use for Basic auth:
|
||||
# traefik.ingress.kubernetes.io/router.middlewares: default-basic-auth@kubernetescrd
|
||||
spec:
|
||||
rules:
|
||||
- host: "example.apps.yolokube.de"
|
||||
|
@ -84,14 +82,3 @@ spec:
|
|||
name: example-service
|
||||
port:
|
||||
number: 80
|
||||
# Use for Basic auth:
|
||||
#---
|
||||
#kind: Secret
|
||||
#metadata:
|
||||
# name: example-basic-auth-secret
|
||||
# namespace: example
|
||||
#apiVersion: v1
|
||||
#type: nginx.org/htpasswd
|
||||
#stringData:
|
||||
# htpasswd: |
|
||||
#test:$apr1$2XMU6EMv$f1MJ7zxqTS079YsB7Z.CX/
|
Loading…
Add table
Add a link
Reference in a new issue