https://github.com/rhecosystemappeng/aro-terraform-config
Contains Terraform config for setting up ARO cluster with OAuth
https://github.com/rhecosystemappeng/aro-terraform-config
Last synced: about 1 year ago
JSON representation
Contains Terraform config for setting up ARO cluster with OAuth
- Host: GitHub
- URL: https://github.com/rhecosystemappeng/aro-terraform-config
- Owner: RHEcosystemAppEng
- Created: 2023-05-18T19:08:02.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-19T18:05:23.000Z (about 3 years ago)
- Last Synced: 2025-02-15T02:15:20.657Z (over 1 year ago)
- Language: Shell
- Size: 766 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aro-terraform-config
This repo contains Terraform config for creating an ARO cluster along with the resource group and
service principal. It also generates the kubeconfig and updates OAuth spec for the ARO cluster.
There are a few directories with Terraform config in them. Here is some detail
on these directories:
* [create_cluster_n_gen_kubeconfig](create_cluster_n_gen_kubeconfig/README.md)
* This directory contains code to handle creation of Resource Group, Service Principal
as well as the ARO cluster.
* It also generates a `kubeconfig` for the newly created ARO cluster.
* [k8s_oidc](k8s_oidc/README.md)
* This directory contains Terraform config that can be used to import existing `oidc` resource
and add `oidc AAD` identity provider as well as create a `Secret` for AzureAD.
* [k8s_oidc_groups](k8s_oidc_groups/README.md)
* This directory contains Terraform config that can be used to import existing `oidc` resource
with additional `groups` claim to enable mapping between AAD groups and kubernetes groups (https://mobb.ninja/docs/idp/az-ad-grp-sync/ ) and add `oidc AAD` identity provider as well as create a `Secret` for AzureAD.
## Note
Please make sure that the `kube_config_path` variable has same value in the two directories above