diff --git a/.vscode/settings.json b/.vscode/settings.json index d85f57df7..385340b7a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "go.buildTags": "e2e unit integration gateway_integration policy_integration" + "go.buildTags": "e2e unit integration" } \ No newline at end of file diff --git a/bundle/manifests/multicluster-gateway-controller.clusterserviceversion.yaml b/bundle/manifests/multicluster-gateway-controller.clusterserviceversion.yaml index ef6b0b06d..efd6d7098 100644 --- a/bundle/manifests/multicluster-gateway-controller.clusterserviceversion.yaml +++ b/bundle/manifests/multicluster-gateway-controller.clusterserviceversion.yaml @@ -4,7 +4,7 @@ metadata: annotations: alm-examples: '[]' capabilities: Basic Install - createdAt: "2023-10-10T15:03:19Z" + createdAt: "2023-10-27T06:42:13Z" operators.operatorframework.io/builder: operator-sdk-v1.28.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3 name: multicluster-gateway-controller.v0.0.0 @@ -571,6 +571,64 @@ spec: runAsNonRoot: true serviceAccountName: mgc-add-on-manager terminationGracePeriodSeconds: 10 + - label: + 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: controller-manager + name: mgc-policy-controller-manager + spec: + replicas: 1 + selector: + matchLabels: + control-plane: policy-controller + strategy: {} + template: + metadata: + annotations: + kubectl.kubernetes.io/default-container: manager + labels: + 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: manager + 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: mgc-controller-manager + terminationGracePeriodSeconds: 10 permissions: - rules: - apiGroups: diff --git a/config/policy-controller/kustomization.yaml b/config/policy-controller/kustomization.yaml index 978926d3d..4fe55410a 100644 --- a/config/policy-controller/kustomization.yaml +++ b/config/policy-controller/kustomization.yaml @@ -3,6 +3,6 @@ resources: apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization images: -- name: controller +- name: policy-controller newName: quay.io/kuadrant/policy-controller newTag: main