File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -116,16 +116,23 @@ jobs:
116
116
echo "Hadolint done"
117
117
118
118
# This simply checks that the manifests and respective kustomization.yaml finishes without an error.
119
+ # Version of the kustomize that operator use in runtime to apply these changes is determined by:
120
+ # https://github.com/red-hat-data-services/rhods-operator/blob/7ccc405135f99c014982d7e297b8949e970dd750/go.mod#L28-L29
121
+ # and then to match appropriate kustomize release https://github.com/kubernetes-sigs/kustomize/releases/tag/kustomize%2Fv5.0.2
119
122
- name : Check kustomize manifest
120
123
id : kustomize-manifests
121
124
run : |
122
- kubectl version --client=true
125
+ KUSTOMIZE_VERSION=5.0.2
126
+ wget "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz"
127
+ tar -xvf kustomize*
128
+
129
+ ./kustomize version
123
130
echo "----------------------------------------------------------"
124
- echo "Starting 'kubectl kustomize manifests/base'"
131
+ echo "Starting './ kustomize build manifests/base'"
125
132
echo "----------------------------------------------------------"
126
- kubectl kustomize manifests/base
133
+ ./ kustomize build manifests/base
127
134
128
135
echo "----------------------------------------------------------"
129
- echo "Starting 'kubectl kustomize manifests/overlays/additional'"
136
+ echo "Starting './ kustomize build manifests/overlays/additional'"
130
137
echo "----------------------------------------------------------"
131
- kubectl kustomize manifests/overlays/additional
138
+ ./ kustomize build manifests/overlays/additional
You can’t perform that action at this time.
0 commit comments