Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for secretNamespace (0.42 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/azurefilepersistentvolumesource.go

    	SecretName      *string `json:"secretName,omitempty"`
    	ShareName       *string `json:"shareName,omitempty"`
    	ReadOnly        *bool   `json:"readOnly,omitempty"`
    	SecretNamespace *string `json:"secretNamespace,omitempty"`
    }
    
    // AzureFilePersistentVolumeSourceApplyConfiguration constructs an declarative configuration of the AzureFilePersistentVolumeSource type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. pkg/volume/flexvolume/util.go

    			return "", "", nil
    		}
    		secretName := spec.PersistentVolume.Spec.FlexVolume.SecretRef.Name
    		secretNamespace := spec.PersistentVolume.Spec.FlexVolume.SecretRef.Namespace
    		if len(secretNamespace) == 0 {
    			secretNamespace = podNamespace
    		}
    		return secretName, secretNamespace, nil
    	}
    	return "", "", errNotFlexVolume
    }
    
    func getReadOnly(spec *volume.Spec) (bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 14 13:58:56 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/api/v1/persistentvolume/util_test.go

    )
    
    func TestPVSecrets(t *testing.T) {
    	// Stub containing all possible secret references in a PV.
    	// The names of the referenced secrets match struct paths detected by reflection.
    	secretNamespace := "Spec.PersistentVolumeSource.AzureFile.SecretNamespace"
    	pvs := []*corev1.PersistentVolume{
    		{Spec: corev1.PersistentVolumeSpec{
    			ClaimRef: &corev1.ObjectReference{Namespace: "claimrefns", Name: "claimrefname"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. pkg/api/v1/persistentvolume/util.go

    	visitor = skipEmptyNames(visitor)
    	source := &pv.Spec.PersistentVolumeSource
    	switch {
    	case source.AzureFile != nil:
    		if source.AzureFile.SecretNamespace != nil && len(*source.AzureFile.SecretNamespace) > 0 {
    			if len(source.AzureFile.SecretName) > 0 && !visitor(*source.AzureFile.SecretNamespace, source.AzureFile.SecretName, true /* kubeletVisible */) {
    				return false
    			}
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 05 03:36:23 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  7. 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)
  8. pkg/controller/bootstrap/bootstrapsigner.go

    // Signer is a controller that signs a ConfigMap with a set of tokens.
    type Signer struct {
    	client             clientset.Interface
    	configMapKey       string
    	configMapName      string
    	configMapNamespace string
    	secretNamespace    string
    
    	// syncQueue handles synchronizing updates to the ConfigMap.  We'll only ever
    	// have one item (Named <ConfigMapName>) in this queue. We are using it
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go

    		}
    	}
    }
    
    func (tc *LegacySATokenCleaner) getMountedSecretNames(secretNamespace string, namespaceToUsedSecretNames map[string]sets.String) (sets.String, error) {
    	if secrets, ok := namespaceToUsedSecretNames[secretNamespace]; ok {
    		return secrets, nil
    	}
    
    	podList, err := tc.podLister.Pods(secretNamespace).List(labels.Everything())
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/core.v1.PersistentVolume.yaml

        diskName: diskNameValue
        diskURI: diskURIValue
        fsType: fsTypeValue
        kind: kindValue
        readOnly: true
      azureFile:
        readOnly: true
        secretName: secretNameValue
        secretNamespace: secretNamespaceValue
        shareName: shareNameValue
      capacity:
        capacityKey: "0"
      cephfs:
        monitors:
        - monitorsValue
        path: pathValue
        readOnly: true
        secretFile: secretFileValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 03:26:35 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top