Skip to content

Commit

Permalink
Fix apiVersion duplication in RBAC
Browse files Browse the repository at this point in the history
  • Loading branch information
eromanova committed Jun 18, 2024
1 parent 1bf1971 commit 8c4fbb2
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions config/rbac/awsprovider_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
name: awsprovider-editor-role
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- awsproviders
verbs:
Expand All @@ -20,7 +20,7 @@ rules:
- update
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- awsproviders/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/awsprovider_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ metadata:
name: awsprovider-viewer-role
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- awsproviders
verbs:
- get
- list
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- awsproviders/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/deployment_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
name: deployment-editor-role
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- deployments
verbs:
Expand All @@ -20,7 +20,7 @@ rules:
- update
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- deployments/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/deployment_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ metadata:
name: deployment-viewer-role
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- deployments
verbs:
- get
- list
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- deployments/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/management_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
name: management-editor-role
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- managements
verbs:
Expand All @@ -20,7 +20,7 @@ rules:
- update
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- managements/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/management_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ metadata:
name: management-viewer-role
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- managements
verbs:
- get
- list
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- managements/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/template_editor_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
name: template-editor-role
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- templates
verbs:
Expand All @@ -20,7 +20,7 @@ rules:
- update
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- templates/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions config/rbac/template_viewer_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ metadata:
name: template-viewer-role
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- templates
verbs:
- get
- list
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- templates/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions templates/hmc/templates/awsprovider-editor-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "hmc.labels" . | nindent 4 }}
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- awsproviders
verbs:
Expand All @@ -18,7 +18,7 @@ rules:
- update
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- awsproviders/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions templates/hmc/templates/awsprovider-viewer-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ metadata:
{{- include "hmc.labels" . | nindent 4 }}
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- awsproviders
verbs:
- get
- list
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- awsproviders/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions templates/hmc/templates/deployment-editor-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "hmc.labels" . | nindent 4 }}
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- deployments
verbs:
Expand All @@ -18,7 +18,7 @@ rules:
- update
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- deployments/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions templates/hmc/templates/deployment-viewer-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ metadata:
{{- include "hmc.labels" . | nindent 4 }}
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- deployments
verbs:
- get
- list
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- deployments/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions templates/hmc/templates/management-editor-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "hmc.labels" . | nindent 4 }}
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- managements
verbs:
Expand All @@ -18,7 +18,7 @@ rules:
- update
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- managements/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions templates/hmc/templates/management-viewer-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ metadata:
{{- include "hmc.labels" . | nindent 4 }}
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- managements
verbs:
- get
- list
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- managements/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions templates/hmc/templates/template-editor-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
{{- include "hmc.labels" . | nindent 4 }}
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- templates
verbs:
Expand All @@ -18,7 +18,7 @@ rules:
- update
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- templates/status
verbs:
Expand Down
4 changes: 2 additions & 2 deletions templates/hmc/templates/template-viewer-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ metadata:
{{- include "hmc.labels" . | nindent 4 }}
rules:
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- templates
verbs:
- get
- list
- watch
- apiGroups:
- hmc.mirantis.com.hmc.mirantis.com
- hmc.mirantis.com
resources:
- templates/status
verbs:
Expand Down

0 comments on commit 8c4fbb2

Please sign in to comment.