-
Notifications
You must be signed in to change notification settings - Fork 0
/
Taskfile.yaml
34 lines (29 loc) · 978 Bytes
/
Taskfile.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: '3'
vars:
REGISTRY: 'ttl.sh/protect'
tasks:
build-image:
vars:
IMAGE: 'protect-webhook'
cmds:
- docker buildx build --platform linux/amd64 -t {{ .REGISTRY }}/{{ .IMAGE }}:latest .
- echo "Built {{ .REGISTRY }}/{{ .IMAGE }}:latest"
- docker push {{ .REGISTRY }}/{{ .IMAGE }}:latest
install-cert-manager:
cmds:
- helm repo add jetstack https://charts.jetstack.io
- helm repo update
- |
helm install cert-manager jetstack/cert-manager \
--namespace cert-manager \
--create-namespace \
--set installCRDs=true
install-self-signed-certs:
preconditions:
- test -f ./examples/self-signed-certs/self-signed-certs.yaml
cmds:
- kubectl create namespace edera-system
- kubectl apply -f ./examples/self-signed-certs/self-signed-certs.yaml -n edera-system
chart-test:
cmds:
- ct install --target-branch main --namespace edera-system