Skip to content

Commit

Permalink
remove deployment of policy-controller for now
Browse files Browse the repository at this point in the history
  • Loading branch information
maleck13 committed Nov 24, 2023
1 parent 5fc58e4 commit 95655e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 306 deletions.
306 changes: 1 addition & 305 deletions 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-20T13:22:20Z"
createdAt: "2023-11-24T11:30:45Z"
operators.operatorframework.io/builder: operator-sdk-v1.32.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/Kuadrant/kuadrant-operator
Expand All @@ -55,29 +55,14 @@ spec:
- kind: AuthPolicy
name: authpolicies.kuadrant.io
version: v1beta2
- kind: DNSHealthCheckProbe
name: dnshealthcheckprobes.kuadrant.io
version: v1alpha1
- kind: DNSPolicy
name: dnspolicies.kuadrant.io
version: v1alpha1
- kind: DNSRecord
name: dnsrecords.kuadrant.io
version: v1alpha1
- description: Kuadrant is the Schema for the kuadrants API
displayName: Kuadrant
kind: Kuadrant
name: kuadrants.kuadrant.io
version: v1beta1
- kind: ManagedZone
name: managedzones.kuadrant.io
version: v1alpha1
- kind: RateLimitPolicy
name: ratelimitpolicies.kuadrant.io
version: v1beta2
- kind: TLSPolicy
name: tlspolicies.kuadrant.io
version: v1alpha1
description: A Kubernetes Operator to manage the lifecycle of the Kuadrant system
displayName: Kuadrant Operator
icon:
Expand Down Expand Up @@ -358,206 +343,6 @@ spec:
- update
- watch
serviceAccountName: kuadrant-operator-controller-manager
- rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- cert-manager.io
resources:
- certificates
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- cert-manager.io
resources:
- clusterissuers
verbs:
- get
- list
- watch
- apiGroups:
- cert-manager.io
resources:
- issuers
verbs:
- get
- list
- watch
- apiGroups:
- cluster.open-cluster-management.io
resources:
- managedclusters
verbs:
- get
- list
- watch
- apiGroups:
- gateway.networking.k8s.io
resources:
- gateways
verbs:
- get
- list
- patch
- update
- watch
- apiGroups:
- gateway.networking.k8s.io
resources:
- gateways/finalizers
verbs:
- update
- apiGroups:
- gateway.networking.k8s.io
resources:
- gateways/status
verbs:
- get
- patch
- update
- apiGroups:
- kuadrant.io
resources:
- dnshealthcheckprobes
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- kuadrant.io
resources:
- dnshealthcheckprobes/finalizers
verbs:
- get
- patch
- update
- apiGroups:
- kuadrant.io
resources:
- dnshealthcheckprobes/status
verbs:
- get
- patch
- update
- apiGroups:
- kuadrant.io
resources:
- dnspolicies
verbs:
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- kuadrant.io
resources:
- dnspolicies/finalizers
verbs:
- update
- apiGroups:
- kuadrant.io
resources:
- dnspolicies/status
verbs:
- get
- patch
- update
- apiGroups:
- kuadrant.io
resources:
- dnsrecords
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- kuadrant.io
resources:
- dnsrecords/finalizers
verbs:
- update
- apiGroups:
- kuadrant.io
resources:
- dnsrecords/status
verbs:
- get
- patch
- update
- apiGroups:
- kuadrant.io
resources:
- managedzones
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- kuadrant.io
resources:
- managedzones/finalizers
verbs:
- update
- apiGroups:
- kuadrant.io
resources:
- managedzones/status
verbs:
- get
- patch
- update
- apiGroups:
- kuadrant.io
resources:
- tlspolicies
verbs:
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- kuadrant.io
resources:
- tlspolicies/finalizers
verbs:
- update
- apiGroups:
- kuadrant.io
resources:
- tlspolicies/status
verbs:
- get
- patch
- update
serviceAccountName: kuadrant-operator-policy-controller
deployments:
- label:
app: kuadrant
Expand Down Expand Up @@ -614,62 +399,6 @@ spec:
runAsNonRoot: true
serviceAccountName: kuadrant-operator-controller-manager
terminationGracePeriodSeconds: 10
- label:
app: kuadrant
control-plane: policy-controller
name: kuadrant-operator-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
- --ocm-hub=false
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-policy-controller
terminationGracePeriodSeconds: 10
permissions:
- rules:
- apiGroups:
Expand Down Expand Up @@ -704,39 +433,6 @@ spec:
- create
- patch
serviceAccountName: kuadrant-operator-controller-manager
- rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
serviceAccountName: kuadrant-operator-policy-controller
strategy: deployment
installModes:
- supported: false
Expand Down
2 changes: 1 addition & 1 deletion config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ resources:
- ../crd
- ../rbac
- ../manager
- ../policy-controller
#- ../policy-controller removed for now to avoid double policy controllers in a shared hub/spoke cluster

0 comments on commit 95655e6

Please sign in to comment.