Skip to content

Commit

Permalink
Merge pull request #182 from adambkaplan/source-release-from-gh
Browse files Browse the repository at this point in the history
Source release.yaml from GitHub release
  • Loading branch information
openshift-merge-bot[bot] authored May 9, 2024
2 parents d26c155 + 3134341 commit d831c31
Show file tree
Hide file tree
Showing 5 changed files with 15,999 additions and 11,696 deletions.
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

0 comments on commit d831c31

Please sign in to comment.