Skip to content

Commit

Permalink
rotate access cred (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivian-rook authored Dec 5, 2023
1 parent 5c59ab3 commit 569f950
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Binary file modified ansible/files/csi-secret-cinderplugin.yaml.eqiad1.crypt
Binary file not shown.
14 changes: 7 additions & 7 deletions terraform/123-1.tf → terraform/123-2.tf
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
resource "openstack_containerinfra_cluster_v1" "k8s_123_1" {
name = "superset${var.name[var.datacenter]}-123-1"
cluster_template_id = resource.openstack_containerinfra_clustertemplate_v1.template_123_1.id
resource "openstack_containerinfra_cluster_v1" "k8s_123_2" {
name = "superset${var.name[var.datacenter]}-123-2"
cluster_template_id = resource.openstack_containerinfra_clustertemplate_v1.template_123_2.id
master_count = 1
node_count = var.workers[var.datacenter]
}

resource "local_file" "kube_config" {
content = resource.openstack_containerinfra_cluster_v1.k8s_123_1.kubeconfig.raw_config
content = resource.openstack_containerinfra_cluster_v1.k8s_123_2.kubeconfig.raw_config
filename = "kube.config"
}

resource "openstack_containerinfra_clustertemplate_v1" "template_123_1" {
name = "superset${var.name[var.datacenter]}-123-1"
resource "openstack_containerinfra_clustertemplate_v1" "template_123_2" {
name = "superset${var.name[var.datacenter]}-123-2"
coe = "kubernetes"
dns_nameserver = "8.8.8.8"
docker_storage_driver = "overlay2"
docker_volume_size = "20"
docker_volume_size = "50"
external_network_id = var.external_network_id[var.datacenter]
fixed_subnet = var.fixed_subnet[var.datacenter]
fixed_network = var.fixed_network[var.datacenter]
Expand Down
Binary file modified terraform/secrets.tf
Binary file not shown.
2 changes: 1 addition & 1 deletion terraform/vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ variable "application_credential_id" {
type = map(any)
default = {
"codfw1dev" = "d75b42a45eaa48ea928a316484e254b4"
"eqiad1" = "91fc0e330c734a439be74d335627dfed"
"eqiad1" = "e6cab7d94229458b851c17a6b9217126"
}
}

Expand Down

0 comments on commit 569f950

Please sign in to comment.