Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for RoleBinding (0.44 sec)

  1. pkg/apis/rbac/validation/validation.go

    	}
    
    	return allErrs
    }
    
    func ValidateRoleBindingUpdate(roleBinding *rbac.RoleBinding, oldRoleBinding *rbac.RoleBinding) field.ErrorList {
    	allErrs := ValidateRoleBinding(roleBinding)
    	allErrs = append(allErrs, validation.ValidateObjectMetaUpdate(&roleBinding.ObjectMeta, &oldRoleBinding.ObjectMeta, field.NewPath("metadata"))...)
    
    	if oldRoleBinding.RoleRef != roleBinding.RoleRef {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:48:21 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  2. pkg/registry/rbac/rest/storage_rbac.go

    	}
    
    	// ensure bootstrap namespaced rolebindings are created or reconciled
    	for namespace, roleBindings := range p.RoleBindings {
    		for _, roleBinding := range roleBindings {
    			opts := reconciliation.ReconcileRoleBindingOptions{
    				RoleBinding: reconciliation.RoleBindingAdapter{RoleBinding: &roleBinding},
    				Client:      reconciliation.RoleBindingClientAdapter{Client: client.RbacV1(), NamespaceClient: client.CoreV1().Namespaces()},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  3. pkg/apis/rbac/validation/validation_test.go

    			},
    		},
    	)
    	if len(errs) != 0 {
    		t.Errorf("expected success: %v", errs)
    	}
    
    	errorCases := map[string]struct {
    		A rbac.RoleBinding
    		T field.ErrorType
    		F string
    	}{
    		"bad group": {
    			A: rbac.RoleBinding{
    				ObjectMeta: metav1.ObjectMeta{Namespace: metav1.NamespaceDefault, Name: "default"},
    				RoleRef:    rbac.RoleRef{APIGroup: "rbac.GroupName", Kind: "ClusterRole", Name: "valid"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/util/apiclient/idempotency.go

    			if _, err := client.RbacV1().RoleBindings(roleBinding.ObjectMeta.Namespace).Create(ctx, roleBinding, metav1.CreateOptions{}); err != nil {
    				if !apierrors.IsAlreadyExists(err) {
    					lastError = errors.Wrap(err, "unable to create RoleBinding")
    					return false, nil
    				}
    				if _, err := client.RbacV1().RoleBindings(roleBinding.ObjectMeta.Namespace).Update(ctx, roleBinding, metav1.UpdateOptions{}); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/rbac/v1alpha1/types.go

    // namespace only have effect in that namespace.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
    type RoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard object's metadata.
    	// +optional
    	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
    
    	// Subjects holds references to the objects the role applies to.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/rbac/v1beta1/types.go

    // +k8s:prerelease-lifecycle-gen:introduced=1.6
    // +k8s:prerelease-lifecycle-gen:deprecated=1.17
    // +k8s:prerelease-lifecycle-gen:removed=1.22
    // +k8s:prerelease-lifecycle-gen:replacement=rbac.authorization.k8s.io,v1,RoleBinding
    
    // RoleBinding references a role, but does not contain it.  It can reference a Role in the same namespace or a ClusterRole in the global namespace.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/rbac/v1/types.go

    // +k8s:prerelease-lifecycle-gen:introduced=1.8
    
    // RoleBinding references a role, but does not contain it.  It can reference a Role in the same namespace or a ClusterRole in the global namespace.
    // It adds who information via Subjects and namespace information by which namespace it exists in.  RoleBindings in a given
    // namespace only have effect in that namespace.
    type RoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. samples/addons/kiali.yaml

      - cacerts
      - istio-ca-secret
      resources:
      - secrets
      verbs:
      - get
      - list
      - watch
    ...
    ---
    # Source: kiali-server/templates/rolebinding-controlplane.yaml
    apiVersion: rbac.authorization.k8s.io/v1
    kind: RoleBinding
    metadata:
      name: kiali-controlplane
      namespace: istio-system
      labels:
        helm.sh/chart: kiali-server-1.85.0
        app: kiali
        app.kubernetes.io/name: kiali
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. tests/integration/security/egress_sidecar_tls_origination_test.go

    kind: Role
    metadata:
      name: allow-list-secrets
    rules:
    - apiGroups:
      - ""
      resources:
      - secrets
      verbs:
      - list
    `
    
    	rolebinding := `
    apiVersion: rbac.authorization.k8s.io/v1
    kind: RoleBinding
    metadata:
      name: allow-list-secrets-to-{{ .ServiceAccount }}
    roleRef:
      apiGroup: rbac.authorization.k8s.io
      kind: Role
      name: allow-list-secrets
    subjects:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. pkg/api/testing/defaulting_test.go

    		{Group: "rbac.authorization.k8s.io", Version: "v1alpha1", Kind: "ClusterRoleBindingList"}:                  {},
    		{Group: "rbac.authorization.k8s.io", Version: "v1alpha1", Kind: "RoleBinding"}:                             {},
    		{Group: "rbac.authorization.k8s.io", Version: "v1alpha1", Kind: "RoleBindingList"}:                         {},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top