Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AddCertificateDirFlag (0.42 sec)

  1. cmd/kubeadm/app/cmd/options/certs.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package options
    
    import "github.com/spf13/pflag"
    
    // AddCertificateDirFlag adds the --certs-dir flag to the given flagset
    func AddCertificateDirFlag(fs *pflag.FlagSet, certsDir *string) {
    	fs.StringVar(certsDir, CertificatesDir, *certsDir, "The path where to save the certificates")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 12 09:44:35 UTC 2021
    - 856 bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/certs.go

    	return &genCSRConfig{
    		kubeConfigDir: kubeadmconstants.KubernetesDir,
    	}
    }
    
    func (o *genCSRConfig) addFlagSet(flagSet *pflag.FlagSet) {
    	options.AddConfigFlag(flagSet, &o.kubeadmConfigPath)
    	options.AddCertificateDirFlag(flagSet, &o.certDir)
    	options.AddKubeConfigDirFlag(flagSet, &o.kubeConfigDir)
    }
    
    // load merges command line flag values into kubeadm's config.
    // Reads Kubeadm config from a file (if present)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top