forked from temporalio/temporal-worker-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathskaffold.yaml
More file actions
58 lines (57 loc) · 1.64 KB
/
skaffold.yaml
File metadata and controls
58 lines (57 loc) · 1.64 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
apiVersion: skaffold/v4beta11
kind: Config
metadata:
name: worker-controller
build:
tagPolicy:
gitCommit:
variant: CommitSha
ignoreChanges: true
profiles:
# Build and deploy the controller to the local k8s cluster
- name: worker-controller
build:
tagPolicy:
envTemplate:
template: "latest"
artifacts:
- image: temporal-worker-controller
context: .
docker:
dockerfile: Dockerfile
manifests:
helm:
releases:
- name: temporal-worker-controller
chartPath: helm/temporal-worker-controller
namespace: temporal-worker-controller
createNamespace: true
setValues:
image.repository: temporal-worker-controller
image.tag: latest
image.pullPolicy: IfNotPresent
namespace.create: true
valuesFiles:
- helm/temporal-worker-controller/values.yaml
# Build and deploy the helloworld Custom Resource to the local k8s cluster
- name: helloworld-worker
build:
artifacts:
- image: helloworld
context: internal/demo
docker:
dockerfile: Dockerfile
buildArgs:
DD_GIT_COMMIT_SHA: "{{ .IMAGE_TAG }}"
DD_GIT_REPOSITORY_URL: "github.com/temporalio/temporal-worker-controller"
WORKER: "helloworld"
manifests:
rawYaml:
- internal/demo/helloworld/temporal_worker_deployment.yaml
deploy:
kubeContext: minikube
kubectl: {}
resourceSelector:
allow:
- groupKind: "TemporalWorkerDeployment.temporal.io"
image: [".*"]