Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for secret (0.53 sec)

  1. istioctl/pkg/multicluster/remote_secret.go

    	return saName + "-istio-remote-secret-token"
    }
    
    func secretReferencesServiceAccount(serviceAccount *v1.ServiceAccount, secret *v1.Secret) error {
    	if secret.Type != v1.SecretTypeServiceAccountToken ||
    		secret.Annotations[v1.ServiceAccountNameKey] != serviceAccount.Name {
    		return fmt.Errorf("secret %s/%s does not reference ServiceAccount %s",
    			secret.Namespace, secret.Name, serviceAccount.Name)
    	}
    	return nil
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/secret_test.go

    	configDumpFile, err := os.Open("testdata/secret/config_dump.json")
    	if err != nil {
    		t.Errorf("error opening test data file: %v", err)
    	}
    	defer configDumpFile.Close()
    	configDump, err := io.ReadAll(configDumpFile)
    	if err != nil {
    		t.Errorf("error reading test data file: %v", err)
    	}
    
    	outFile, err := os.Open("testdata/secret/output")
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. istioctl/pkg/multicluster/remote_secret_test.go

    	testServiceAccountName = "test-service-account"
    )
    
    func makeServiceAccount(secrets ...string) *v1.ServiceAccount {
    	sa := &v1.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testServiceAccountName,
    			Namespace: testNamespace,
    		},
    	}
    
    	for _, secret := range secrets {
    		sa.Secrets = append(sa.Secrets, v1.ObjectReference{
    			Name:      secret,
    			Namespace: testNamespace,
    		})
    	}
    
    	return sa
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Oct 31 14:48:28 GMT 2023
    - 20.6K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/compare/sds/util.go

    		secret, err := parseDynamicSecret(warmingSecret, "WARMING")
    		if err != nil {
    			return nil, fmt.Errorf("failed building warming secret %s: %v",
    				warmingSecret.Name, err)
    		}
    		proxySecretItems = append(proxySecretItems, secret)
    	}
    	for _, activeSecret := range secretConfigDump.DynamicActiveSecrets {
    		secret, err := parseDynamicSecret(activeSecret, "ACTIVE")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jun 06 15:14:48 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/ztunnel/configdump/certificates.go

    	for _, secret := range secretDump {
    		if strings.Contains(secret.State, "Unavailable") {
    			secret.State = "Unavailable"
    		}
    		if len(secret.CertChain) == 0 {
    			fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%v\t%v\n",
    				secret.Identity, valueOrNA(""), secret.State, false, valueOrNA(""), valueOrNA(""), valueOrNA(""))
    		} else {
    			for i, ca := range secret.CertChain {
    				t := "Intermediate"
    				if i == 0 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 16:38:16 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/configdump.go

    		// check the ROOTCA from secret dump
    		if secret.Name == "ROOTCA" {
    			var returnStr string
    			var returnErr error
    			strCA, err := c.configDump.GetRootCAFromSecretConfigDump(secret.GetSecret())
    			if err != nil {
    				returnStr = ""
    				returnErr = fmt.Errorf("can not dump ROOTCA from secret: %v", err)
    			} else {
    				returnStr = strCA
    				returnErr = nil
    			}
    			return returnStr, returnErr
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 29 20:46:41 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/core/v1/generated.proto

      // sensitive information to pass to the CSI driver to complete the CSI
      // ControllerExpandVolume call.
      // This field is optional, and may be empty if no secret is required. If the
      // secret object contains more than one secret, all secrets are passed.
      // +optional
      optional SecretReference controllerExpandSecretRef = 9;
    
      // nodeExpandSecretRef is a reference to the secret object containing
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  8. manifests/charts/gateways/istio-ingress/templates/deployment.yaml

                    fieldPath: spec.nodeName
              volumeMounts:
              - name: workload-socket
                mountPath: /var/run/secrets/workload-spiffe-uds
              - name: credential-socket
                mountPath: /var/run/secrets/credential-uds
              - name: workload-certs
                mountPath: /var/run/secrets/workload-spiffe-credentials
              - name: istio-envoy
                mountPath: /etc/istio/proxy
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 12.1K bytes
    - Viewed (1)
  9. common/scripts/metallb-native.yaml

                  passwordSecret:
                    description: passwordSecret is name of the authentication secret for
                      BGP Peer. the secret must be of type "kubernetes.io/basic-auth",
                      and created in the same namespace as the MetalLB deployment. The
                      password is stored in the secret as the key "password".
                    properties:
                      name:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig.go

    	secretConfigCmd := &cobra.Command{
    		Use:   "secret [<type>/]<name>[.<namespace>]",
    		Short: "Retrieves secret configuration for the Envoy in the specified pod",
    		Long:  `Retrieve information about secret configuration for the Envoy instance in the specified pod.`,
    		Example: `  # Retrieve full secret configuration for a given pod from Envoy.
      istioctl proxy-config secret <pod-name[.namespace]>
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top