Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for SecretNamespace (0.43 sec)

  1. pkg/kube/multicluster/secretcontroller_test.go

    	var (
    		secret0 = makeSecret(secretNamespace, "s0",
    			clusterCredential{"c0", []byte("kubeconfig0-0")})
    		secret0UpdateKubeconfigChanged = makeSecret(secretNamespace, "s0",
    			clusterCredential{"c0", []byte("kubeconfig0-1")})
    		secret0UpdateKubeconfigSame = makeSecret(secretNamespace, "s0",
    			clusterCredential{"c0", []byte("kubeconfig0-1")})
    		secret0AddCluster = makeSecret(secretNamespace, "s0",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. security/pkg/k8s/chiron/utils_test.go

    		secretName      string
    		secretNameSpace string
    		expectFail      bool
    	}{
    		"submitting a CSR without duplicate should succeed": {
    			gracePeriodRatio: 0.6,
    			k8sCaCertFile:    "./test-data/example-ca-cert.pem",
    			dnsNames:         []string{"foo"},
    			secretNames:      []string{"istio.webhook.foo"},
    			secretName:       "mock-secret",
    			secretNameSpace:  "mock-secret-namespace",
    			expectFail:       false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 03:58:11 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    	revision          string
    
    	// secretNamespace where we get cluster-access secrets
    	secretNamespace string
    	component       *multicluster.Component[*kubeController]
    }
    
    // NewMulticluster initializes data structure to store multicluster information
    func NewMulticluster(
    	serverID string,
    	kc kubernetes.Interface,
    	secretNamespace string,
    	opts Options,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. pkg/volume/iscsi/iscsi.go

    	if err != nil {
    		return nil, err
    	}
    	if chapDiscover || chapSession {
    		secretName, secretNamespace, err := getISCSISecretNameAndNamespace(spec, namespace)
    		if err != nil {
    			return nil, err
    		}
    
    		if len(secretName) > 0 && len(secretNamespace) > 0 {
    			// if secret is provideded, retrieve it
    			kubeClient := plugin.host.GetKubeClient()
    			if kubeClient == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. pkg/volume/util/util.go

    func GetSecretForPV(secretNamespace, secretName, volumePluginName string, kubeClient clientset.Interface) (map[string]string, error) {
    	secret := make(map[string]string)
    	if kubeClient == nil {
    		return secret, fmt.Errorf("cannot get kube client")
    	}
    	secrets, err := kubeClient.CoreV1().Secrets(secretNamespace).Get(context.TODO(), secretName, metav1.GetOptions{})
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  6. pkg/apis/core/zz_generated.deepcopy.go

    func (in *AzureFilePersistentVolumeSource) DeepCopyInto(out *AzureFilePersistentVolumeSource) {
    	*out = *in
    	if in.SecretNamespace != nil {
    		in, out := &in.SecretNamespace, &out.SecretNamespace
    		*out = new(string)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilePersistentVolumeSource.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *AzureFilePersistentVolumeSource) DeepCopyInto(out *AzureFilePersistentVolumeSource) {
    	*out = *in
    	if in.SecretNamespace != nil {
    		in, out := &in.SecretNamespace, &out.SecretNamespace
    		*out = new(string)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFilePersistentVolumeSource.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/zz_generated.conversion.go

    	out.SecretName = in.SecretName
    	out.ShareName = in.ShareName
    	out.ReadOnly = in.ReadOnly
    	out.SecretNamespace = (*string)(unsafe.Pointer(in.SecretNamespace))
    	return nil
    }
    
    // Convert_v1_AzureFilePersistentVolumeSource_To_core_AzureFilePersistentVolumeSource is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 472.1K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation.go

    	}
    	if azure.ShareName == "" {
    		allErrs = append(allErrs, field.Required(fldPath.Child("shareName"), ""))
    	}
    	if azure.SecretNamespace != nil {
    		if len(*azure.SecretNamespace) == 0 {
    			allErrs = append(allErrs, field.Required(fldPath.Child("secretNamespace"), ""))
    		}
    	}
    	return allErrs
    }
    
    func validateAzureDisk(azure *core.AzureDiskVolumeSource, fldPath *field.Path) field.ErrorList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/types.go

    	// +optional
    	ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"`
    	// secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key
    	// default is the same as the Pod
    	// +optional
    	SecretNamespace *string `json:"secretNamespace" protobuf:"bytes,4,opt,name=secretNamespace"`
    }
    
    // Represents a vSphere volume resource.
    type VsphereVirtualDiskVolumeSource struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 390.8K bytes
    - Viewed (0)
Back to top