Skip to content

Commit

Permalink
Update repository and tag in helm test
Browse files Browse the repository at this point in the history
Signed-off-by: pjuarezd <pjuarezd@users.noreply.github.com>
  • Loading branch information
pjuarezd committed Mar 23, 2023
1 parent 7ce7d0f commit 7e8a2ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions helm/tenant/templates/tenant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,4 @@ spec:
runAsNonRoot: {{ .kes.securityContext.runAsNonRoot }}
fsGroup: {{ .kes.securityContext.fsGroup | int }}
{{- end }}
{{- end }}
3 changes: 0 additions & 3 deletions testing/check-helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ function main() {
echo "setup kind right after it has been destroyed"
setup_kind

echo "Get helm repo for the operator"
helm repo add minio https://operator.min.io/

echo "Install operator with helm"
install_operator "helm"

Expand Down
4 changes: 3 additions & 1 deletion testing/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,10 @@ function install_operator() {
if [ "$1" = "helm" ]; then

echo "Change the version accordingly for image to be found within the cluster"
yq -i '.operator.image.repository = "minio/operator"' "${SCRIPT_DIR}/../helm/operator/values.yaml"
yq -i '.operator.image.tag = "noop"' "${SCRIPT_DIR}/../helm/operator/values.yaml"

yq -i '.console.image.repository = "minio/operator"' "${SCRIPT_DIR}/../helm/operator/values.yaml"
yq -i '.console.image.tag = "noop"' "${SCRIPT_DIR}/../helm/operator/values.yaml"
echo "Installing Current Operator via HELM"
helm install \
--namespace minio-operator \
Expand Down

0 comments on commit 7e8a2ba

Please sign in to comment.