Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for AppArmor (0.14 sec)

  1. pkg/kubelet/kuberuntime/helpers_test.go

    		name               string
    		podProfile         *v1.AppArmorProfile
    		expectedProfile    *runtimeapi.SecurityProfile
    		expectedOldProfile string
    		expectError        bool
    	}{{
    		name:            "no appArmor",
    		expectedProfile: nil,
    	}, {
    		name:       "runtime default",
    		podProfile: &v1.AppArmorProfile{Type: v1.AppArmorProfileTypeRuntimeDefault},
    		expectedProfile: &runtimeapi.SecurityProfile{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. manifests/charts/istiod-remote/values.yaml

        # This is primarily to support PSP annotations. For example, if you defined a PSP with the annotations:
        #
        # annotations:
        #   apparmor.security.beta.kubernetes.io/allowedProfileNames: runtime/default
        #   apparmor.security.beta.kubernetes.io/defaultProfileName: runtime/default
        #
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. pkg/api/pod/warnings_test.go

    				ObjectMeta: metav1.ObjectMeta{Annotations: map[string]string{
    					`container.apparmor.security.beta.kubernetes.io/foo`: `unconfined`,
    				}},
    				Spec: api.PodSpec{Containers: []api.Container{{Name: "foo"}}},
    			},
    			expected: []string{
    				`template.metadata.annotations[container.apparmor.security.beta.kubernetes.io/foo]: deprecated since v1.30; use the "appArmorProfile" field instead`,
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  4. manifests/charts/istio-control/istio-discovery/values.yaml

        # This is primarily to support PSP annotations. For example, if you defined a PSP with the annotations:
        #
        # annotations:
        #   apparmor.security.beta.kubernetes.io/allowedProfileNames: runtime/default
        #   apparmor.security.beta.kubernetes.io/defaultProfileName: runtime/default
        #
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/security_context.go

    	if err != nil {
    		return nil, err
    	}
    
    	// set ApparmorProfile.
    	synthesized.Apparmor, synthesized.ApparmorProfile, err = getAppArmorProfile(pod, container)
    	if err != nil {
    		return nil, err
    	}
    
    	// set RunAsUser.
    	if synthesized.RunAsUser == nil {
    		if uid != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. operator/pkg/tpath/tree_test.go

    		{
    			desc:      "ModifyEscapedPathValue",
    			path:      `values.sidecarInjectorWebhook.injectedAnnotations.container\.apparmor\.security\.beta\.kubernetes\.io/istio-proxy`,
    			value:     `runtime/default`,
    			wantFound: true,
    			want: `
    values:
      sidecarInjectorWebhook:
        injectedAnnotations:
          container.apparmor.security.beta.kubernetes.io/istio-proxy: runtime/default
    `,
    		},
    	}
    	for _, tt := range tests {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  7. pkg/registry/core/pod/strategy.go

    				}
    			}
    
    			return true
    		})
    }
    
    // appArmorFieldForAnnotation takes a pod apparmor profile field and returns the
    // converted annotation value
    func appArmorAnnotationForField(field *api.AppArmorProfile) string {
    	// If only apparmor fields are specified, add the corresponding annotations.
    	// This ensures that the fields are enforced even if the node version
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  8. pkg/api/pod/util_test.go

    		pod            api.Pod
    	}{{
    		description:    "with AppArmor Annotations",
    		hasAnnotations: true,
    		pod: api.Pod{
    			ObjectMeta: metav1.ObjectMeta{Annotations: map[string]string{"a": "1", v1.DeprecatedAppArmorBetaContainerAnnotationKeyPrefix + "foo": "default"}},
    			Spec:       api.PodSpec{},
    		},
    	}, {
    		description:    "with AppArmor Annotations & fields",
    		hasAnnotations: true,
    		hasFields:      true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  9. pkg/api/pod/util.go

    	}
    
    	if !utilfeature.DefaultFeatureGate.Enabled(features.AppArmor) && !appArmorAnnotationsInUse(oldPodAnnotations) {
    		for k := range podAnnotations {
    			if strings.HasPrefix(k, api.DeprecatedAppArmorAnnotationKeyPrefix) {
    				delete(podAnnotations, k)
    			}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate.go

      # To override a setting that includes dots, escape them with a backslash (\).  Your shell may require enclosing quotes.
      istioctl manifest generate --set "values.sidecarInjectorWebhook.injectedAnnotations.container\.apparmor\.security\.beta\.kubernetes\.io/istio-proxy=runtime/default"
    `,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("generate accepts no positional arguments, got %#v", args)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top