Skip to content

Commit

Permalink
Merge pull request #265 from briandowns/issue-264
Browse files Browse the repository at this point in the history
Explicitly Add k3s Flags to RKE2
  • Loading branch information
briandowns authored Aug 29, 2020
2 parents 064a37e + c3c6fdb commit ca5f9ba
Showing 1 changed file with 36 additions and 31 deletions.
67 changes: 36 additions & 31 deletions pkg/cli/cmds/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ var (
"service-cidr": copy,
"cluster-init": copy,
"cluster-reset": copy,
"cluster-reset-restore-path": copy,
"cluster-dns": copy,
"cluster-domain": copy,
"flannel-backend": drop,
Expand All @@ -55,37 +56,41 @@ var (
Hide: true,
Default: cmds.DisableItems,
},
"disable-selinux": drop,
"disable-scheduler": drop,
"disable-cloud-controller": drop,
"disable-network-policy": drop,
"disable-kube-proxy": drop,
"node-name": copy,
"with-node-id": drop,
"node-label": copy,
"node-taint": copy,
"docker": copy,
"container-runtime-endpoint": copy,
"pause-image": drop,
"private-registry": copy,
"node-ip": copy,
"node-external-ip": drop,
"resolv-conf": copy,
"flannel-iface": drop,
"flannel-conf": drop,
"kubelet-arg": copy,
"kube-proxy-arg": copy,
"rootless": drop,
"agent-token": copy,
"agent-token-file": copy,
"server": copy,
"secrets-encryption": copy,
"no-flannel": drop,
"no-deploy": drop,
"cluster-secret": drop,
"protect-kernel-defaults": copy,
"snapshotter": copy,
"selinux": copy,
"disable-selinux": drop,
"disable-scheduler": drop,
"disable-cloud-controller": drop,
"disable-network-policy": drop,
"disable-kube-proxy": drop,
"etcd-disable-snapshots": copy,
"etcd-snapshot-schedule-cron": copy,
"etcd-snapshot-retention": copy,
"etcd-snapshot-dir": copy,
"node-name": copy,
"with-node-id": drop,
"node-label": copy,
"node-taint": copy,
"docker": copy,
"container-runtime-endpoint": copy,
"pause-image": drop,
"private-registry": copy,
"node-ip": copy,
"node-external-ip": drop,
"resolv-conf": copy,
"flannel-iface": drop,
"flannel-conf": drop,
"kubelet-arg": copy,
"kube-proxy-arg": copy,
"rootless": drop,
"agent-token": copy,
"agent-token-file": copy,
"server": copy,
"secrets-encryption": copy,
"no-flannel": drop,
"no-deploy": drop,
"cluster-secret": drop,
"protect-kernel-defaults": copy,
"snapshotter": copy,
"selinux": copy,
})
)

Expand Down

0 comments on commit ca5f9ba

Please sign in to comment.