Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
ci: fix formatting of lokocfg files
Browse files Browse the repository at this point in the history
With 'terraform fmt'.

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
  • Loading branch information
invidian committed Mar 18, 2020
1 parent 6e2e567 commit af9f0c2
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
18 changes: 9 additions & 9 deletions ci/baremetal/baremetal-cluster.lokocfg.envsubst
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Note: number of worker nodes has to match `pxe-testbed --num-nodes ...` count
cluster "bare-metal" {
asset_dir = pathexpand("~/lokoctl-assets")
ssh_pubkeys = [file(pathexpand("~/.ssh/id_rsa.pub"))]
cached_install = "true"
matchbox_ca_path = pathexpand("~/pxe-testbed/.matchbox/ca.crt")
asset_dir = pathexpand("~/lokoctl-assets")
ssh_pubkeys = [file(pathexpand("~/.ssh/id_rsa.pub"))]
cached_install = "true"
matchbox_ca_path = pathexpand("~/pxe-testbed/.matchbox/ca.crt")
matchbox_client_cert_path = pathexpand("~/pxe-testbed/.matchbox/client.crt")
matchbox_client_key_path = pathexpand("~/pxe-testbed/.matchbox/client.key")
matchbox_endpoint = "matchbox.example.com:8081"
matchbox_http_endpoint = "http://matchbox.example.com:8080"
cluster_name = "mercury"
k8s_domain_name = "node1.example.com"
matchbox_client_key_path = pathexpand("~/pxe-testbed/.matchbox/client.key")
matchbox_endpoint = "matchbox.example.com:8081"
matchbox_http_endpoint = "http://matchbox.example.com:8080"
cluster_name = "mercury"
k8s_domain_name = "node1.example.com"
controller_domains = [
"node1.example.com",
]
Expand Down
2 changes: 1 addition & 1 deletion ci/packet-arm/packet-arm-cluster.lokocfg.envsubst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cluster "packet" {
}
}

facility = "$PACKET_LOCATION"
facility = "$PACKET_LOCATION"

project_id = "$PACKET_PROJECT_ID"

Expand Down
22 changes: 11 additions & 11 deletions ci/packet/packet-cluster.lokocfg.envsubst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cluster "packet" {
}
}

facility = "$PACKET_LOCATION"
facility = "$PACKET_LOCATION"

project_id = "$PACKET_PROJECT_ID"

Expand All @@ -24,7 +24,7 @@ cluster "packet" {
worker_pool "pool-1" {
count = 2
node_type = "c2.medium.x86"
labels = "testing.io=yes,roleofnode=testing"
labels = "testing.io=yes,roleofnode=testing"
}

# Smoke test for extra flags feature.
Expand All @@ -36,7 +36,7 @@ cluster "packet" {
component "openebs-operator" {}

component "contour" {
ingress_hosts = ["dex.$CLUSTER_ID.$AWS_DNS_ZONE","gangway.$CLUSTER_ID.$AWS_DNS_ZONE"]
ingress_hosts = ["dex.$CLUSTER_ID.$AWS_DNS_ZONE", "gangway.$CLUSTER_ID.$AWS_DNS_ZONE"]
}

component "metallb" {
Expand All @@ -51,11 +51,11 @@ component "cert-manager" {
email = "$EMAIL"
}

component "external-dns"{
component "external-dns" {
policy = "sync"
aws {
zone_id = "$AWS_DNS_ZONE_ID"
aws_access_key_id = "$AWS_ACCESS_KEY_ID"
zone_id = "$AWS_DNS_ZONE_ID"
aws_access_key_id = "$AWS_ACCESS_KEY_ID"
aws_secret_access_key = "$AWS_SECRET_ACCESS_KEY"
}
}
Expand All @@ -66,13 +66,13 @@ component "dex" {
issuer_host = "$ISSUER_HOST"

connector "github" {
id = "github"
id = "github"
name = "GitHub"

config {
client_id = "$GITHUB_CLIENT_ID"
client_id = "$GITHUB_CLIENT_ID"
client_secret = "$GITHUB_CLIENT_SECRET"
redirect_uri = "$REDIRECT_URI"
redirect_uri = "$REDIRECT_URI"

team_name_field = "slug"

Expand Down Expand Up @@ -125,7 +125,7 @@ component "flatcar-linux-update-operator" {}
component "openebs-storage-class" {
storage-class "openebs-test-sc" {
replica_count = 1
default = true
default = true
}
}

Expand All @@ -143,7 +143,7 @@ component "cluster-autoscaler" {

packet {
project_id = "$PACKET_PROJECT_ID"
facility = "$PACKET_LOCATION"
facility = "$PACKET_LOCATION"
}
}

Expand Down

0 comments on commit af9f0c2

Please sign in to comment.