oncall-engine/helm
Innokentii Konstantinov 6d4e6f0108
Dev to main (#1129)
Release v1.1.16
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
Co-authored-by: Rares Mardare <40542072+teodosii@users.noreply.github.com>
Co-authored-by: Tom Mitchell <klaue@live.com>
2023-01-12 18:40:47 +08:00
..
oncall Dev to main (#1129) 2023-01-12 18:40:47 +08:00
cr.yaml Release helm chart from grafana/oncall to grafana/helm-charts using common workflow 2022-06-21 13:13:42 +03:00
ct.yaml Remove trailing slash 2022-06-21 15:03:42 +03:00
kind.yml Add new ci pipeline: helm chart end to end testing (#855) 2022-11-21 16:10:25 +01:00
README.md add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
simple.yml Add new ci pipeline: helm chart end to end testing (#855) 2022-11-21 16:10:25 +01:00
values-arm64.yml Add new ci pipeline: helm chart end to end testing (#855) 2022-11-21 16:10:25 +01:00
values-local-image.yml Add new ci pipeline: helm chart end to end testing (#855) 2022-11-21 16:10:25 +01:00

How to run the chart locally

  1. Create the cluster with kind

    Make sure ports 30001 and 30002 are free on your machine

    kind create cluster --image kindest/node:v1.24.7 --config kind.yml
    
  2. Install the helm chart

    helm install helm-testing \
    ../oncall --wait --timeout 30m \
    --wait-for-jobs \
    --values ci/simple.yml \
    --values ci/values-arm64.yml
    
  3. Get credentials

    echo "\n\nOpen Grafana on localhost:30002 with credentials - user: admin, password: $(kubectl get secret --namespace default helm-testing-grafana -o jsonpath="{.data.admin-password}" | base64 --decode ; echo)"
    echo "Open Plugins -> Grafana OnCall -> fill form: backend url: localhost:30001, grafana url: localhost: 30001, token below"
    export POD_NAME=$(kubectl get pods --namespace default -l "app.kubernetes.io/name=oncall,app.kubernetes.io/instance=helm-testing,app.kubernetes.io/component=engine" -o jsonpath="{.items[0].metadata.name}")
    
  4. Clean up

    kind delete cluster