mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
adding kubernetes adder
This commit is contained in:
parent
1a9f8f08ae
commit
41624a84a3
@ -1,12 +1,17 @@
|
|||||||
# Copyright 2017 The Kubernetes Authors.
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
# Copyright 2018 The Kubernetes Authors.
|
||||||
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
# You may obtain a copy of the License at
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
# This is a script that we wrote to try to help the migration over to using external-dns.
|
# This is a script that we wrote to try to help the migration over to using external-dns.
|
||||||
@ -17,8 +22,9 @@
|
|||||||
# to only look at one or the other if needed.
|
# to only look at one or the other if needed.
|
||||||
#
|
#
|
||||||
# pip install kubernetes boto3
|
# pip install kubernetes boto3
|
||||||
from kubernetes import client, config
|
|
||||||
import boto3
|
import boto3
|
||||||
|
from kubernetes import client, config
|
||||||
|
|
||||||
# replace with your hosted zone id
|
# replace with your hosted zone id
|
||||||
hosted_zone_id = ''
|
hosted_zone_id = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user