Skip to content

Commit

Permalink
better rbacs and eliminate warning about kustomize patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Scaffidi committed Oct 27, 2024
1 parent 0d0bddb commit 057fe6c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 16 deletions.
40 changes: 27 additions & 13 deletions bundle/manifests/istio-fortsa.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
annotations:
alm-examples: '[]'
capabilities: Basic Install
createdAt: "2024-10-15T02:19:39Z"
createdAt: "2024-10-27T01:27:04Z"
operators.operatorframework.io/builder: operator-sdk-v1.36.1
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
name: istio-fortsa.v0.0.4
Expand All @@ -25,41 +25,55 @@ spec:
- ""
resources:
- events
- pods/portforward
- serviceaccounts/token
verbs:
- create
- patch
- apiGroups:
- ""
resources:
- mutatingwebhookconfigurations
- namespaces
- pods
- namespaces/finalizers
- namespaces/status
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- mutatingwebhookconfigurations/finalizers
- namespaces/finalizers
- pods
- pods/finalizers
- pods/status
verbs:
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
- admissionregistration.k8s.io
resources:
- mutatingwebhookconfigurations
- mutatingwebhookconfigurations/finalizers
- mutatingwebhookconfigurations/status
- namespaces/status
- pods/status
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
- daemonset
- deployment
- statefulset
verbs:
- get
- list
- patch
- update
- watch
- apiGroups:
- authentication.k8s.io
resources:
Expand Down Expand Up @@ -121,7 +135,7 @@ spec:
- --metrics-bind-address=127.0.0.1:8080
- --leader-elect
command:
- /manager
- /manager
image: ghcr.io/hercynium/istio-fortsa:0.0.4
livenessProbe:
httpGet:
Expand Down
2 changes: 1 addition & 1 deletion config/manifests/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resources:
# [WEBHOOK] To enable webhooks, uncomment all the sections with [WEBHOOK] prefix.
# Do NOT uncomment sections with prefix [CERTMANAGER], as OLM does not support cert-manager.
# These patches remove the unnecessary "cert" volume and its manager container volumeMount.
#patchesJson6902:
#patches:
#- target:
# group: apps
# version: v1
Expand Down
4 changes: 2 additions & 2 deletions config/scorecard/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
resources:
- bases/config.yaml
patchesJson6902:
patches:
- path: patches/basic.config.yaml
target:
group: scorecard.operatorframework.io
Expand All @@ -13,4 +13,4 @@ patchesJson6902:
version: v1alpha3
kind: Configuration
name: config
#+kubebuilder:scaffold:patchesJson6902
#+kubebuilder:scaffold:patches

0 comments on commit 057fe6c

Please sign in to comment.