From eea153a594472bba4459b47308b8a0ab06062bc7 Mon Sep 17 00:00:00 2001 From: Smeagol Date: Fri, 5 Apr 2024 16:01:52 +0000 Subject: [PATCH 1/2] Update Helm release external-dns to v1.14.4 --- .../apps/network/external-dns/app/hsn-dev/helmrelease.yaml | 2 +- .../network/external-dns/app/jahanson-tech/helmrelease.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/apps/network/external-dns/app/hsn-dev/helmrelease.yaml b/kubernetes/apps/network/external-dns/app/hsn-dev/helmrelease.yaml index f33d63a4..46088db2 100644 --- a/kubernetes/apps/network/external-dns/app/hsn-dev/helmrelease.yaml +++ b/kubernetes/apps/network/external-dns/app/hsn-dev/helmrelease.yaml @@ -10,7 +10,7 @@ spec: chart: spec: chart: external-dns - version: 1.14.3 + version: 1.14.4 sourceRef: kind: HelmRepository name: kubernetes-sigs-external-dns diff --git a/kubernetes/apps/network/external-dns/app/jahanson-tech/helmrelease.yaml b/kubernetes/apps/network/external-dns/app/jahanson-tech/helmrelease.yaml index 261fbecd..04f58422 100644 --- a/kubernetes/apps/network/external-dns/app/jahanson-tech/helmrelease.yaml +++ b/kubernetes/apps/network/external-dns/app/jahanson-tech/helmrelease.yaml @@ -10,7 +10,7 @@ spec: chart: spec: chart: external-dns - version: 1.14.3 + version: 1.14.4 sourceRef: kind: HelmRepository name: kubernetes-sigs-external-dns From 0b5a5412e0c6b058b19d0e89006c230617ad2053 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Fri, 5 Apr 2024 16:53:28 -0500 Subject: [PATCH 2/2] DNSEndpoint is included in externaldns 1.14.4 now --- .../app/shared/dns_endpoint-crd.yaml | 93 ------------------- .../app/shared/kustomization.yaml | 7 -- kubernetes/apps/network/external-dns/ks.yaml | 21 +---- 3 files changed, 1 insertion(+), 120 deletions(-) delete mode 100644 kubernetes/apps/network/external-dns/app/shared/dns_endpoint-crd.yaml delete mode 100644 kubernetes/apps/network/external-dns/app/shared/kustomization.yaml diff --git a/kubernetes/apps/network/external-dns/app/shared/dns_endpoint-crd.yaml b/kubernetes/apps/network/external-dns/app/shared/dns_endpoint-crd.yaml deleted file mode 100644 index 2e0e45c6..00000000 --- a/kubernetes/apps/network/external-dns/app/shared/dns_endpoint-crd.yaml +++ /dev/null @@ -1,93 +0,0 @@ ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - annotations: - controller-gen.kubebuilder.io/version: v0.5.0 - api-approved.kubernetes.io: "https://github.com/kubernetes-sigs/external-dns/pull/2007" - creationTimestamp: null - name: dnsendpoints.externaldns.k8s.io -spec: - group: externaldns.k8s.io - names: - kind: DNSEndpoint - listKind: DNSEndpointList - plural: dnsendpoints - singular: dnsendpoint - scope: Namespaced - versions: - - name: v1alpha1 - schema: - openAPIV3Schema: - properties: - apiVersion: - description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources" - type: string - kind: - description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" - type: string - metadata: - type: object - spec: - description: DNSEndpointSpec defines the desired state of DNSEndpoint - properties: - endpoints: - items: - description: Endpoint is a high-level way of a connection between a service and an IP - properties: - dnsName: - description: The hostname of the DNS record - type: string - labels: - additionalProperties: - type: string - description: Labels stores labels defined for the Endpoint - type: object - providerSpecific: - description: ProviderSpecific stores provider specific config - items: - description: ProviderSpecificProperty holds the name and value of a configuration which is specific to individual DNS providers - properties: - name: - type: string - value: - type: string - type: object - type: array - recordTTL: - description: TTL for the record - format: int64 - type: integer - recordType: - description: RecordType type of record, e.g. CNAME, A, SRV, TXT etc - type: string - setIdentifier: - description: Identifier to distinguish multiple records with the same name and type (e.g. Route53 records with routing policies other than 'simple') - type: string - targets: - description: The targets the DNS record points to - items: - type: string - type: array - type: object - type: array - type: object - status: - description: DNSEndpointStatus defines the observed state of DNSEndpoint - properties: - observedGeneration: - description: The generation observed by the external-dns controller. - format: int64 - type: integer - type: object - type: object - served: true - storage: true - subresources: - status: {} -status: - acceptedNames: - kind: "" - plural: "" - conditions: [] - storedVersions: [] diff --git a/kubernetes/apps/network/external-dns/app/shared/kustomization.yaml b/kubernetes/apps/network/external-dns/app/shared/kustomization.yaml deleted file mode 100644 index 56ba5020..00000000 --- a/kubernetes/apps/network/external-dns/app/shared/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -# yaml-language-server: $schema=https://json.schemastore.org/kustomization -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: network -resources: - - ./dns_endpoint-crd.yaml diff --git a/kubernetes/apps/network/external-dns/ks.yaml b/kubernetes/apps/network/external-dns/ks.yaml index 1c0ac1aa..95e680b9 100644 --- a/kubernetes/apps/network/external-dns/ks.yaml +++ b/kubernetes/apps/network/external-dns/ks.yaml @@ -37,23 +37,4 @@ spec: name: homelab wait: true dependsOn: - - name: external-secrets-stores ---- -# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json -apiVersion: kustomize.toolkit.fluxcd.io/v1 -kind: Kustomization -metadata: - name: &appname externaldns-shared - namespace: flux-system -spec: - targetNamespace: network - commonMetadata: - labels: - app.kubernetes.io/name: *appname - interval: 10m - path: "./kubernetes/apps/network/external-dns/app/shared" - prune: true - sourceRef: - kind: GitRepository - name: homelab - wait: true + - name: external-secrets-stores \ No newline at end of file