Skip to content

Commit

Permalink
chore: add bottlerocket cloud-provider config (aws#4121)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwagner5 authored Jun 23, 2023
1 parent 7657e82 commit 158a8c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/providers/amifamily/bootstrap/bottlerocketsettings.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ type BottlerocketSettings struct {
// BottlerocketKubernetes is k8s specific configuration for bottlerocket api
type BottlerocketKubernetes struct {
APIServer *string `toml:"api-server"`
CloudProvider *string `toml:"cloud-provider"`
ClusterCertificate *string `toml:"cluster-certificate"`
ClusterName *string `toml:"cluster-name"`
ClusterDNSIP *string `toml:"cluster-dns-ip,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[settings.kubernetes]
"unknown-setting" = "unknown"
api-server = 'replaceme'
cloud-provider = 'external'
cluster-certificate = "replaceme"
cluster-name = 'replaceme'
max-pods = 9999999999 # replaceme
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[settings]
[settings.kubernetes]
api-server = 'https://test-cluster'
cloud-provider = 'external'
cluster-certificate = 'ca-bundle'
cluster-name = 'test-cluster'
cluster-dns-ip = '10.0.100.10'
Expand Down

0 comments on commit 158a8c8

Please sign in to comment.