Skip to content

fix: enable api access to grafana namespace #21

fix: enable api access to grafana namespace

fix: enable api access to grafana namespace #21

Workflow file for this run

name: Test
on:
push:
paths:
- 'chart/**'
branches-ignore:
- main
jobs:
validate:
runs-on: ubuntu-latest
environment: Dev
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- id: kubeconfig
name: Kubectl Config
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
run: |
if ! [ -d ~/.kube ]; then mkdir ~/.kube; fi
if ! [ -f ~/.kube/config ]; then touch ~/.kube/config; fi
chmod go-rwx ~/.kube/config
echo $KUBE_CONFIG | base64 -d > ~/.kube/config
- id: clusterinfo
name: Cluster Info
run: |
kubectl cluster-info
- name: Helm Debug Dry Run
id: dryrun
# note that --set mongoConnectionString is a hack just to validate output
run: |
helm upgrade --dry-run --debug --install -f chart/values.yaml ntt-infra chart \
--set mongoConnectionString=CON_STR_VALUE