Remove CR from base operator manifest (#5524)

This commit is contained in:
Martin Ostrowski 2019-11-08 12:10:52 -08:00 committed by Istio Automation
parent 2607a9bb51
commit 136584981d
2 changed files with 1 additions and 10 deletions

View File

@ -58,7 +58,7 @@ done
# Great care should be taken when modifying the ordering of this list. This
# script cats these files together in order with a yaml separator.
operator_manifest_files=( "deploy/namespace.yaml" "deploy/crds/istio_v1alpha2_istiocontrolplane_crd.yaml" "deploy/service_account.yaml" "deploy/clusterrole.yaml" "deploy/clusterrole_binding.yaml" "deploy/service.yaml" "deploy/operator.yaml" "${output_dir}/operator-profile-demo.yaml" )
operator_manifest_files=( "deploy/namespace.yaml" "deploy/crds/istio_v1alpha2_istiocontrolplane_crd.yaml" "deploy/service_account.yaml" "deploy/clusterrole.yaml" "deploy/clusterrole_binding.yaml" "deploy/service.yaml" "deploy/operator.yaml" )
# Generate the main manifest
cat "${operator_manifest_files[@]}" >> "${output_dir}"/operator.yaml

View File

@ -251,12 +251,3 @@ spec:
- name: OPERATOR_NAME
value: "istio-operator"
...
---
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
metadata:
namespace: istio-operator
name: example-istiocontrolplane
spec:
profile: demo
...