This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/apps/network/external-dns/app/hsn-dev/helmrelease.yaml

70 lines
1.4 KiB
YAML
Raw Normal View History

2023-08-13 12:13:53 -05:00
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
2023-08-13 12:13:53 -05:00
kind: HelmRelease
metadata:
2023-12-01 09:04:57 -06:00
name: &name externaldns-hsn-dev
2023-08-13 12:13:53 -05:00
namespace: network
spec:
interval: 30m
chart:
spec:
chart: external-dns
version: 1.13.1
2023-08-13 12:13:53 -05:00
sourceRef:
kind: HelmRepository
name: kubernetes-sigs-external-dns
namespace: flux-system
interval: 30m
values:
2023-12-01 09:04:57 -06:00
fullnameOverride: *name
2023-08-13 12:13:53 -05:00
domainFilters:
2023-11-27 22:31:02 -06:00
- hsn.dev
2023-08-13 12:13:53 -05:00
env:
2023-11-27 22:31:02 -06:00
- name: CF_API_TOKEN
2023-08-13 12:13:53 -05:00
valueFrom:
secretKeyRef:
2023-11-27 22:31:02 -06:00
name: externaldns-hsn-dev-secrets
key: cloudflare_api_token
2023-08-13 12:13:53 -05:00
extraArgs:
- --crd-source-apiversion=externaldns.k8s.io/v1alpha1
2023-11-27 22:31:02 -06:00
- --ingress-class=hsn-nginx
2023-08-13 12:13:53 -05:00
podAnnotations:
2023-11-28 09:34:53 -06:00
secret.reloader.stakater.com/reload: externaldns-hsn-dev-secrets
2023-08-13 12:13:53 -05:00
policy: sync
2023-11-27 22:31:02 -06:00
provider: cloudflare
2023-08-13 12:13:53 -05:00
resources:
requests:
cpu: 5m
memory: 24M
limits:
memory: 48M
2023-11-27 22:31:02 -06:00
serviceMonitor:
enabled: true
2023-08-13 12:13:53 -05:00
sources:
- ingress
- crd
txtPrefix: "k8s."
postRenderers:
- kustomize:
patches:
- target:
version: v1
kind: Deployment
name: *name
patch: |
- op: add
path: /spec/template/spec/enableServiceLinks
value: false