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

Commit

Permalink
examples: make Flatcar channels explicit
Browse files Browse the repository at this point in the history
If Flatcar channels are not explicit, it is difficult for the user to
find out how to change them. It also makes it less likely to forget to
change it in the worker pool section.
  • Loading branch information
alban committed Jun 5, 2020
1 parent 9871848 commit c94727f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/aws-production/cluster.lokocfg
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ cluster "aws" {
dns_zone_id = var.route53_zone_id
ssh_pubkeys = var.ssh_public_keys

//os_channel = "stable"
//os_version = "current"

oidc {
issuer_url = var.oidc_issuer_url
client_id = var.oidc_client_id
Expand All @@ -62,6 +65,9 @@ cluster "aws" {
count = var.workers_count
instance_type = var.workers_type
ssh_pubkeys = var.ssh_public_keys

//os_channel = "stable"
//os_version = "current"
}
}

Expand Down
6 changes: 6 additions & 0 deletions examples/aws-testing/cluster.lokocfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,16 @@ cluster "aws" {
dns_zone_id = var.route53_zone_id
ssh_pubkeys = var.ssh_public_keys

//os_channel = "stable"
//os_version = "current"

worker_pool "my-wp-name" {
count = var.workers_count
instance_type = var.workers_type
ssh_pubkeys = var.ssh_public_keys

//os_channel = "stable"
//os_version = "current"
}
}

Expand Down
7 changes: 7 additions & 0 deletions examples/packet-production/cluster.lokocfg
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ cluster "packet" {
cluster_name = var.cluster_name
controller_count = var.controllers_count

//os_channel = "stable"
//os_version = ""


dns {
provider = "route53"
zone = var.dns_zone
Expand All @@ -80,6 +84,9 @@ cluster "packet" {
worker_pool "pool-1" {
count = var.workers_count
node_type = var.workers_type

//os_channel = "stable"
//os_version = ""
}
}

Expand Down
7 changes: 7 additions & 0 deletions examples/packet-testing/cluster.lokocfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ cluster "packet" {
cluster_name = var.cluster_name
controller_count = var.controllers_count

//os_channel = "stable"
//os_version = ""


dns {
provider = "route53"
zone = var.dns_zone
Expand All @@ -58,6 +62,9 @@ cluster "packet" {
worker_pool "pool-1" {
count = var.workers_count
node_type = var.workers_type

//os_channel = "stable"
//os_version = ""
}
}

Expand Down

0 comments on commit c94727f

Please sign in to comment.