forked from leg100/otf
-
Notifications
You must be signed in to change notification settings - Fork 5
/
skaffold.yaml
36 lines (33 loc) · 922 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
apiVersion: skaffold/v4beta9
kind: Config
metadata:
name: tofutf
deploy:
helm:
releases:
- name: tofutf
chartPath: charts/tofutf
valuesFiles:
- charts/tofutf/values.yaml
- charts/tofutf/test-values.yaml
version: 0.5.0-dev
setValueTemplates:
image.override: "{{.IMAGE_REPO_ghcr_io_tofutf_tofutf_tofutfd }}"
build:
platforms: ["linux/amd64"]
artifacts:
- image: ghcr.io/tofutf/tofutf/tofutfd
ko:
fromImage: ghcr.io/tofutf/tofutf/tofutf-base:v1.0.0
main: ./cmd/tofutfd
labels:
org.opencontainers.image.licenses: MPL-2.0
org.opencontainers.image.revision: "{{.GITHUB_SHA}}"
org.opencontainers.image.source: "{{.GITHUB_SERVER_URL}}/{{.GITHUB_REPOSITORY}}"
portForward:
- resourceType: service
resourceName: tofutf
namespace: default
port: 80
localPort: 8080
address: 0.0.0.0