Skip to content

Commit

Permalink
fix: generate kubeconfig using proper types
Browse files Browse the repository at this point in the history
Generating YAML using text templates is going to stop working because of
proper escaping.

Also fix unrelated issue with `cloud.google.com/go` module which got
split into submodules, and now this conflicts with each other.

Fixes #7180

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
  • Loading branch information
smira committed Jul 29, 2024
1 parent 240104e commit 19aa44c
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 291 deletions.
1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ linters-settings:
- github.com/mdlayher/kobject
- golang.zx2c4.com/wireguard
- golang.zx2c4.com/wireguard/wgctrl
- cloud.google.com/go
retract-allow-no-explanation: false
exclude-forbidden: false

Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ module github.com/siderolabs/talos
go 1.22.5

replace (
// see e.g. https://github.com/grpc/grpc-go/issues/6696
cloud.google.com/go => cloud.google.com/go v0.100.2

// forked coredns so we don't carry caddy and other stuff into the Talos
github.com/coredns/coredns => github.com/siderolabs/coredns v1.11.53

Expand Down
Loading

0 comments on commit 19aa44c

Please sign in to comment.