This repository has been archived by the owner on Jan 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
README.yaml
115 lines (95 loc) · 4.29 KB
/
README.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
#
# This is the canonical configuration for the `README.md`
# Run `make readme` to rebuild the `README.md`
#
# Name of this project
name: terraform-aws-kops-external-dns
# Tags of this project
tags:
- aws
- terraform
- terraform-modules
- kops-kubernetes
- kops
- kubernetes
- external-dns
- route53
- iam-policy
- iam-role
# Categories of this project
categories:
- terraform-modules/kops-kubernetes
# Logo for this project
#logo: docs/logo.png
# License of this project
license: "APACHE2"
# Canonical GitHub repo
github_repo: cloudposse/terraform-aws-kops-external-dns
# Badges to display
badges:
- name: "Build Status"
image: "https://travis-ci.org/cloudposse/terraform-aws-kops-external-dns.svg?branch=master"
url: "https://travis-ci.org/cloudposse/terraform-aws-kops-external-dns"
- name: "Latest Release"
image: "https://img.shields.io/github/release/cloudposse/terraform-aws-kops-external-dns.svg"
url: "https://github.com/cloudposse/terraform-aws-kops-external-dns/releases/latest"
- name: "Slack Community"
image: "https://slack.cloudposse.com/badge.svg"
url: "https://slack.cloudposse.com"
related:
- name: "terraform-aws-kops-metadata"
description: "Terraform module to lookup resources within a Kops cluster for easier integration with Terraform"
url: "https://github.com/cloudposse/terraform-aws-kops-metadata"
- name: "terraform-aws-kops-ecr"
description: "Terraform module to provision an ECR repository and grant users and kubernetes nodes access to it."
url: "https://github.com/cloudposse/terraform-aws-kops-ecr"
- name: "terraform-aws-kops-state-backend"
description: "Easily bootstrap kops clusters (DNS & S3 Bucket)"
url: "https://github.com/cloudposse/terraform-aws-kops-state-backend"
- name: "terraform-aws-kops-vpc-peering"
description: "Terraform module to create a peering connection between a backing services VPC and a VPC created by Kops"
url: "https://github.com/cloudposse/terraform-aws-kops-vpc-peering"
- name: "terraform-aws-kops-route53"
description: "Terraform module to lookup the IAM role associated with `kops` masters, and attach an IAM policy to the role with permissions to modify Route53 record sets"
url: "https://github.com/cloudposse/terraform-aws-kops-route53"
- name: "terraform-aws-kops-vault-backend"
description: "Terraform module to provision an S3 bucket for HashiCorp Vault secrets storage, and an IAM role and policy with permissions for Kops nodes to access the bucket"
url: "https://github.com/cloudposse/terraform-aws-kops-vault-backend"
- name: "terraform-aws-kops-chart-repo"
description: "Terraform module to provision an S3 bucket for Helm chart repository, and an IAM role and policy with permissions for Kops nodes to access the bucket"
url: "https://github.com/cloudposse/terraform-aws-kops-chart-repo"
# Short description of this project
description: |-
Terraform module to provision an IAM role for `external-dns` running in a Kops cluster, and attach an IAM policy to the role with permissions to modify Route53 record sets.
## Overview
This module assumes you are running [external-dns](https://github.com/kubernetes-incubator/external-dns) in a Kops cluster.
It will provision an IAM role with the required permissions and grant the Kops masters the permission to assume it.
This is useful to make Kubernetes services discoverable via AWS DNS services.
The module uses [terraform-aws-kops-metadata](https://github.com/cloudposse/terraform-aws-kops-metadata) to lookup resources within a Kops cluster for easier integration with Terraform.
# How to use this project
usage: |-
```hcl
module "kops_external_dns" {
source = "git::https://github.com/cloudposse/terraform-aws-kops-external-dns.git?ref=tags/<release-tag>"
namespace = "cp"
stage = "prod"
name = "external-dns"
cluster_name = "us-east-1.cloudposse.co"
dns_zone_names = ["us-east-1.cloudposse.co", "cloudposse.co"]
masters_name = "masters"
nodes_name = "nodes"
tags = {
Cluster = "us-east-1.cloudposse.co"
}
}
```
include:
- "docs/targets.md"
- "docs/terraform.md"
# Contributors to this project
contributors:
- name: "Igor Rodionov"
github: "goruha"
- name: "Andriy Knysh"
github: "aknysh"