st-tech / gatling-operator

Automating distributed Gatling load testing using Kubernetes operator
MIT License
68 stars 21 forks source link

Update go version to 1.21 #108

Closed gold-kou closed 4 months ago

gold-kou commented 4 months ago

Description

The previous PR for updating go was reverted since the ci failed. https://github.com/st-tech/gatling-operator/pull/107

This PR is a revenge of it. I added to fix the version of sigs.k8s.io/kustomize/kustomize from v3@v3.8.7 to v5@v5.3.0 which is the latest. I assume that the old kustomize used exclude directive is a reason. https://github.com/kubernetes-sigs/kustomize/blob/kustomize/v3.8.7/kustomize/go.mod

Confirmed the make command works correctly.

% make manifests-release
/Users/koki.hatano/github/gold-kou/gatling-operator/bin/controller-gen "crd:trivialVersions=true,preserveUnknownFields=false" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
cd config/manager && /Users/koki.hatano/github/gold-kou/gatling-operator/bin/kustomize edit set image controller=gatling-operator:20240301-143405
/Users/koki.hatano/github/gold-kou/gatling-operator/bin/kustomize build config/default > gatling-operator.yaml

The other changes are same with https://github.com/st-tech/gatling-operator/pull/105 .

Checklist

Please check if applicable

Relevant issue #