Skip to content

Commit 3d3b907

Browse files
authored
Adding repos for migrations (#6)
1 parent f3d3b80 commit 3d3b907

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

main.tf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ locals {
4848
name = "CLOUDFLARE_AUTH_CLIENT_ID"
4949
value = data.sops_file.secret_vars.data["cloudflare_auth_client_id"]
5050
repositories = [
51+
"ansible-site-cluster",
5152
"cluster",
5253
"terraform-github-repos",
5354
"terraform-runner"
@@ -57,6 +58,7 @@ locals {
5758
name = "CLOUDFLARE_AUTH_CLIENT_SECRET"
5859
value = data.sops_file.secret_vars.data["cloudflare_auth_client_secret"]
5960
repositories = [
61+
"ansible-site-cluster",
6062
"cluster",
6163
"terraform-github-repos",
6264
"terraform-runner"
@@ -66,6 +68,7 @@ locals {
6668
name = "OPENSHIFT_SERVER_URL"
6769
value = data.sops_file.secret_vars.data["openshift_server_url"]
6870
repositories = [
71+
"ansible-site-cluster",
6972
"cluster",
7073
"terraform-github-repos",
7174
"terraform-runner"
@@ -75,6 +78,7 @@ locals {
7578
name = "OPENSHIFT_USERNAME"
7679
value = data.sops_file.secret_vars.data["openshift_username"]
7780
repositories = [
81+
"ansible-site-cluster",
7882
"cluster",
7983
"terraform-github-repos",
8084
"terraform-runner"
@@ -84,6 +88,7 @@ locals {
8488
name = "OPENSHIFT_PASSWORD"
8589
value = data.sops_file.secret_vars.data["openshift_password"]
8690
repositories = [
91+
"ansible-site-cluster",
8792
"cluster",
8893
"terraform-github-repos",
8994
"terraform-runner"
@@ -93,6 +98,7 @@ locals {
9398
name = "OPENSHIFT_TOKEN"
9499
value = data.sops_file.secret_vars.data["openshift_token"]
95100
repositories = [
101+
"ansible-site-cluster",
96102
"cluster",
97103
"terraform-github-repos",
98104
"terraform-runner"
@@ -102,6 +108,7 @@ locals {
102108
name = "SOPS_AGE_KEY"
103109
value = data.sops_file.secret_vars.data["sops_age_key"]
104110
repositories = [
111+
"ansible-site-cluster",
105112
"cluster",
106113
"terraform-github-repos",
107114
"terraform-libvirt-infra"
@@ -111,6 +118,7 @@ locals {
111118
name = "SSH_PRIVATE_KEY"
112119
value = data.sops_file.secret_vars.data["ssh_private_key"]
113120
repositories = [
121+
"ansible-site-cluster",
114122
"cluster",
115123
"terraform-libvirt-infra"
116124
]
@@ -119,6 +127,7 @@ locals {
119127
name = "SSH_KNOWN_HOSTS"
120128
value = data.sops_file.secret_vars.data["ssh_known_hosts"]
121129
repositories = [
130+
"ansible-site-cluster",
122131
"cluster",
123132
"terraform-libvirt-infra"
124133
]
@@ -127,13 +136,15 @@ locals {
127136
name = "SSH_USER"
128137
value = data.sops_file.secret_vars.data["ssh_user"]
129138
repositories = [
139+
"ansible-site-cluster",
130140
"cluster"
131141
]
132142
}
133143
"ssh_host" = {
134144
name = "SSH_HOST"
135145
value = data.sops_file.secret_vars.data["ssh_host"]
136146
repositories = [
147+
"ansible-site-cluster",
137148
"cluster"
138149
]
139150
}

terraform.tfvars

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
github_repositories = [
22
".github",
3+
"ansible-site-cluster",
4+
"ansible-site-torwww",
35
"ansible-role-crc",
46
"ansible-role-ksops",
7+
"gitops-cluster-config",
58
"cflan",
69
"cluster",
710
"onion",

0 commit comments

Comments
 (0)