2024-01-11 15:03:54 -06:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta2.json
|
2024-05-22 14:02:39 -05:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
2024-01-11 15:03:54 -06:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: &name externaldns-hsn-dev
|
|
|
|
namespace: network
|
|
|
|
spec:
|
|
|
|
interval: 30m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: external-dns
|
2024-04-05 11:01:52 -05:00
|
|
|
version: 1.14.4
|
2024-01-11 15:03:54 -06:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: kubernetes-sigs-external-dns
|
|
|
|
namespace: flux-system
|
2024-01-14 10:19:59 -06:00
|
|
|
install:
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
upgrade:
|
|
|
|
cleanupOnFail: true
|
|
|
|
remediation:
|
|
|
|
retries: 3
|
|
|
|
uninstall:
|
|
|
|
keepHistory: false
|
2024-01-11 15:03:54 -06:00
|
|
|
values:
|
|
|
|
fullnameOverride: *name
|
|
|
|
|
|
|
|
env:
|
|
|
|
- name: CF_API_TOKEN
|
|
|
|
valueFrom:
|
|
|
|
secretKeyRef:
|
|
|
|
name: externaldns-hsn-dev-secrets
|
|
|
|
key: cloudflare_api_token
|
|
|
|
|
2024-01-12 09:56:15 -06:00
|
|
|
domainFilters:
|
|
|
|
- hsn.dev
|
|
|
|
policy: sync
|
|
|
|
provider: cloudflare
|
|
|
|
sources:
|
|
|
|
- ingress
|
|
|
|
- crd
|
|
|
|
txtPrefix: "k8s."
|
|
|
|
|
2024-01-11 15:03:54 -06:00
|
|
|
extraArgs:
|
2024-01-14 10:16:19 -06:00
|
|
|
- --cloudflare-proxied
|
|
|
|
- --crd-source-apiversion=externaldns.k8s.io/v1alpha1
|
|
|
|
- --crd-source-kind=DNSEndpoint
|
2024-01-14 22:34:59 -06:00
|
|
|
- --ingress-class=external-nginx
|
2024-01-14 10:16:19 -06:00
|
|
|
- --txt-owner-id=default
|
2024-01-12 09:56:15 -06:00
|
|
|
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
2024-01-11 15:03:54 -06:00
|
|
|
|
|
|
|
podAnnotations:
|
|
|
|
secret.reloader.stakater.com/reload: externaldns-hsn-dev-secrets
|
|
|
|
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: 5m
|
|
|
|
memory: 100Mi
|
|
|
|
limits:
|
|
|
|
memory: 100Mi
|
|
|
|
|
|
|
|
postRenderers:
|
|
|
|
- kustomize:
|
|
|
|
patches:
|
|
|
|
- target:
|
|
|
|
version: v1
|
|
|
|
kind: Deployment
|
|
|
|
name: *name
|
|
|
|
patch: |
|
|
|
|
- op: add
|
|
|
|
path: /spec/template/spec/enableServiceLinks
|
|
|
|
value: false
|