File tree 7 files changed +8
-9171
lines changed 7 files changed +8
-9171
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ generate-code:
52
52
$(info Compiling deepcopy-gen...)
53
53
go build -o ${BIN_DIR} /deepcopy-gen ./cmd/deepcopy-gen/
54
54
$(info Generating deepcopy...)
55
- ${BIN_DIR} /deepcopy-gen -i ./pkg/apis/controller/v1alpha1/ -O zz_generated.deepcopy
55
+ ${BIN_DIR} /deepcopy-gen -i ./pkg/apis/controller/v1alpha1/ -O zz_generated.deepcopy
56
56
57
57
images : verify-tag-name
58
58
$(info List executable directory)
Original file line number Diff line number Diff line change 8
8
minAvailable : 2
9
9
resources :
10
10
GenericItems :
11
- replicas : 2
11
+ replicas : 1
12
12
metadata :
13
13
name : aw-generic-statefulset-2
14
14
namespace : test1
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ apiVersion: kind.x-k8s.io/v1alpha4
5
5
nodes :
6
6
# the control plane node config
7
7
- role : control-plane
8
- # kubernetes version 1.21.1 from kind v0.11.0
8
+ # kubernetes version 1.20.7 from kind v0.11.0
9
9
image : kindest/node:v1.20.7@sha256:e645428988191fc824529fd0bb5c94244c12401cf5f5ea3bd875eb0a787f0fe9
10
10
# the three workers
11
11
- role : worker
12
- # kubernetes version 1.21.1 from kind v0.11.0
12
+ # kubernetes version 1.20.7 from kind v0.11.0
13
13
image : kindest/node:v1.20.7@sha256:e645428988191fc824529fd0bb5c94244c12401cf5f5ea3bd875eb0a787f0fe9
Original file line number Diff line number Diff line change @@ -209,9 +209,9 @@ runTests() {
209
209
# `go test` does not install the things it builds. `go test -i` installs
210
210
# the build artifacts but doesn't run the tests. The two together provide
211
211
# a large speedup for tests that do not need to be rebuilt.
212
- # go test -i "${goflags[@]:+${goflags[@]}}" \
213
- # ${KUBE_RACE} ${KUBE_TIMEOUT} "${@}" \
214
- # "${testargs[@]:+${testargs[@]}}"
212
+ go test -i " ${goflags[@]: +${goflags[@]} } " \
213
+ ${KUBE_RACE} ${KUBE_TIMEOUT} " ${@ } " \
214
+ " ${testargs[@]: +${testargs[@]} } "
215
215
go test " ${goflags[@]: +${goflags[@]} } " \
216
216
${KUBE_RACE} ${KUBE_TIMEOUT} " ${@ } " \
217
217
" ${testargs[@]: +${testargs[@]} } " \
Original file line number Diff line number Diff line change @@ -121,9 +121,6 @@ function cleanup {
121
121
echo " ===================================================================================="
122
122
echo " ==========================>>>>> MCAD Controller Logs <<<<<=========================="
123
123
echo " ===================================================================================="
124
- echo " ==========================>>>>>Printing the pod name for logs: <<<<<=========================="
125
- echo " $mcad_pod "
126
- echo " _____________________________ end printing logs pod name ______________________"
127
124
kubectl logs ${mcad_pod} -n kube-system
128
125
129
126
kind delete cluster ${CLUSTER_CONTEXT}
@@ -291,13 +288,7 @@ function kube-test-env-up {
291
288
sleep 10
292
289
echo " Listing MCAD Controller Helm Chart and Pod YAML..."
293
290
helm list
294
- mcad-controller=$( kubectl get pods -n kube-system | grep xqueuejob | awk ' {print $1}' )
295
- test_pod=$( kubectl get pods -n kube-system | grep xqueuejob | cut -d' ' -f1)
296
- echo " _____________________________ Printing the pod name ______________________"
297
- echo " $mcad_pod "
298
- echo " _____________________________ end printing mcad pod name ______________________"
299
- echo " $test_pod "
300
- echo " _____________________________ end printing test pod name ______________________"
291
+ mcad-controller=$( kubectl get pods -n kube-system | grep mcad-controller | awk ' {print $1}' )
301
292
if [[ " $mcad_pod " != " " ]]
302
293
then
303
294
kubectl get pod ${mcad_pod} -n kube-system -o yaml
You can’t perform that action at this time.
0 commit comments