generate secrets
This commit is contained in:
parent
7102fbd479
commit
440dfc8ca3
|
@ -3,6 +3,9 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
env:
|
||||
ENCRYPTION_KEY: ${{ secrets.ENCRYPTION_KEY }}
|
||||
DOCKERCONFIG_JSON: ${{ secrets.DOCKERCONFIG_JSON }}
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -14,7 +17,10 @@ jobs:
|
|||
run: chmod +x ./kubectl
|
||||
- name: Setting up kubeconfig
|
||||
run: echo "${{ secrets.KUBE_CONFIG }}" > kube.config
|
||||
# - name: Setup upterm session
|
||||
# uses: lhotari/action-upterm@v1
|
||||
- name: Setting up secrets
|
||||
working-directory: kustomization/bases/secrets/
|
||||
run: ./generate.sh
|
||||
- name: Setup upterm session
|
||||
uses: lhotari/action-upterm@v1
|
||||
- name: Check if it works
|
||||
run: ./kubectl --kubeconfig ./kube.config get nodes
|
||||
|
|
Loading…
Reference in New Issue