This commit is contained in:
parent
7e7df51924
commit
ada7f21027
@ -23,4 +23,11 @@ jobs:
|
||||
with:
|
||||
method: kubeconfig
|
||||
kubeconfig: ${{ secrets.KUBE_CFG }}
|
||||
id: setcontext
|
||||
|
||||
- uses: azure/setup-kubectl@v4
|
||||
|
||||
- uses: Azure/k8s-deploy@v5
|
||||
with:
|
||||
namespace: 'default'
|
||||
manifests: |
|
||||
test.yaml
|
||||
|
||||
21
.gitea/workflows/test.yaml
Normal file
21
.gitea/workflows/test.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: test
|
||||
labels:
|
||||
app: default
|
||||
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: helloworld
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: helloworld
|
||||
spec:
|
||||
containers:
|
||||
- name: helloworld
|
||||
image: git.plop.in/test/test:latest
|
||||
Loading…
x
Reference in New Issue
Block a user