Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source release.yaml from GitHub release #182

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions bundle/manifests/shipwright-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,25 @@ spec:
- events
verbs:
- create
- apiGroups:
- ""
resources:
- pods
- events
- configmaps
- secrets
- limitranges
- namespaces
- services
verbs:
- '*'
- apiGroups:
- admissionregistration.k8s.io
- admissionregistration.k8s.io/v1beta1
resources:
- validatingwebhookconfigurations
verbs:
- '*'
- apiGroups:
- admissionregistration.k8s.io
resources:
Expand Down
2 changes: 2 additions & 0 deletions config/rbac/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ resources:
- shipwright_build_controller_role_binding.yaml
- shipwright_build_aggregate_role.yaml
- shipwright_build_aggregate_role_binding.yaml
- shipwright_build_webhook_role.yaml
- shipwright_build_webhook_role_binding.yaml
24 changes: 24 additions & 0 deletions config/rbac/shipwright_build_webhook_role.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: build-webhook
rules:
- apiGroups:
- ""
resources:
- pods
- events
- configmaps
- secrets
- limitranges
- namespaces
- services
verbs:
- '*'
- apiGroups:
- admissionregistration.k8s.io
- admissionregistration.k8s.io/v1beta1
resources:
- validatingwebhookconfigurations
verbs:
- '*'
12 changes: 12 additions & 0 deletions config/rbac/shipwright_build_webhook_role_binding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: build-webhook
roleRef:
kind: ClusterRole
name: build-webhook
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
name: operator
namespace: system
Loading
Loading