Skip to content

Commit

Permalink
Fix typo pods/log
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunne committed Oct 12, 2023
1 parent a281143 commit cc56782
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func AutomationRole(cr *miqv1alpha1.ManageIQ, scheme *runtime.Scheme) (*rbacv1.R
},
rbacv1.PolicyRule{
APIGroups: []string{""},
Resources: []string{"pods/logs"},
Resources: []string{"pods/log"},
Verbs: []string{"get"},
},
}
Expand Down
2 changes: 1 addition & 1 deletion manageiq-operator/config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ rules:
- apiGroups:
- ""
resources:
- pods/logs
- pods/log
verbs:
- get
- apiGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type ManageIQReconciler struct {
}

//+kubebuilder:rbac:namespace=changeme,groups="",resources=configmaps;events;persistentvolumeclaims;pods;pods/finalizers;secrets;serviceaccounts;services;services/finalizers,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:namespace=changeme,groups="",resources=pods/logs,verbs=get
//+kubebuilder:rbac:namespace=changeme,groups="",resources=pods/log,verbs=get
//+kubebuilder:rbac:namespace=changeme,groups=apps,resources=deployments;deployments/scale;replicasets,verbs=get;list;watch;create;update;patch;delete
//+kubebuilder:rbac:namespace=changeme,groups=apps,resources=deployments/finalizers,resourceNames=manageiq-operator,verbs=update
//+kubebuilder:rbac:namespace=changeme,groups=coordination.k8s.io,resources=leases,verbs=get;list;create;update;delete
Expand Down

0 comments on commit cc56782

Please sign in to comment.