Skip to content

Instantly share code, notes, and snippets.

@arturo-c
Created August 28, 2019 16:29
Show Gist options
  • Save arturo-c/7e20566c3835b79ba643a96b620893ce to your computer and use it in GitHub Desktop.
Save arturo-c/7e20566c3835b79ba643a96b620893ce to your computer and use it in GitHub Desktop.
External-dns crd
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null
labels:
api: externaldns
kubebuilder.k8s.io: 1.0.0
name: dnsendpoints.externaldns.k8s.io
spec:
group: externaldns.k8s.io
names:
kind: DNSEndpoint
plural: dnsendpoints
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
properties:
apiVersion:
type: string
kind:
type: string
metadata:
type: object
spec:
properties:
endpoints:
items:
properties:
dnsName:
type: string
labels:
type: object
providerSpecific:
type: object
recordTTL:
format: int64
type: integer
recordType:
type: string
targets:
items:
type: string
type: array
type: object
type: array
type: object
status:
properties:
observedGeneration:
format: int64
type: integer
type: object
version: v1alpha
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
name: dns-records
spec:
endpoints:
- dnsName: something.checkrhq.net
recordType: A
targets: {{ ipaddress }}
- dnsName: somethinelse.checkrhq.net
recordType: CNAME
targets: {{ aws-alb-dns }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment