File tree Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Expand file tree Collapse file tree 5 files changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,9 @@ helmfile-lint: .check-helmfile-installed helmfile.yaml ## Lints the helmfile
2727.helmfile-local-post-install : # # Post install steps for local helmfile deployment
2828 @$(MAKE ) -s configure-local-hosts
2929 @echo " " ;
30- @echo " Cluster has been deployed locally: http ://$( MACHINE_FQDN) " ;
30+ @echo " Cluster has been deployed locally: https ://$( MACHINE_FQDN) " ;
3131 @echo " For secure connections self-signed certificates are used." ;
32- @echo "
32+ @echo " " ;
3333
3434.PHONY : helmfile-apply
3535helmfile-apply : .check-helmfile-installed helmfile.yaml # # Applies the helmfile configuration
@@ -64,3 +64,6 @@ helmfile-diff: .check-helmfile-installed helmfile.yaml ## Shows the differences
6464helmfile-delete : .check-helmfile-installed helmfile.yaml # # Deletes the helmfile configuration
6565 @set -a; source $(REPO_CONFIG_LOCATION ) ; set +a; \
6666 helmfile -f $(REPO_BASE_DIR ) /charts/helmfile.yaml delete
67+
68+ .PHONY : up
69+ up : helmfile-apply # # Start the stack
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ ingress:
4949 enabled: true
5050 className: ""
5151 annotations:
52+ namespace: adminer
5253 cert-manager.io/cluster-issuer: "cert-issuer"
5354 traefik.ingress.kubernetes.io/router.entrypoints: websecure
5455 tls:
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ extraObjects:
1717 kind: Secret
1818 metadata:
1919 name: traefik-authorized-users
20- namespace: default
20+ namespace: traefik
2121 data:
2222 users: |2
2323 {{ requiredEnv "TRAEFIK_K8S_AUTHORIZED_USER" }}
@@ -32,16 +32,17 @@ extraObjects:
3232 kind: Ingress
3333 metadata:
3434 name: traefik-dashboard
35+ namespace: traefik
3536 annotations:
3637 traefik.ingress.kubernetes.io/router.entrypoints: web,websecure # allow http(s) for local deployment
37- traefik.ingress.kubernetes.io/router.middlewares: default -traefik-basic-auth@kubernetescrd # namespace + middleware name
38+ traefik.ingress.kubernetes.io/router.middlewares: traefik -traefik-basic-auth@kubernetescrd # namespace + middleware name
3839 spec:
3940 tls:
4041 - hosts:
41- - k8s.monitoring. {{ requiredEnv "MACHINE_FQDN " }}
42+ - {{ requiredEnv "K8S_MONITORING_FQDN " }}
4243 secretName: monitoring-tls
4344 rules:
44- - host: k8s.monitoring. {{ requiredEnv "MACHINE_FQDN " }}
45+ - host: {{ requiredEnv "K8S_MONITORING_FQDN " }}
4546 http:
4647 paths:
4748 - path: /dashboard
@@ -51,7 +52,7 @@ extraObjects:
5152 name: traefik-api
5253 port:
5354 name: traefik
54- - host: k8s.monitoring. {{ requiredEnv "MACHINE_FQDN " }}
55+ - host: {{ requiredEnv "K8S_MONITORING_FQDN " }}
5556 http:
5657 paths:
5758 - path: /api
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ extraObjects:
2525 kind: Secret
2626 metadata:
2727 name: traefik-authorized-users
28- namespace: default
28+ namespace: traefik
2929 data:
3030 users: |2
3131 {{ requiredEnv "TRAEFIK_K8S_AUTHORIZED_USER" }}
@@ -53,9 +53,10 @@ extraObjects:
5353 kind: Ingress
5454 metadata:
5555 name: traefik-dashboard
56+ namesoace: traefik
5657 annotations:
5758 traefik.ingress.kubernetes.io/router.entrypoints: websecure
58- traefik.ingress.kubernetes.io/router.middlewares: default -traefik-basic-auth@kubernetescrd
59+ traefik.ingress.kubernetes.io/router.middlewares: traefik -traefik-basic-auth@kubernetescrd # namespace + middleware name
5960 spec:
6061 tls:
6162 - hosts:
Original file line number Diff line number Diff line change 99 http3:
1010 enabled: false
1111 middlewares:
12- - default -internal-ipallowlist@kubernetescrd
12+ - traefik -internal-ipallowlist@kubernetescrd
You can’t perform that action at this time.
0 commit comments