Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Commit

Permalink
🔒 Add admin ingress.
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Hatton committed Jan 16, 2018
1 parent 84089c0 commit a1befc4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions helm/methode-article-mapper/templates/admin-ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{.Values.service.name}}-admin-ingress
annotations:
# type of authentication
ingress.kubernetes.io/auth-type: basic
# name of the secret that contains the user/password definitions
ingress.kubernetes.io/auth-secret: basic-auth
# message to display with an appropriate context why the authentication is required
ingress.kubernetes.io/auth-realm: "Authentication Required"
ingress.kubernetes.io/rewrite-target: /

spec:
rules:
- host: "*.ft.com"
http:
paths:
- path: /__{{.Values.service.name}}/
backend:
serviceName: {{.Values.service.name}}
servicePort: 8080

0 comments on commit a1befc4

Please sign in to comment.