Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for DefaultMode (0.14 sec)

  1. pkg/apis/storage/v1beta1/defaults_test.go

    	// field should be defaulted
    	defaultMode := storagev1beta1.VolumeBindingImmediate
    	output := roundTrip(t, runtime.Object(class)).(*storagev1beta1.StorageClass)
    	outMode := output.VolumeBindingMode
    	if outMode == nil {
    		t.Errorf("Expected VolumeBindingMode to be defaulted to: %+v, got: nil", defaultMode)
    	} else if *outMode != defaultMode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. pkg/volume/secret/secret.go

    // MakePayload function is exported so that it can be called from the projection volume driver
    func MakePayload(mappings []v1.KeyToPath, secret *v1.Secret, defaultMode *int32, optional bool) (map[string]volumeutil.FileProjection, error) {
    	if defaultMode == nil {
    		return nil, fmt.Errorf("no defaultMode used, not even the default value for it")
    	}
    
    	payload := make(map[string]volumeutil.FileProjection, len(secret.Data))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. pkg/apis/resource/v1alpha2/defaults_test.go

    	claim := &v1alpha2.ResourceClaim{}
    
    	// field should be defaulted
    	defaultMode := v1alpha2.AllocationModeWaitForFirstConsumer
    	output := roundTrip(t, runtime.Object(claim)).(*v1alpha2.ResourceClaim)
    	outMode := output.Spec.AllocationMode
    	if outMode != defaultMode {
    		t.Errorf("Expected AllocationMode to be defaulted to: %+v, got: %+v", defaultMode, outMode)
    	}
    
    	// field should not change
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 06:52:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. pkg/apis/storage/v1/defaults_test.go

    	class := &storagev1.StorageClass{}
    
    	// field should be defaulted
    	defaultMode := storagev1.VolumeBindingImmediate
    	output := roundTrip(t, runtime.Object(class)).(*storagev1.StorageClass)
    	outMode := output.VolumeBindingMode
    	if outMode == nil {
    		t.Errorf("Expected VolumeBindingMode to be defaulted to: %+v, got: nil", defaultMode)
    	} else if *outMode != defaultMode {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. samples/open-telemetry/loki/otel.yaml

          dnsPolicy: ClusterFirst
          restartPolicy: Always
          schedulerName: default-scheduler
          terminationGracePeriodSeconds: 30
          volumes:
            - configMap:
                defaultMode: 420
                items:
                  - key: opentelemetry-collector-config
                    path: opentelemetry-collector-config.yaml
                name: opentelemetry-collector-conf
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 06 20:18:25 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. samples/open-telemetry/otel.yaml

          dnsPolicy: ClusterFirst
          restartPolicy: Always
          schedulerName: default-scheduler
          terminationGracePeriodSeconds: 30
          volumes:
            - configMap:
                defaultMode: 420
                items:
                  - key: opentelemetry-collector-config
                    path: opentelemetry-collector-config.yaml
                name: opentelemetry-collector-conf
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 31 08:51:36 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml

        tolerationSeconds: 300
      - effect: NoExecute
        key: node.kubernetes.io/unreachable
        operator: Exists
        tolerationSeconds: 300
      volumes:
      - name: default-token-hu5jz
        secret:
          defaultMode: 420
          secretName: default-token-hu5jz
    status:
      conditions:
      - lastProbeTime: null
        lastTransitionTime: '2019-07-08T09:31:18Z'
        status: 'True'
        type: Initialized
      - lastProbeTime: null
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/manifest-generate/output/install_package_path.golden.yaml

              optional: true
              secretName: istio-kubeconfig
          - name: istio-csr-dns-cert
            secret:
              optional: true
              secretName: istiod-tls
          - configMap:
              defaultMode: 420
              name: istio-ca-root-cert
              optional: true
            name: istio-csr-ca-configmap
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/output/flag_output.golden.yaml

              optional: true
              secretName: istio-kubeconfig
          - name: istio-csr-dns-cert
            secret:
              optional: true
              secretName: istiod-tls
          - configMap:
              defaultMode: 420
              name: istio-ca-root-cert
              optional: true
            name: istio-csr-ca-configmap
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  10. samples/jwt-server/jwt-server.yaml

            ports:
            - containerPort: 8000
            - containerPort: 8443
          volumes:
          - name: certkeysecretresource
            secret:
              secretName: jwt-cert-key-secret
              defaultMode: 0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top