@opencdk8s/cdk8s-external-dns-route53
Project description
cdk8s-external-dns-route53
Upstream Fork of this repo
Synths an install manifest for ExternalDNS - Route53
Controller version : v0.7.6
Overview
install.yaml
example
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from constructs import Construct
from cdk8s import App, Chart, ChartProps
from opencdk8s.cdk8s_external_dns_route53 import AwsExternalDns
class MyChart(Chart):
def __init__(self, scope, id, *, namespace=None, labels=None):
super().__init__(scope, id, namespace=namespace, labels=labels)
AwsExternalDns(self, "example",
args=["--custom-arg=custom"
]
)
app = App()
MyChart(app, "example")
app.synth()
install.k8s.yaml
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: external-dns
rules:
- apiGroups:
- ""
resources:
- services
- endpoints
- pods
verbs:
- get
- watch
- list
- apiGroups:
- extensions
- networking.k8s.io
resources:
- ingresses
verbs:
- get
- watch
- list
- apiGroups:
- ""
resources:
- nodes
verbs:
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: external-dns-viewer
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: external-dns
subjects:
- kind: ServiceAccount
name: external-dns
namespace: default
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: external-dns
namespace: default
spec:
selector:
matchLabels:
app: external-dns
strategy:
type: Recreate
template:
metadata:
labels:
app: external-dns
spec:
containers:
- args:
- --source=service
- --source=ingress
- --provider=aws
- --registry=txt
- --txt-owner-id=external-dns
- --custom-arg=custom
image: k8s.gcr.io/external-dns/external-dns:v0.7.6
name: external-dns
securityContext:
fsGroup: 65534
serviceAccountName: external-dns
Installation
TypeScript
Use yarn
or npm
to install.
$ npm install @opencdk8s/cdk8s-external-dns-route53
$ yarn add @opencdk8s/cdk8s-external-dns-route53
Python
$ pip install cdk8s-external-dns-route53
Contribution
-
Fork (link)
-
Bootstrap the repo:
npx projen # generates package.json yarn install # installs dependencies
-
Development scripts:
Command Description yarn compile
Compiles typescript => javascript yarn watch
Watch & compile yarn test
Run unit test & linter through jest yarn test -u
Update jest snapshots yarn run package
Creates a dist
with packages for all languages.yarn build
Compile + test + package yarn bump
Bump version (with changelog) based on [conventional commits] yarn release
Bump + push to master
-
Create a feature branch
-
Commit your changes
-
Rebase your local changes against the master branch
-
Create a new Pull Request (use conventional commits for the title please)
Licence
Author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk8s-external-dns-route53-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f528c6e1293aafdaf183b94f99f4e28b4ee1b5021d555e7666fc45921fd2e82 |
|
MD5 | 499e8deea8108aaededdbb62a6393e72 |
|
BLAKE2b-256 | 4d5f5c01ab42737905ee0b3c2434aad63b5beefba6a8aab8fa5298813ef4f9a5 |
Close
Hashes for cdk8s_external_dns_route53-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1635d9c15b783a23534aea861b79b7d8bd92936929f22401e4a57d5f8e156276 |
|
MD5 | a2b818784b16a33ebcbfa5b9026879f1 |
|
BLAKE2b-256 | e5e75cf551b28f1b30ca8de3b4a9d659da3a5d5c801dbbc6b40b8416dcc610cd |