- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for SecretVolumeSource (0.21 sec)
-
pkg/volume/secret/secret.go
return volumeutil.UnmountViaEmptyDir(dir, c.plugin.host, c.volName, wrappedVolumeSpec(), c.podUID) } func getVolumeSource(spec *volume.Spec) (*v1.SecretVolumeSource, bool) { var readOnly bool var volumeSource *v1.SecretVolumeSource if spec.Volume != nil && spec.Volume.Secret != nil { volumeSource = spec.Volume.Secret readOnly = spec.ReadOnly } return volumeSource, readOnly
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 9.1K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
NodeName: "node1", Volumes: []corev1.Volume{ {VolumeSource: corev1.VolumeSource{Secret: &corev1.SecretVolumeSource{SecretName: "node1-only"}}}, {VolumeSource: corev1.VolumeSource{Secret: &corev1.SecretVolumeSource{SecretName: "node1-node2-only"}}}, {VolumeSource: corev1.VolumeSource{Secret: &corev1.SecretVolumeSource{SecretName: "shared-all"}}}, }, }, }) g.AddPod(&corev1.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 40.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go
}).Volume(v1.Volume{ VolumeSource: v1.VolumeSource{ Secret: &v1.SecretVolumeSource{}, }, }).Obj() pvcPodWithConfigmapAndSecret = st.MakePod().PVC("pvcWithDeletedPV").Volume(v1.Volume{ VolumeSource: v1.VolumeSource{ ConfigMap: &v1.ConfigMapVolumeSource{}, }, }).Volume(v1.Volume{ VolumeSource: v1.VolumeSource{ Secret: &v1.SecretVolumeSource{}, }, }).Obj()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 30 23:00:56 UTC 2023 - 36.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/csi_test.go
Secret: &v1.SecretVolumeSource{}, }, }, }, }, } pvcPodWithConfigmapAndSecret := &v1.Pod{ Spec: v1.PodSpec{ Volumes: []v1.Volume{ { VolumeSource: v1.VolumeSource{ ConfigMap: &v1.ConfigMapVolumeSource{}, }, }, { VolumeSource: v1.VolumeSource{ Secret: &v1.SecretVolumeSource{}, }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 18:07:11 UTC 2024 - 28.6K bytes - Viewed (0) -
plugin/pkg/admission/serviceaccount/admission_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 36.9K bytes - Viewed (0) -
pkg/volume/secret/secret_test.go
} if plugin.GetPluginName() != secretPluginName { t.Errorf("Wrong name: %s", plugin.GetPluginName()) } if !plugin.CanSupport(&volume.Spec{Volume: &v1.Volume{VolumeSource: v1.VolumeSource{Secret: &v1.SecretVolumeSource{SecretName: ""}}}}) { t.Errorf("Expected true") } if plugin.CanSupport(&volume.Spec{}) { t.Errorf("Expected false") } } func TestPlugin(t *testing.T) { var (
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 19.5K bytes - Viewed (0) -
pkg/api/v1/pod/util_test.go
Name: "Spec.Volumes[*].VolumeSource.RBD.SecretRef"}}}}, { VolumeSource: v1.VolumeSource{ Secret: &v1.SecretVolumeSource{ SecretName: "Spec.Volumes[*].VolumeSource.Secret.SecretName"}}}, { VolumeSource: v1.VolumeSource{ Secret: &v1.SecretVolumeSource{ SecretName: "Spec.Volumes[*].VolumeSource.Secret"}}}, { VolumeSource: v1.VolumeSource{ ScaleIO: &v1.ScaleIOVolumeSource{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 32.1K bytes - Viewed (0) -
pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go
} return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod-1", Namespace: "default", }, Spec: v1.PodSpec{ Volumes: []v1.Volume{{Name: "foo", VolumeSource: v1.VolumeSource{Secret: &v1.SecretVolumeSource{SecretName: "token-secret-1"}}}}, }, } } func patchContent(namespace, name, invalidSince string, uID types.UID) []byte {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 27 03:52:06 UTC 2023 - 21.1K bytes - Viewed (0) -
pkg/apis/core/v1/defaults.go
} if obj.SuccessThreshold == 0 { obj.SuccessThreshold = 1 } if obj.FailureThreshold == 0 { obj.FailureThreshold = 3 } } func SetDefaults_SecretVolumeSource(obj *v1.SecretVolumeSource) { if obj.DefaultMode == nil { perm := int32(v1.SecretVolumeSourceDefaultMode) obj.DefaultMode = &perm } } func SetDefaults_ConfigMapVolumeSource(obj *v1.ConfigMapVolumeSource) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 22:24:15 UTC 2024 - 14.8K bytes - Viewed (0) -
pkg/apis/core/fuzzer/fuzzer.go
m.FieldRef.APIVersion = versions[c.Rand.Intn(len(versions))] m.FieldRef.FieldPath = c.RandString() c.Fuzz(m.Mode) if m.Mode != nil { *m.Mode &= 0777 } }, func(s *core.SecretVolumeSource, c fuzz.Continue) { c.FuzzNoCustom(s) // fuzz self without calling this function again if c.RandBool() { opt := c.RandBool() s.Optional = &opt }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 04:32:01 UTC 2024 - 18.5K bytes - Viewed (0)