Skip to content

Commit

Permalink
adding kubernetes adder
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Jüttner committed Nov 14, 2018
1 parent 1a9f8f0 commit 41624a8
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions scripts/update_route53_k8s_txt_owner.py
Original file line number Diff line number Diff line change
@@ -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");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# 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.

# This is a script that we wrote to try to help the migration over to using external-dns.
Expand All @@ -17,8 +22,9 @@
# to only look at one or the other if needed.
#
# pip install kubernetes boto3
from kubernetes import client, config

import boto3
from kubernetes import client, config

# replace with your hosted zone id
hosted_zone_id = ''
Expand Down

0 comments on commit 41624a8

Please sign in to comment.