zalando / zalenium

A flexible and scalable container based Selenium Grid with video recording, live preview, basic auth & dashboard.
https://opensource.zalando.com/zalenium/
Other
2.39k stars 575 forks source link

change apiversion #1203

Closed shashankkoppar closed 4 years ago

shashankkoppar commented 4 years ago

Thanks for contributing to Zalenium! Please give us as much information as possible to merge this PR quickly.

Description

Motivation and Context

helm install --name my-release --namespace zalenium zalenium-github/zalenium Error: apiVersion 'v2' is not valid. The value must be "v1"

How Has This Been Tested?

yes works in my local manually running this chart

helm upgrade zalenium charts/zalenium --tiller-namespace=kube-system --set persistence.video.enabled=true --set persistence.video.useExisting=true --set persistence.video.name=zalenium-videos-nfs-pv-pvc --set persistence.data.enabled=true --set persistence.data.useExisting=true --set persistence.data.name=zalenium-data-nfs-pv-pvc --set hub.serviceType=NodePort --set hub.debugEnabled=true --set hub.retentionPeriod=30 --set hub.basicAuth.enabled=true --set hub.basicAuth.username=admin-zalenium --set hub.basicAuth.password=mysecretpass --namespace zalenium --install
Release "zalenium" has been upgraded.
LAST DEPLOYED: Wed Sep  9 17:15:42 2020
NAMESPACE: zalenium
STATUS: DEPLOYED

RESOURCES:
==> v1/Deployment
NAME      READY  UP-TO-DATE  AVAILABLE  AGE
zalenium  1/1    1           1          9m15s

==> v1/Pod(related)
NAME                       READY  STATUS   RESTARTS  AGE
zalenium-5fb644cbc4-2w4z9  1/1    Running  0         5m55s

==> v1/Role
NAME      AGE
zalenium  9m16s

==> v1/RoleBinding
NAME      AGE
zalenium  9m16s

==> v1/Secret
NAME      TYPE    DATA  AGE
zalenium  Opaque  2     9m10s

==> v1/Service
NAME      TYPE      CLUSTER-IP     EXTERNAL-IP  PORT(S)       AGE
zalenium  NodePort  10.51.251.239  <none>       80:30357/TCP  9m15s

==> v1/ServiceAccount
NAME      SECRETS  AGE
zalenium  1        9m15s

NOTES:
###################################################
#                     Zalenium                    #
###################################################

Your release is named "zalenium".
Basic Authentication:
    Username: admin-zalenium
    Password: mysecretpass

To learn more about the release, try:

  $ helm status zalenium
  $ helm get zalenium

Types of changes

Checklist:

pearj commented 4 years ago

You need to use helm v3 for this chart to work I believe. See this error mentioned in a helm issue: https://github.com/helm/helm/issues/6753