Browse Source

added namespace to ingress

pull/2353/head
Janikio 3 years ago
parent
commit
1d2dfe593c
No known key found for this signature in database GPG Key ID: 12FB1516BA8637D0
  1. 2
      k8s/helm_charts2/templates/ingress.yaml

2
k8s/helm_charts2/templates/ingress.yaml

@ -2,6 +2,7 @@ apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress
metadata: metadata:
name: ingress-{{ template "seaweedfs.name" . }}-filer name: ingress-{{ template "seaweedfs.name" . }}-filer
namespace: {{ .Release.Namespace }}
annotations: annotations:
kubernetes.io/ingress.class: "nginx" kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-type: "basic" nginx.ingress.kubernetes.io/auth-type: "basic"
@ -32,6 +33,7 @@ apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress
metadata: metadata:
name: ingress-{{ template "seaweedfs.name" . }}-master name: ingress-{{ template "seaweedfs.name" . }}-master
namespace: {{ .Release.Namespace }}
annotations: annotations:
kubernetes.io/ingress.class: "nginx" kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-type: "basic" nginx.ingress.kubernetes.io/auth-type: "basic"

Loading…
Cancel
Save