Skip to content

Commit

Permalink
feat: enable persistence for docker provider
Browse files Browse the repository at this point in the history
This PR removes the bit where we disabled persistence for the docker
provider. Doing so allows us to do things like upgrade k8s against a
docker-based cluster for testing purposes. Tested locally and a cluster
created just fine and an `upgrade-k8s` completed successfully.

Signed-off-by: Spencer Smith <spencer.smith@talos-systems.com>
(cherry picked from commit 56b83b0)
  • Loading branch information
rsmitty authored and smira committed Feb 11, 2022
1 parent 2eeb91d commit bdcbf9b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/provision/providers/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ func (p *provisioner) GenOptions(networkReq provision.NetworkRequest) []generate
}

return []generate.GenOption{
generate.WithPersist(false),
generate.WithNetworkOptions(
v1alpha1.WithNetworkInterfaceIgnore("eth0"),
v1alpha1.WithNetworkNameservers(nameservers...),
Expand Down

0 comments on commit bdcbf9b

Please sign in to comment.