Skip to content

Commit

Permalink
fix:IsHostNetwork
Browse files Browse the repository at this point in the history
  • Loading branch information
zxwsclcmxbh committed Oct 28, 2023
1 parent 74d8035 commit 84d3ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/worker/option/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (a *Worker) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&a.GrdataPVCName, "grdata-pvc-name", "rbd-cpt-grdata", "The name of grdata persistent volume claim")
fs.StringVar(&a.Helm.DataDir, "/grdata/helm", "/grdata/helm", "The data directory of Helm.")
fs.StringVar(&a.SharedStorageClass, "shared-storageclass", "", "custom shared storage class.use the specified storageclass to create shared storage, if this parameter is not specified, it will use rainbondsssc by default")
fs.BoolVar(&a.IsHostNetwork, "is-hostNetwork", false, "deciding whether to use the k8s property to edit the HostNetwork.")
fs.BoolVar(&a.IsHostNetwork, "is-hostnetwork", false, "deciding whether to use the k8s property to edit the HostNetwork.")

a.Helm.RepoFile = path.Join(a.Helm.DataDir, "repo/repositories.yaml")
a.Helm.RepoCache = path.Join(a.Helm.DataDir, "cache")
Expand Down

0 comments on commit 84d3ed9

Please sign in to comment.