kube-dns-operator

command module
v0.0.0-...-19e3442 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2022 License: MIT Imports: 11 Imported by: 0

README

kube-dns-operator

Create a DnsRecord resource, and the operator will create a correspondent DNS record in your dns server

apiVersion: net.beekube.cloud/v1alpha1
kind: DnsRecord
metadata:
  name: www-blog-alpha
  namespace: ziotest
spec:
  # Create a record in AWS Route53
  Route53Records:
    awsSecrets:
      secretNamespace: ziotest 
      secretName: my-ideas-aws-dns
      accessKeyIDKey: access-key-id
      secretAccessKeyKey: secret-access-key
    zoneId: "<ZoneId>"
    # Any valid .Type, like CNAME, A, TXT
    type: "CNAME" 
    # The FQDN 
    name: "www-demo394.my-ideas.it"
    # The resource records (check the AWS docs! CNAME allows only 1 element)
    resourceRecords:
      - kubeapp.dc-pilotto.my-ideas.it
    comment: "This is cio"
    ttl: 300

Supported DNS

AWS Route53

Create a secret with an AIM user that have access to Route53

kubectl create secret generic my-ideas-aws-dns \
  --from-literal=secret-access-key="<secret key>" \
  --from-literal=access-key-id="<AKIAzzzzz>" \
  --namespace="default"

Development

operator-framework does not support (yet) go v1.18. The Makefile is updated to work with go 1.18, but you need to manually install Kustomize: cd bin && curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the net v1alpha1 API group +kubebuilder:object:generate=true +groupName=net.beekube.cloud
Package v1alpha1 contains API Schema definitions for the net v1alpha1 API group +kubebuilder:object:generate=true +groupName=net.beekube.cloud

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL