write helm values to file form secret

This commit is contained in:
Maidul Islam
2023-01-13 12:08:47 -08:00
parent 0242707e33
commit dc6d036d86

View File

@@ -13,6 +13,10 @@ jobs:
uses: azure/setup-helm@v3
with:
version: v3.10.0
- name: Install infisical helm chart
run: |
helm repo add infisical-helm-charts 'https://dl.cloudsmith.io/public/infisical/helm-charts/helm/charts/'
helm repo update
- name: Install kubectl
uses: azure/setup-kubectl@v3
- name: Install doctl
@@ -25,4 +29,10 @@ jobs:
run: kubectl config set-context --current --namespace=gamma
- name: test kubectl
run: kubectl get ingress
- name: Write helm values to file
run: |
echo "${{ secrets.HELM_VALUES_GAMMA }}" > values.yaml
cat values.yml