forked from open-policy-agent/kube-mgmt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
executable file
·39 lines (39 loc) · 1014 Bytes
/
skaffold.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
35
36
37
38
39
apiVersion: skaffold/v2beta28
kind: Config
metadata:
name: opa-kube-mgmt
build:
artifacts:
- image: openpolicyagent/kube-mgmt
ko:
fromImage: alpine:3.16.4
main: ./cmd/kube-mgmt/.../
ldflags:
- "-X github.com/open-policy-agent/kube-mgmt/pkg/version.Version={{.VERSION}}"
- "-X github.com/open-policy-agent/kube-mgmt/pkg/version.Git={{.COMMIT}}"
platforms:
- "linux/amd64"
- "linux/arm64"
context: .
hooks:
after:
- command: ["sh", "-c", "just _latest"]
local:
push: true
useBuildkit: true
deploy:
helm:
releases:
- name: kube-mgmt
chartPath: charts/opa-kube-mgmt
wait: true
setValues:
e2e: true
valuesFiles:
- "test/e2e/{{.E2E_TEST}}/values.yaml"
upgradeOnChange: false
skipBuildDependencies: true
artifactOverrides:
mgmt.image: openpolicyagent/kube-mgmt
imageStrategy:
helm: {}