Skip to content

Commit 4bbeeec

Browse files
nrbRadekManak
authored andcommitted
UPSTREAM: <carry>: Delete ASO deployment
Signed-off-by: Nolan Brubaker <[email protected]>
1 parent f13d42e commit 4bbeeec

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

openshift/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ ocp-manifests: $(RELEASE_DIR) $(KUSTOMIZE) check-env ## Builds openshift specifi
2222
$(KUSTOMIZE) build > infrastructure-components.yaml
2323
# Generate provider manifests.
2424
# TODO: load the provider-version dynamically at rebase time when this is invoked by the Rebase Bot during one of its lifecycle hooks.
25-
cd tools && $(MANIFESTS_GEN) --provider-name "azure" --provider-type "InfrastructureProvider" --provider-version "${PROVIDER_VERSION}" --base-path "../../" --manifests-path "../manifests"
25+
cd tools && $(MANIFESTS_GEN) --provider-name "azure" --provider-type "InfrastructureProvider" --provider-version "${PROVIDER_VERSION}" --base-path "../../" --manifests-path "../manifests" --kustomize-dir="openshift"

openshift/kustomization.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ kind: Kustomization
33

44
resources:
55
- ../config/default
6+
7+
# This field is deprecated in Kustomize v5; however, we rely on an earlier version and cannot use `patches` yet.
8+
patchesStrategicMerge:
9+
- ./patches/disable-aso.yaml

openshift/patches/disable-aso.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
$patch: delete
2+
apiVersion: apps/v1
3+
kind: Deployment
4+
metadata:
5+
name: azureserviceoperator-controller-manager
6+
namespace: azureserviceoperator-system # This patch is processed before manifests-gen updates the namespace

0 commit comments

Comments
 (0)