Compare commits
2 commits
5e879c2d4b
...
7d9aedfc47
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7d9aedfc47 | ||
![]() |
e86e73bd94 |
1 changed files with 8 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
name: DNSControl
|
||||
name: Deployment
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -29,12 +29,12 @@ jobs:
|
|||
- name: Checkout
|
||||
- name: Setup k8s context
|
||||
run: |
|
||||
- echo "${{secrets.KUBE_API_CRT}}" > /tmp/ca.pem
|
||||
- kubectl config set-cluster k3s --server=${{secrets.KUBE_HOST}} --certificate-authority=/tmp/ca.pem
|
||||
- kubectl config set-credentials forgejo --token="${{secrets.KUBE_API_TOKEN}}"
|
||||
- kubectl config set-context k3s --cluster k3s --user forgejo --namespace default
|
||||
- kubectl config use-context k3s
|
||||
echo "${{secrets.KUBE_API_CRT}}" > /tmp/ca.pem
|
||||
kubectl config set-cluster k3s --server=${{secrets.KUBE_HOST}}3 --certificate-authority=/tmp/ca.pem
|
||||
kubectl config set-credentials forgejo --token="${{secrets.KUBE_API_TOKEN}}"
|
||||
kubectl config set-context k3s --cluster k3s --user forgejo --namespace default
|
||||
kubectl config use-context k3s
|
||||
- name: "Deploy"
|
||||
run: |
|
||||
- cd chart
|
||||
- helm upgrade --install versandlabel .
|
||||
cd chart
|
||||
helm upgrade --install versandlabel .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue