Skip to content

Commit 1779c5b

Browse files
committed
wip
1 parent 4fc6348 commit 1779c5b

File tree

3 files changed

+17
-5
lines changed

3 files changed

+17
-5
lines changed

charts/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,7 @@ helmfile-delete: .check-helmfile-installed helmfile.yaml ## Deletes the helmfile
6767

6868
.PHONY: up
6969
up: helmfile-apply ## Start the stack
70+
71+
.PHONY: leave
72+
leave: ## Leaves kind cluster
73+
kind delete clusters kind

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ extraObjects:
2222
"helm.sh/hook": post-install,post-upgrade
2323
"helm.sh/hook-weight": "1"
2424
spec:
25+
secretTemplate:
26+
annotations:
27+
reflector.v1.k8s.emberstack.com/reflection-allowed: "true"
28+
reflector.v1.k8s.emberstack.com/reflection-allowed-namespaces: "" # Control destination namespaces
29+
reflector.v1.k8s.emberstack.com/reflection-auto-enabled: "true" # Auto create reflection for matching namespaces
30+
reflector.v1.k8s.emberstack.com/reflection-auto-namespaces: "" # Control auto-reflection namespaces
2531
isCA: true
2632
commonName: local-ca
2733
subject:

charts/traefik/values.insecure.yaml.gotmpl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ extraObjects:
33
kind: Service
44
metadata:
55
name: traefik-api
6+
namespace: traefik
67
spec:
78
type: ClusterIP
89
selector:
910
app.kubernetes.io/name: traefik
10-
app.kubernetes.io/instance: traefik-default
11+
app.kubernetes.io/instance: traefik-traefik
1112
ports:
1213
- port: 8080
1314
name: traefik
@@ -34,13 +35,14 @@ extraObjects:
3435
name: traefik-dashboard
3536
namespace: traefik
3637
annotations:
37-
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure # allow http(s) for local deployment
38+
traefik.ingress.kubernetes.io/router.entrypoints: websecure # allow http(s) for local deployment
3839
traefik.ingress.kubernetes.io/router.middlewares: traefik-traefik-basic-auth@kubernetescrd # namespace + middleware name
40+
cert-manager.io/cluster-issuer: "cert-issuer"
3941
spec:
4042
tls:
41-
- hosts:
42-
- {{ requiredEnv "K8S_MONITORING_FQDN" }}
43-
secretName: monitoring-tls
43+
- hosts:
44+
- {{ requiredEnv "K8S_MONITORING_FQDN" }}
45+
secretName: monitoring-tls
4446
rules:
4547
- host: {{ requiredEnv "K8S_MONITORING_FQDN" }}
4648
http:

0 commit comments

Comments
 (0)