diff --git a/.github/actions/deploy-template-operator-with-modulereleasemeta/action.yml b/.github/actions/deploy-template-operator-with-modulereleasemeta/action.yml index edda699b26..972af4d904 100644 --- a/.github/actions/deploy-template-operator-with-modulereleasemeta/action.yml +++ b/.github/actions/deploy-template-operator-with-modulereleasemeta/action.yml @@ -19,7 +19,7 @@ runs: shell: bash run: | make build-manifests - module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml sed -i 's/template-operator-regular/template-operator-1.0.1/g' ./template.yaml kubectl get crds @@ -112,7 +112,7 @@ runs: kustomize edit add patch --path warning_patch.yaml --kind Deployment popd make build-manifests - module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml sed -i 's/template-operator-regular/template-operator-1.0.1/g' ./template.yaml kubectl get crds @@ -135,7 +135,7 @@ runs: kustomize edit add patch --path warning_patch.yaml --kind StatefulSet popd make build-statefulset-manifests - module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml sed -i 's/template-operator-regular/template-operator-1.0.1/g' ./template.yaml kubectl get crds @@ -184,7 +184,7 @@ runs: kustomize edit add patch --path image_patch.yaml --kind Deployment popd make build-manifests - module create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml sed -i 's/template-operator-misconfigured-regular/template-operator-misconfigured-1.1.1/g' ./template.yaml kubectl get crds @@ -203,7 +203,7 @@ runs: kustomize edit add patch --path image_patch.yaml --kind StatefulSet popd make build-statefulset-manifests - module create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml sed -i 's/template-operator-misconfigured-regular/template-operator-misconfigured-1.1.1/g' ./template.yaml kubectl get crds @@ -222,7 +222,7 @@ runs: security: sec-scanners-config.yaml annotations: operator.kyma-project.io/doc-url: https://kyma-project.io" >> module-config-no-cr.yaml - module create --module-config-file ./module-config-no-cr.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./module-config-no-cr.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml sed -i 's/template-operator-regular/template-operator-1.0.0/g' ./template.yaml kubectl get crds @@ -270,12 +270,7 @@ runs: shell: bash run: | make build-manifests - module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml kubectl apply -f template.yaml kubectl apply -f module-release-meta.yaml - - - - - diff --git a/.github/actions/deploy-template-operator/action.yml b/.github/actions/deploy-template-operator/action.yml index 8646d44ff9..8e4ba9998a 100644 --- a/.github/actions/deploy-template-operator/action.yml +++ b/.github/actions/deploy-template-operator/action.yml @@ -19,7 +19,7 @@ runs: shell: bash run: | make build-manifests - module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml kubectl get crds kubectl apply -f template.yaml @@ -72,7 +72,7 @@ runs: kustomize edit add patch --path warning_patch.yaml --kind Deployment popd make build-manifests - module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml kubectl get crds kubectl apply -f template.yaml @@ -93,7 +93,7 @@ runs: kustomize edit add patch --path warning_patch.yaml --kind StatefulSet popd make build-statefulset-manifests - module create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml kubectl get crds kubectl apply -f template.yaml @@ -125,7 +125,7 @@ runs: kustomize edit add patch --path image_patch.yaml --kind Deployment popd make build-manifests - module create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml kubectl get crds kubectl apply -f template.yaml @@ -143,7 +143,7 @@ runs: kustomize edit add patch --path image_patch.yaml --kind StatefulSet popd make build-statefulset-manifests - module create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./misconfigured-module-config.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml kubectl get crds kubectl apply -f template.yaml @@ -160,7 +160,7 @@ runs: security: sec-scanners-config.yaml annotations: operator.kyma-project.io/doc-url: https://kyma-project.io" >> module-config-no-cr.yaml - module create --module-config-file ./module-config-no-cr.yaml --registry http://localhost:5111 --insecure + modulectl create --module-config-file ./module-config-no-cr.yaml --registry http://localhost:5111 --insecure sed -i 's/localhost:5111/k3d-kcp-registry.localhost:5000/g' ./template.yaml kubectl get crds kubectl apply -f template.yaml diff --git a/.github/actions/install-modulectl/action.yml b/.github/actions/install-modulectl/action.yml index e86190fb17..99f5595473 100644 --- a/.github/actions/install-modulectl/action.yml +++ b/.github/actions/install-modulectl/action.yml @@ -14,4 +14,3 @@ runs: chmod +x modulectl-linux mv modulectl-linux /usr/local/bin/modulectl echo "PATH=/usr/local/bin/modulectl" >> $GITHUB_OUTPUT - ln -s /usr/local/bin/modulectl /usr/local/bin/module