File tree Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Expand file tree Collapse file tree 3 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ vendor:
159
159
go mod verify
160
160
161
161
.PHONY : manifests
162
- manifests : # # Generate manifests
162
+ manifests : $( HELM ) # # Generate manifests
163
163
OLM_VERSION=$(OLM_VERSION ) ./scripts/generate_crds_manifests.sh
164
164
165
165
.PHONY : generate-manifests
Original file line number Diff line number Diff line change 87
87
policyTypes :
88
88
- Ingress
89
89
- Egress
90
+ ---
91
+ apiVersion : networking.k8s.io/v1
92
+ kind : NetworkPolicy
93
+ metadata :
94
+ name : default-allow-all
95
+ namespace : openshift-operators
96
+ annotations :
97
+ include.release.openshift.io/ibm-cloud-managed : " true"
98
+ include.release.openshift.io/self-managed-high-availability : " true"
99
+ capability.openshift.io/name : " OperatorLifecycleManager"
100
+ include.release.openshift.io/hypershift : " true"
101
+ spec :
102
+ podSelector : {}
103
+ policyTypes :
104
+ - Ingress
105
+ - Egress
106
+ ingress :
107
+ - {}
108
+ egress :
109
+ - {}
Original file line number Diff line number Diff line change @@ -663,7 +663,8 @@ filtered_yaml="${ROOT_DIR}/microshift-manifests/0000_50_olm_01-networkpolicies.y
663
663
664
664
# loop through each NetworkPolicy definition in the input multi-document yaml
665
665
rm -f " ${filtered_yaml} "
666
- doc_count=$( ${YQ} r -l " $yaml_file " )
666
+
667
+ doc_count=$( ${YQ} r -d' *' -l " $yaml_file " | wc -l)
667
668
for (( i= 0 ; i< doc_count; i++ )) ; do
668
669
current_doc=$( ${YQ} r -d " $i " " $yaml_file " )
669
670
resource_name=" $( echo " $current_doc " | ${YQ} r - metadata.name) "
You can’t perform that action at this time.
0 commit comments