-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Initial BlueCat Provider Support
The new BlueCat provider uses the BlueCat API Gateway(REST API). Not the legacy XML based BlueCat API. https://github.com/bluecatlabs/gateway-workflows
- Loading branch information
1 parent
e2cb36c
commit 3d7fe5f
Showing
9 changed files
with
1,456 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Setting up external-dns for BlueCat | ||
|
||
## Prerequisites | ||
Install the BlueCat Gateway product and deploy the [community gateway workflows](https://github.com/bluecatlabs/gateway-workflows). | ||
|
||
## Deploy | ||
Setup configuration file as k8s `Secret`. | ||
``` | ||
cat << EOF > ~/bluecat.json | ||
{ | ||
"gatewayHost": "https://bluecatgw.example.com", | ||
"gatewayUsername": "user", | ||
"GatewayPassword": "pass", | ||
"dnsConfiguration": "Example", | ||
"dnsView": "Internal", | ||
"rootZone": "example.com" | ||
} | ||
EOF | ||
kubectl create secret generic bluecatconfig --from-file ~/bluecat.json -n bluecat-example | ||
``` | ||
|
||
Setup up deployment/service account: | ||
``` | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: external-dns | ||
namespace: bluecat-example | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: external-dns | ||
namespace: bluecat-example | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: external-dns | ||
strategy: | ||
type: Recreate | ||
template: | ||
metadata: | ||
labels: | ||
app: external-dns | ||
spec: | ||
serviceAccountName: external-dns | ||
volumes: | ||
- name: bluecatconfig | ||
secret: | ||
secretName: bluecatconfig | ||
containers: | ||
- name: external-dns | ||
image: <image url> | ||
volumeMounts: | ||
- name: bluecatconfig | ||
mountPath: "/etc/external-dns/" | ||
readOnly: true | ||
args: | ||
- --log-level=debug | ||
- --source=service | ||
- --provider=bluecat | ||
- --txt-owner-id=bluecat-example | ||
- --bluecat-config-file=/etc/external-dns/bluecat.json | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
approvers: | ||
- seanmalloy | ||
- vinny-sabatini | ||
reviewers: | ||
- seanmalloy | ||
- vinny-sabatini |
Oops, something went wrong.