@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
import { Construct } from 'constructs';
import { App, Chart, ChartProps } from 'cdk8s';
import { AwsExternalDns } from '@opencdk8s/cdk8s-external-dns-route53';
export class MyChart extends Chart {
constructor(scope: Construct, id: string, props: ChartProps = { }) {
super(scope, id, props);
new AwsExternalDns(this, 'example', {
args: [
'--custom-arg=custom'
]
})
}
}
const app = new App();
new 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 compileCompiles typescript => javascript yarn watchWatch & compile yarn testRun unit test & linter through jest yarn test -uUpdate jest snapshots yarn run packageCreates a distwith packages for all languages.yarn buildCompile + test + package yarn bumpBump version (with changelog) based on [conventional commits] yarn releaseBump + 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cdk8s-external-dns-route53-0.1.4.tar.gz.
File metadata
- Download URL: cdk8s-external-dns-route53-0.1.4.tar.gz
- Upload date:
- Size: 882.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8452e528df22e8edeab679567ce5efc374c0e0f9b5a884eda3589bb59090d70e
|
|
| MD5 |
208c4caaad11a86e5a88e72aff07e236
|
|
| BLAKE2b-256 |
03e435581d78fb99e7886e7103dd99a765a13aaaf1c0f84a619d215779802614
|
File details
Details for the file cdk8s_external_dns_route53-0.1.4-py3-none-any.whl.
File metadata
- Download URL: cdk8s_external_dns_route53-0.1.4-py3-none-any.whl
- Upload date:
- Size: 883.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8753a402562c7846c2695fd68a52db4f005e57494728c88d83ccad50ecc90e8c
|
|
| MD5 |
dd144c64f8dd755e041b47bd0a0f9cac
|
|
| BLAKE2b-256 |
35b37186c2d119eb19fb28201565441fae332611d0a8331607ea07ff12f6b029
|