mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
initial refactor
This commit is contained in:
4
infrastructure/controllers/external-dns/namespace.yaml
Normal file
4
infrastructure/controllers/external-dns/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: external-dns
|
||||
40
infrastructure/controllers/external-dns/release.yaml
Normal file
40
infrastructure/controllers/external-dns/release.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: external-dns
|
||||
namespace: external-dns
|
||||
spec:
|
||||
chartRef:
|
||||
kind: OCIRepository
|
||||
name: external-dns
|
||||
interval: 15m
|
||||
timeout: 5m
|
||||
releaseName: external-dns
|
||||
values:
|
||||
sources:
|
||||
- crd
|
||||
# - service
|
||||
# - ingress
|
||||
# - contour-httpproxy
|
||||
provider: cloudflare
|
||||
cloudflare:
|
||||
## @param cloudflare.apiToken When using the Cloudflare provider, `CF_API_TOKEN` to set (optional)
|
||||
##
|
||||
apiToken: ""
|
||||
## @param cloudflare.apiKey When using the Cloudflare provider, `CF_API_KEY` to set (optional)
|
||||
##
|
||||
apiKey: ""
|
||||
## @param cloudflare.secretName When using the Cloudflare provider, it's the name of the secret containing cloudflare_api_token or cloudflare_api_key.
|
||||
## This ignores cloudflare.apiToken, and cloudflare.apiKey
|
||||
##
|
||||
secretName: "cloudflare-api-key"
|
||||
## @param cloudflare.email When using the Cloudflare provider, `CF_API_EMAIL` to set (optional). Needed when using CF_API_KEY
|
||||
##
|
||||
email: "michael@michaelthomson.dev"
|
||||
## @param cloudflare.proxied When using the Cloudflare provider, enable the proxy feature (DDOS protection, CDN...) (optional)
|
||||
##
|
||||
proxied: false
|
||||
crd:
|
||||
## @param crd.create Install and use the integrated DNSEndpoint CRD
|
||||
##
|
||||
create: true
|
||||
10
infrastructure/controllers/external-dns/repository.yaml
Normal file
10
infrastructure/controllers/external-dns/repository.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1
|
||||
kind: OCIRepository
|
||||
metadata:
|
||||
name: external-dns
|
||||
namespace: external-dns
|
||||
spec:
|
||||
interval: 15m
|
||||
url: oci://registry-1.docker.io/bitnamicharts/external-dns
|
||||
ref:
|
||||
semver: ">=8.0.0"
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"kind": "SealedSecret",
|
||||
"apiVersion": "bitnami.com/v1alpha1",
|
||||
"metadata": {
|
||||
"name": "cloudflare-api-key",
|
||||
"namespace": "external-dns",
|
||||
"creationTimestamp": null
|
||||
},
|
||||
"spec": {
|
||||
"template": {
|
||||
"metadata": {
|
||||
"name": "cloudflare-api-key",
|
||||
"namespace": "external-dns",
|
||||
"creationTimestamp": null
|
||||
}
|
||||
},
|
||||
"encryptedData": {
|
||||
"cloudflare_api_key": "AgDbQ3Suck0P6dSEtuB8cfk4P47jVuieaekex+miPlhrB3I7n/YLPK3lEdoYAt49NrciMlq877iniuYylwnh8HOSevvZ47H86KthofJY3iu8anTTS5q4dkxonnqHuBPH0LTg+uvdkChxe7kuozePB0XJjQV4qdejEDTh6Q7es5dzIW9kdxHGlDRyIsgeI+YpZCZOApzU+bR+ARt39AWWpyRkn140CSAFjsF6XRJ+Enwsn9nbfZfb71s3J8hy/3BCY8fCPuqAXWoQY9pr4BwYo6TjFthlesMYZ3rsAPuBelwEO9OeWySKfVOZx3ZbTdG0aObYhr1KOMs1wTSbu0Y9Ob59WZRT78eXD3B9Un2Bm5GhQLZaw0KAwzg1uLZ2LGcOcV3Dzd5XXLa8/pajrlF/iJQkMYZlaLVfgakhi5TpM4QCTHD4Wj95ZzO16VqJ8ak4qU+l3eJ/GuO+cnMtvAF/VjEiGj9PF9fZRkcPl7HoDTOGeXgbvVcWsSyktZe9BeAkHmB326bK8gnvs6MwJZC/SFR187ngBkSDOQ89LNx1pNnu4SNYu6EHvtaNI62+a6AsNsdrku3fTW0bdNI7rPwZvmL257mnnF7ih4BZvRDxBWudAcQyw+YZdlQC5NRpFr7e0ZgFP1CvDjvNtBBaZsHELKJyFCy7vhhiOrrHpYGZfvTFgGd2/ny2n92HyhJtvpMSJNfaqjAOVu7Kp5bFa99GSSP1CZXjxHxCEzVblZdyOGW63iMwgNp7"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user