Skip to content

Commit

Permalink
vm-operator: remove web-validator and set replicas to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Mar 6, 2024
1 parent 2821ea2 commit 073a862
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ set-manifest-image:
##@ vm-operator:

.PHONY: release-vm-operator
release-vm-operator: docker-vm-operator-build-all vm-operator-manifest-build docker-vm-operator-push-all ## Build and push the vm-operator image and manifest for usage in CI
release-vm-operator: docker-vm-operator-build-all vm-operator-manifest-build docker-vm-operator-push-all vm-operator-manifest-push ## Build and push the vm-operator image and manifest for usage in CI

.PHONY: vm-operator-checkout
vm-operator-checkout:
Expand Down
12 changes: 12 additions & 0 deletions test/infrastructure/vm-operator/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,15 @@ commonLabels:

resources:
- vm-operator.yaml

patchesStrategicMerge:
- vm-operator-replicas.yaml

patches:
- target:
labelSelector: app=web-console-validator
patch: |
$patch: delete
kind: Deployment
metadata:
name: web-console-validator
7 changes: 7 additions & 0 deletions test/infrastructure/vm-operator/vm-operator-replicas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: vmware-system-vmop-controller-manager
namespace: vmware-system-vmop
spec:
replicas: 1

0 comments on commit 073a862

Please sign in to comment.