fix: use the right annotations for external-dns and update flux/gitops dashboard ingresses

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2022-12-24 17:39:32 -05:00
1 parent 08040e3e49
commit 73237942a0
4 files changed
+16 -10

No files matched your search

@@ -23,7 +23,7 @@ spec:
retries: 3 retries: 3
values: values:
controller: controller:
replicas: 3 replicas: 1
strategy: RollingUpdate strategy: RollingUpdate
image: image:
repository: docker.io/jmalloc/echo-server repository: docker.io/jmalloc/echo-server
@@ -53,10 +53,10 @@ spec:
enabled: true enabled: true
ingressClassName: nginx ingressClassName: nginx
annotations: annotations:
cert-manager.io/cluster-issuer: "letsencrypt-staging" cert-manager.io/cluster-issuer: letsencrypt-staging
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}" external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
external-dns/is-public: "true" external-dns.home.arpa/enabled: "true"
hajimari.io/icon: "video-input-antenna" hajimari.io/icon: video-input-antenna
hosts: hosts:
- host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}" - host: &host "{{ .Release.Name }}.${SECRET_DOMAIN}"
paths: paths:
@@ -41,8 +41,9 @@ spec:
enabled: true enabled: true
ingressClassName: nginx ingressClassName: nginx
annotations: annotations:
cert-manager.io/cluster-issuer: "letsencrypt-staging" cert-manager.io/cluster-issuer: letsencrypt-staging
nginx.ingress.kubernetes.io/whitelist-source-range: "10.0.0.0/8,172.16.0.0/12,192.168.0.0/16" nginx.ingress.kubernetes.io/whitelist-source-range: |
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
hajimari.io/enable: "false" hajimari.io/enable: "false"
hosts: hosts:
- host: &host "hajimari.${SECRET_DOMAIN}" - host: &host "hajimari.${SECRET_DOMAIN}"
@@ -54,7 +55,7 @@ spec:
- *host - *host
secretName: hajimari-tls secretName: hajimari-tls
podAnnotations: podAnnotations:
configmap.reloader.stakater.com/reload: "hajimari-settings" configmap.reloader.stakater.com/reload: hajimari-settings
persistence: persistence:
data: data:
enabled: true enabled: true
@@ -5,9 +5,10 @@ metadata:
name: webhook-receiver name: webhook-receiver
namespace: flux-system namespace: flux-system
annotations: annotations:
cert-manager.io/cluster-issuer: "letsencrypt-staging" cert-manager.io/cluster-issuer: letsencrypt-staging
external-dns/is-public: "true"
external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}" external-dns.alpha.kubernetes.io/target: "ipv4.${SECRET_DOMAIN}"
external-dns.home.arpa/enabled: "true"
hajimari.io/enable: "false"
spec: spec:
ingressClassName: nginx ingressClassName: nginx
rules: rules:
@@ -29,7 +29,10 @@ spec:
enabled: true enabled: true
className: nginx className: nginx
annotations: annotations:
hajimari.io/icon: "sawtooth-wave" cert-manager.io/cluster-issuer: letsencrypt-staging
nginx.ingress.kubernetes.io/whitelist-source-range: |
10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
hajimari.io/icon: sawtooth-wave
hosts: hosts:
- host: &host "gitops.${SECRET_DOMAIN}" - host: &host "gitops.${SECRET_DOMAIN}"
paths: paths:
@@ -38,6 +41,7 @@ spec:
tls: tls:
- hosts: - hosts:
- *host - *host
secretName: weave-gitops-tls
networkPolicy: networkPolicy:
create: false create: false
metrics: metrics: