Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- sks: add `--kubelet-max-pods` flag to `nodepool add`/`update` commands (#904)
- sks: add a `generate-karpenter-manifests` (short: `km`) command to generate the Karpenter manifests relevant to a cluster
- Add "all" protocol to security groups
- vpc: Add support for configuring ip forwarding on instance
### Bug fixes

- iam: include policies in role show output (#903)
Expand Down
2 changes: 2 additions & 0 deletions cmd/compute/instance/instance_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ type instanceCreateCmd struct {
DeployTarget string `cli-usage:"instance Deploy Target NAME|ID"`
DiskSize int64 `cli-usage:"instance disk size"`
TPM bool `cli-flag:"tpm" cli-usage:"enable TPM on instance"`
IpForwarding bool `cli-flag:"ip-forwarding" cli-usage:"enable ip forwarding on instance"`
SecureBoot bool `cli-flag:"secureboot" cli-usage:"enable Secure boot on instance"`
InstanceType string `cli-usage:"instance type (format: [FAMILY.]SIZE)"`
Labels map[string]string `cli-flag:"label" cli-usage:"instance label (format: key=value)"`
Expand Down Expand Up @@ -131,6 +132,7 @@ func (c *instanceCreateCmd) CmdRun(cmd *cobra.Command, _ []string) error { //nol
DiskSize: diskSize,
PublicIPAssignment: publicIPAssignment,
TpmEnabled: &c.TPM,
IPForwarding: &c.IpForwarding,
SecurebootEnabled: &c.SecureBoot,
Labels: c.Labels,
Name: c.Name,
Expand Down
2 changes: 2 additions & 0 deletions cmd/compute/instance/instance_show.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type InstanceShowOutput struct {
Labels map[string]string `json:"labels"`
SecureBoot bool `json:"secureboot"`
Tpm bool `json:"tpm"`
IpForwarding bool `json:"ip_forwarding"`
ReverseDNS v3.DomainName `json:"reverse_dns" outputLabel:"Reverse DNS"`
AppConsistentSnapshot bool `json:"application_consistent_snapshot_enabled" outputLabel:"Application-Consistent Snapshot enabled"`
}
Expand Down Expand Up @@ -136,6 +137,7 @@ func (c *instanceShowCmd) CmdRun(cmd *cobra.Command, _ []string) error {
SecurityGroups: make([]string, 0),
SecureBoot: *instance.SecurebootEnabled,
Tpm: *instance.TpmEnabled,
IpForwarding: *instance.IPForwarding,
State: instance.State,
Zone: c.Zone,
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
github.com/aws/smithy-go v1.27.3
github.com/dustin/go-humanize v1.0.1
github.com/exoscale/egoscale/v3 v3.1.47
github.com/exoscale/egoscale/v3 v3.1.50
github.com/exoscale/openapi-cli-generator v1.2.0
github.com/fatih/camelcase v1.0.0
github.com/hashicorp/go-multierror v1.1.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.
github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws=
github.com/exoscale/egoscale/v3 v3.1.47 h1:nJmtXGWWJ2DLqCizM2LqjJnykJH976Bt+kQ9ynCD/Q4=
github.com/exoscale/egoscale/v3 v3.1.47/go.mod h1:DUTgeubl5msPAo3SKFed04AxNhyTNOrCTJHZDRYLR10=
github.com/exoscale/egoscale/v3 v3.1.50 h1:1noLE9TUpPZeDXoCk4DQcq/msg9DZYciwy9ICsJxSkQ=
github.com/exoscale/egoscale/v3 v3.1.50/go.mod h1:DUTgeubl5msPAo3SKFed04AxNhyTNOrCTJHZDRYLR10=
github.com/exoscale/openapi-cli-generator v1.2.0 h1:xgTff1bInBP+JZCauD7Jq9GNBFoKK31Cnv5FIAcxtrk=
github.com/exoscale/openapi-cli-generator v1.2.0/go.mod h1:TZBnbT7f3hJ5ImyUphJwRM+X5xF/zCQZ6o8a42gQeTs=
github.com/fatih/camelcase v1.0.0 h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8=
Expand Down
4 changes: 3 additions & 1 deletion vendor/github.com/exoscale/egoscale/v3/errors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 14 additions & 2 deletions vendor/github.com/exoscale/egoscale/v3/operations.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions vendor/github.com/exoscale/egoscale/v3/schemas.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/exoscale/egoscale/v3/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ github.com/dlclark/regexp2/syntax
# github.com/dustin/go-humanize v1.0.1
## explicit; go 1.16
github.com/dustin/go-humanize
# github.com/exoscale/egoscale/v3 v3.1.47
# github.com/exoscale/egoscale/v3 v3.1.50
## explicit; go 1.25
github.com/exoscale/egoscale/v3
github.com/exoscale/egoscale/v3/credentials
Expand Down