Update argocd/external-dns/templates/cloudflare.yaml, argocd/external-dns/index.yaml, argocd/argocd/apps/external-dns.yaml

This commit is contained in:
2022-09-26 20:35:45 +00:00
parent 5399ec9197
commit 8a67eb21d4
3 changed files with 178 additions and 129 deletions

View File

@@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: external-dns
namespace: argocd
spec:
project: default
source:
repoURL: https://gitlab.com/developerdurp/linode.git
targetRevision: main
path: argocd/external-dns
destination:
namespace: external-dns
name: in-cluster
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View File

@@ -1,130 +1,143 @@
# Default values for external-dns. external-dns:
# This is a YAML-formatted file.
# Declare variables to be passed into your templates. image:
repository: k8s.gcr.io/external-dns/external-dns
image: # Overrides the image tag whose default is v{{ .Chart.AppVersion }}
repository: k8s.gcr.io/external-dns/external-dns tag: ""
# Overrides the image tag whose default is v{{ .Chart.AppVersion }} pullPolicy: Always
tag: ""
pullPolicy: Always imagePullSecrets: []
imagePullSecrets: [] nameOverride: ""
fullnameOverride: ""
nameOverride: ""
fullnameOverride: "" commonLabels: {}
commonLabels: {} serviceAccount:
# Specifies whether a service account should be created
serviceAccount: create: true
# Specifies whether a service account should be created # Annotations to add to the service account
create: true annotations: {}
# Annotations to add to the service account # The name of the service account to use.
annotations: {} # If not set and create is true, a name is generated using the fullname template
# The name of the service account to use. name: ""
# If not set and create is true, a name is generated using the fullname template
name: "" rbac:
# Specifies whether RBAC resources should be created
rbac: create: true
# Specifies whether RBAC resources should be created additionalPermissions: []
create: true
additionalPermissions: [] # Annotations to add to the Deployment
deploymentAnnotations: {}
# Annotations to add to the Deployment
deploymentAnnotations: {} podLabels: {}
podLabels: {} # Annotations to add to the Pod
podAnnotations: {}
# Annotations to add to the Pod
podAnnotations: {} shareProcessNamespace: false
shareProcessNamespace: false podSecurityContext:
fsGroup: 65534
podSecurityContext:
fsGroup: 65534 securityContext:
runAsNonRoot: true
securityContext: runAsUser: 65534
runAsNonRoot: true readOnlyRootFilesystem: true
runAsUser: 65534 capabilities:
readOnlyRootFilesystem: true drop: ["ALL"]
capabilities:
drop: ["ALL"] # Defaults to `ClusterFirst`.
# Valid values are: `ClusterFirstWithHostNet`, `ClusterFirst`, `Default` or `None`.
# Defaults to `ClusterFirst`. dnsPolicy:
# Valid values are: `ClusterFirstWithHostNet`, `ClusterFirst`, `Default` or `None`.
dnsPolicy: priorityClassName: ""
priorityClassName: "" terminationGracePeriodSeconds:
terminationGracePeriodSeconds: serviceMonitor:
enabled: false
serviceMonitor: additionalLabels: {}
enabled: false interval: 1m
additionalLabels: {} scrapeTimeout: 10s
env:
- name: CF_API_KEY
valueFrom:
secretKeyRef:
name: cloudflare
key: CF_API_KEY
- name: CF_API_EMAIL
valueFrom:
secretKeyRef:
name: cloudflare
key: CF_API_EMAIL
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 2
successThreshold: 1
readinessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 6
successThreshold: 1
service:
port: 7979
annotations: {}
extraVolumes: []
extraVolumeMounts: []
resources: {}
nodeSelector: {}
tolerations: []
affinity: {}
topologySpreadConstraints: []
logLevel: info
logFormat: text
interval: 1m interval: 1m
scrapeTimeout: 10s triggerLoopOnEvent: false
env: [] sources:
- service
livenessProbe: - ingress
httpGet:
path: /healthz policy: upsert-only
port: http
initialDelaySeconds: 10 registry: txt
periodSeconds: 10 txtOwnerId: ""
timeoutSeconds: 5 txtPrefix: ""
failureThreshold: 2 txtSuffix: ""
successThreshold: 1
domainFilters: []
readinessProbe:
httpGet: provider: Cloudflare
path: /healthz
port: http extraArgs:
initialDelaySeconds: 5 - --source=ingress
periodSeconds: 10 - --domain-filter=durp.info
timeoutSeconds: 5 - --provider=cloudflare
failureThreshold: 6 - --cloudflare-proxied
successThreshold: 1
deploymentStrategy:
service: type: Recreate
port: 7979
annotations: {}
extraVolumes: []
extraVolumeMounts: []
resources: {}
nodeSelector: {}
tolerations: []
affinity: {}
topologySpreadConstraints: []
logLevel: info
logFormat: text
interval: 1m
triggerLoopOnEvent: false
sources:
- service
- ingress
policy: upsert-only
registry: txt
txtOwnerId: ""
txtPrefix: ""
txtSuffix: ""
domainFilters: []
provider: Cloudflare
extraArgs: []
deploymentStrategy:
type: Recreate

View File

@@ -0,0 +1,16 @@
apiVersion: bitnami.com/v1alpha1
kind: SealedSecret
metadata:
creationTimestamp: null
name: cloudflare
namespace: external-dns
spec:
encryptedData:
CF_API_EMAIL: AgCgyl6I4YZ4Bo1IRot87nZxRJ3jtNsRgAntyFEOADxgtd6hw7GwtksoZzhfiL+NvyqUR2JaqK/WH0xGxfXYpuKS2jcPaSS87kqqWTkEOGfXC0zeTfqMErBwK7EYuQAcn/K71U2GmOutzivOrzSC+9FH1u8aSs2w8azP9PIRjPi2h+BmqnBMP8gtE85l+E7Bo9GZpZ62u1cJLc23gZQEeQWhHOqGvcVuvKSA/1Ecfs9L5dkgS5pP0ZwIHZ3qeOz49hXYzLMP/MVh9oz4uk40PTVGHhUFmLlbRpL9jj6x3Nx0BKbEUaNN61kVXDFpK37hrrckDoMBX5OBlefKO4PYHeDRQxrcPaxQqQczpVylY6eWzE+ZwqmKpBivXRZNk4MBJ2zGfjb3wFOGapuHnvJmCwer/R8/NCxkdgjhMPZHMd0kmp96L0kAbaIJqTxkuq/UgMTVmfZC1xTizkr+2PSAJqgDWfgg4jLdQKON8JveluU0dNG8S2mnjE90PPaihMzdc0K8XkWoviP1SW/xPRhTWoO12C6lUt8pv5aX6tQElz8Z8dLaRtGsYZyEBOYaNWNKhmyMeuIhhmNSd0sw4zzjPvW4xOiNYoftGqLzB05ByC+vQ1JTe51rd80FvV1FcfJWE0SixULzIKnuqb8DP4iY/Jy0xNBKDOrnWQywQhkO+aFm/C5TyQFZvID7/JZ/zz7o2LefJcxezep7rVCa2koLEpzUFg==
CF_API_KEY: AgAs1oH5mhWw7CoKq5WsJQpsvH7iPXNOBw7EmJaMyN9JignHv7Ll6v0ZsJnen/XxVeZBWS3qZzrrqT5e97tPjOsxYhxz6kPKiUXr9DUndiT4kf0tb7fkwAuwrobFyz6W7gdzFKeTS3TDN4Rj1r52PlsBJN1do6UoE8iHnk6xU9OwjJyvI1QTa4mr353sH/UQO3dZ8NzwMCZ9Lybatsw6I9YX7vWXX6Kz9ZR2ESP//0erx41KHKWp+nxfV8FEm5w1KvICgP5zDJxS0TpYti+v/px+giB85XAs/R9DBZptAM0IIx6AnGmvbiY/KNCBbrr2Qs7/V5b5nU5hDjEItlAMQUzxhWX3uzuNAS8lcI3jrdWLnIAnr8bWCp8ovRsqxhXZUPbGFcTWTWN4di580gfzYNEHdgxUzFmwCE1SXVynSFMUEUlG0B8wZm7h3UgtbQM5n9tsi/gKbIfosG4TljroXsCwj22zYr89iGfM0d2DZmEIq4K2ZT9hrSgGSNBGa+hQ5cCclcbCyX+kXlt2iswPdJL1tTdAEwSfxFmWOWv3DWxmtF2UCiicRTyZXFYX8KmT5ci/Y++qp0mx+ITca6pjgGfzrC0Plf44JTw0IyV9SOM3/jv4FG+kxjWoIpQnsfgJIkZyZy+D8/e+B90L+ql0RZ3UZv2FqdTG9WNSqUOpES067NbdyqKyB37we/f3Ke9R4fz5OVfXHCXQcU5nUnpaxQB3mN8wEIKpTiMLlrQ0vxunSVpGw40x1oDq
template:
data: null
metadata:
creationTimestamp: null
name: cloudflare
namespace: external-dns