Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

Commit

Permalink
fix(amazon-vpc-cni-k8s): we need kiam 2.8 for amazon-vpc-cni-k8s
Browse files Browse the repository at this point in the history
Because the --host-interface flag used for the setup is only present after kiam 2.7
  • Loading branch information
mumoshu committed Sep 30, 2018
1 parent 09e338b commit 9dd1b58
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions core/controlplane/config/amazon_vpc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package config
2 changes: 1 addition & 1 deletion core/controlplane/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func NewDefaultCluster() *Cluster {
},
KIAMSupport: KIAMSupport{
Enabled: false,
Image: model.Image{Repo: "quay.io/uswitch/kiam", Tag: "v2.7", RktPullDocker: false},
Image: model.Image{Repo: "quay.io/uswitch/kiam", Tag: "v2.8", RktPullDocker: false},
SessionDuration: "15m",
ServerAddresses: KIAMServerAddresses{ServerAddress: "localhost:443", AgentAddress: "kiam-server:443"},
},
Expand Down
2 changes: 1 addition & 1 deletion core/root/config/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,7 @@ experimental:
enabled: false
image:
repo: quay.io/uswitch/kiam
tag: v2.7
tag: v2.8
rktPullDocker: false
sessionDuration: 15m
serverAddresses:
Expand Down
6 changes: 3 additions & 3 deletions test/integration/maincluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func TestMainClusterConfig(t *testing.T) {
},
KIAMSupport: controlplane_config.KIAMSupport{
Enabled: false,
Image: model.Image{Repo: "quay.io/uswitch/kiam", Tag: "v2.7", RktPullDocker: false},
Image: model.Image{Repo: "quay.io/uswitch/kiam", Tag: "v2.8", RktPullDocker: false},
SessionDuration: "15m",
ServerAddresses: controlplane_config.KIAMServerAddresses{ServerAddress: "localhost:443", AgentAddress: "kiam-server:443"},
},
Expand Down Expand Up @@ -1442,7 +1442,7 @@ worker:
},
KIAMSupport: controlplane_config.KIAMSupport{
Enabled: false,
Image: model.Image{Repo: "quay.io/uswitch/kiam", Tag: "v2.7", RktPullDocker: false},
Image: model.Image{Repo: "quay.io/uswitch/kiam", Tag: "v2.8", RktPullDocker: false},
SessionDuration: "15m",
ServerAddresses: controlplane_config.KIAMServerAddresses{ServerAddress: "localhost:443", AgentAddress: "kiam-server:443"},
},
Expand Down Expand Up @@ -1686,7 +1686,7 @@ worker:
expected := controlplane_config.Experimental{
KIAMSupport: controlplane_config.KIAMSupport{
Enabled: true,
Image: model.Image{Repo: "quay.io/uswitch/kiam", Tag: "v2.7", RktPullDocker: false},
Image: model.Image{Repo: "quay.io/uswitch/kiam", Tag: "v2.8", RktPullDocker: false},
SessionDuration: "15m",
ServerAddresses: controlplane_config.KIAMServerAddresses{ServerAddress: "localhost:443", AgentAddress: "kiam-server:443"},
},
Expand Down

0 comments on commit 9dd1b58

Please sign in to comment.