Skip to content

Commit 7fe9864

Browse files
committed
Change suggestions @YuryHrytsuk
1 parent 9d24625 commit 7fe9864

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

charts/adminer/values.yaml.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ingress:
4949
enabled: true
5050
className: ""
5151
annotations:
52-
namespace: adminer
52+
namespace: {{ .Release.Namespace }}
5353
cert-manager.io/cluster-issuer: "cert-issuer"
5454
traefik.ingress.kubernetes.io/router.entrypoints: websecure
5555
tls:

charts/cert-manager/values.selfsigned.yaml.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extraObjects:
2525
secretTemplate:
2626
annotations:
2727
reflector.v1.k8s.emberstack.com/reflection-allowed: "true"
28-
reflector.v1.k8s.emberstack.com/reflection-allowed-namespaces: "" # Control destination namespaces
28+
reflector.v1.k8s.emberstack.com/reflection-allowed-namespaces: "" # Control destination namespaces: emptystring means all
2929
reflector.v1.k8s.emberstack.com/reflection-auto-enabled: "true" # Auto create reflection for matching namespaces
3030
reflector.v1.k8s.emberstack.com/reflection-auto-namespaces: "" # Control auto-reflection namespaces
3131
isCA: true

charts/traefik/values.insecure.yaml.gotmpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ extraObjects:
33
kind: Service
44
metadata:
55
name: traefik-api
6-
namespace: traefik
6+
namespace: {{.Release.Namespace}}
77
spec:
88
type: ClusterIP
99
selector:
1010
app.kubernetes.io/name: traefik
11-
app.kubernetes.io/instance: traefik-traefik
11+
app.kubernetes.io/instance: {{.Release.Namespace}}-traefik
1212
ports:
1313
- port: 8080
1414
name: traefik
@@ -18,7 +18,7 @@ extraObjects:
1818
kind: Secret
1919
metadata:
2020
name: traefik-authorized-users
21-
namespace: traefik
21+
namespace: {{.Release.Namespace}}
2222
data:
2323
users: |2
2424
{{ requiredEnv "TRAEFIK_K8S_AUTHORIZED_USER" }}
@@ -33,10 +33,10 @@ extraObjects:
3333
kind: Ingress
3434
metadata:
3535
name: traefik-dashboard
36-
namespace: traefik
36+
namespace: {{.Release.Namespace}}
3737
annotations:
3838
traefik.ingress.kubernetes.io/router.entrypoints: websecure # allow http(s) for local deployment
39-
traefik.ingress.kubernetes.io/router.middlewares: traefik-traefik-basic-auth@kubernetescrd # namespace + middleware name
39+
traefik.ingress.kubernetes.io/router.middlewares: {{.Release.Namespace}}-traefik-basic-auth@kubernetescrd # namespace + middleware name
4040
cert-manager.io/cluster-issuer: "cert-issuer"
4141
spec:
4242
tls:

charts/traefik/values.secure.yaml.gotmpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ extraObjects:
1010
kind: Service
1111
metadata:
1212
name: traefik-api
13-
namespace: traefik
13+
namespace: {{.Release.Namespace}}
1414
spec:
1515
type: ClusterIP
1616
selector:
1717
app.kubernetes.io/name: traefik
18-
app.kubernetes.io/instance: traefik-traefik
18+
app.kubernetes.io/instance: {{.Release.Namespace}}-traefik
1919
ports:
2020
- port: 8080
2121
name: traefik
@@ -26,7 +26,7 @@ extraObjects:
2626
kind: Secret
2727
metadata:
2828
name: traefik-authorized-users
29-
namespace: traefik
29+
namespace: {{.Release.Namespace}}
3030
data:
3131
users: |2
3232
{{ requiredEnv "TRAEFIK_K8S_AUTHORIZED_USER" }}
@@ -54,10 +54,10 @@ extraObjects:
5454
kind: Ingress
5555
metadata:
5656
name: traefik-dashboard
57-
namespace: traefik
57+
namespace: {{.Release.Namespace}}
5858
annotations:
5959
traefik.ingress.kubernetes.io/router.entrypoints: websecure
60-
traefik.ingress.kubernetes.io/router.middlewares: traefik-traefik-basic-auth@kubernetescrd # namespace + middleware name
60+
traefik.ingress.kubernetes.io/router.middlewares: {{.Release.Namespace}}-traefik-basic-auth@kubernetescrd # namespace + middleware name
6161
cert-manager.io/cluster-issuer: "cert-issuer"
6262
spec:
6363
tls:

charts/traefik/values.webinternal.yaml.gotmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ ports:
99
http3:
1010
enabled: false
1111
middlewares:
12-
- traefik-internal-ipallowlist@kubernetescrd
12+
- {{.Release.Namespace}}-internal-ipallowlist@kubernetescrd

0 commit comments

Comments
 (0)