theshire/kubernetes/apps/network/external-dns/app/jahanson-tech/helmrelease.yaml

81 lines
1.9 KiB
YAML
Raw Normal View History

2024-01-14 23:08:53 -06:00
---
2024-12-21 16:07:39 -06:00
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
2024-01-14 23:08:53 -06:00
kind: HelmRelease
metadata:
name: &name externaldns-jahanson-tech
2024-01-17 00:59:17 -06:00
namespace: network
2024-01-14 23:08:53 -06:00
spec:
interval: 30m
chart:
spec:
chart: external-dns
2024-09-11 11:33:38 -05:00
version: 1.15.0
2024-01-14 23:08:53 -06:00
sourceRef:
kind: HelmRepository
name: kubernetes-sigs-external-dns
namespace: flux-system
interval: 30m
values:
fullnameOverride: *name
domainFilters:
- jahanson.tech
env:
- name: EXTERNAL_DNS_RFC2136_HOST
2024-04-29 13:49:05 -05:00
value: "10.1.1.57"
2024-01-14 23:08:53 -06:00
- name: EXTERNAL_DNS_RFC2136_PORT
value: "53"
- name: EXTERNAL_DNS_RFC2136_ZONE
value: "jahanson.tech"
- name: EXTERNAL_DNS_RFC2136_TSIG_AXFR
value: "true"
- name: EXTERNAL_DNS_RFC2136_TSIG_KEYNAME
value: externaldns
- name: EXTERNAL_DNS_RFC2136_TSIG_SECRET_ALG
valueFrom:
secretKeyRef:
name: externaldns-internal-secrets
key: bind_rndc_algorithm
- name: EXTERNAL_DNS_RFC2136_TSIG_SECRET
valueFrom:
secretKeyRef:
name: externaldns-internal-secrets
key: bind_rndc_secret
podAnnotations:
secret.reloader.stakater.com/reload: externaldns-internal-secrets
policy: sync
provider: rfc2136
resources:
requests:
cpu: 16m
memory: 90M
limits:
memory: 90M
serviceMonitor:
enabled: true
sources:
- ingress
- service
txtPrefix: "k8s."
postRenderers:
- kustomize:
patches:
- target:
version: v1
kind: Deployment
name: *name
patch: |
- op: add
path: /spec/template/spec/enableServiceLinks
value: false