Skip to content

Commit

Permalink
patch start args
Browse files Browse the repository at this point in the history
  • Loading branch information
maleck13 committed Nov 8, 2023
1 parent 83a11d5 commit 35e79c2
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 2 deletions.
63 changes: 62 additions & 1 deletion bundle/manifests/kuadrant-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ metadata:
capabilities: Basic Install
categories: Integration & Delivery
containerImage: quay.io/kuadrant/kuadrant-operator:latest
createdAt: "2023-11-08T11:28:01Z"
createdAt: "2023-11-08T12:20:06Z"
operators.operatorframework.io/builder: operator-sdk-v1.28.1
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/Kuadrant/kuadrant-operator
Expand Down Expand Up @@ -617,6 +617,67 @@ spec:
runAsNonRoot: true
serviceAccountName: kuadrant-operator-controller-manager
terminationGracePeriodSeconds: 10
- label:
app: kuadrant
app.kubernetes.io/component: manager
app.kubernetes.io/created-by: policy-controller
app.kubernetes.io/instance: policy-controller
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/name: deployment
app.kubernetes.io/part-of: kuadrant
control-plane: policy-controller
name: kuadrant-operator-kuadrant-policy-controller
spec:
replicas: 1
selector:
matchLabels:
app: kuadrant
control-plane: policy-controller
strategy: {}
template:
metadata:
annotations:
kubectl.kubernetes.io/default-container: manager
labels:
app: kuadrant
control-plane: policy-controller
spec:
containers:
- args:
- --leader-elect
command:
- /policy_controller
image: quay.io/kuadrant/policy-controller:main
imagePullPolicy: Always
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
name: policy-controller
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
resources:
limits:
cpu: 500m
memory: 256Mi
requests:
cpu: 10m
memory: 64Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
securityContext:
runAsNonRoot: true
serviceAccountName: kuadrant-operator-kuadrant-policy-controller
terminationGracePeriodSeconds: 10
permissions:
- rules:
- apiGroups:
Expand Down
10 changes: 9 additions & 1 deletion config/policy-controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@ resources:
- github.com/Kuadrant/multicluster-gateway-controller/config/policy-controller/default?ref=separate-controller-deploy

patchesStrategicMerge:
- delete-ns.yaml
- delete-ns.yaml

patches:
- patch: |-
- op: add
path: /spec/template/spec/containers/0/args/-
value: --ocm-hub=false
target:
kind: Deployment

Check failure on line 13 in config/policy-controller/kustomization.yaml

View workflow job for this annotation

GitHub Actions / Lint

[EOF Newline] reported by reviewdog 🐶 Missing newline Raw Output: config/policy-controller/kustomization.yaml:13: Missing newline

0 comments on commit 35e79c2

Please sign in to comment.