MCPcopy
hub / github.com/helm/helm / addDependencySubcommandFlags

Function addDependencySubcommandFlags

pkg/cmd/dependency.go:125–136  ·  view source on GitHub ↗
(f *pflag.FlagSet, client *action.Dependency)

Source from the content-addressed store, hash-verified

123}
124
125func addDependencySubcommandFlags(f *pflag.FlagSet, client *action.Dependency) {
126 f.BoolVar(&client.Verify, "verify", false, "verify the packages against signatures")
127 f.StringVar(&client.Keyring, "keyring", defaultKeyring(), "keyring containing public keys")
128 f.BoolVar(&client.SkipRefresh, "skip-refresh", false, "do not refresh the local repository cache")
129 f.StringVar(&client.Username, "username", "", "chart repository username where to locate the requested chart")
130 f.StringVar(&client.Password, "password", "", "chart repository password where to locate the requested chart")
131 f.StringVar(&client.CertFile, "cert-file", "", "identify HTTPS client using this SSL certificate file")
132 f.StringVar(&client.KeyFile, "key-file", "", "identify HTTPS client using this SSL key file")
133 f.BoolVar(&client.InsecureSkipTLSVerify, "insecure-skip-tls-verify", false, "skip tls certificate checks for the chart download")
134 f.BoolVar(&client.PlainHTTP, "plain-http", false, "use insecure HTTP connections for the chart download")
135 f.StringVar(&client.CaFile, "ca-file", "", "verify certificates of HTTPS-enabled servers using this CA bundle")
136}

Callers 2

newDependencyUpdateCmdFunction · 0.85
newDependencyBuildCmdFunction · 0.85

Calls 1

defaultKeyringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…