forked from keptn-contrib/job-executor-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
66 lines (66 loc) · 2.51 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
apiVersion: skaffold/v2beta23
kind: Config
build:
local:
useBuildkit: true
artifacts:
# job executor service
- image: keptncontrib/job-executor-service
docker:
dockerfile: Dockerfile
# init container for actual jobs (will be used for every job that is started)
- image: keptncontrib/job-executor-service-initcontainer
docker:
dockerfile: initcontainer.Dockerfile
# Before executing this, install job-executor-service manually:
# helm install -n keptn job-executor-service https://github.com/keptn-contrib/job-executor-service/releases/download/0.1.4/job-executor-service-0.1.4.tgz
deploy:
helm:
flags:
install: [ "--create-namespace" ]
upgrade: [ "--install", "--create-namespace", "--reuse-values"] # keep configuration (e.g., Keptn API Token)
releases:
- name: job-executor-service # needs to be the same name as currently used (check via helm ls -n keptn)
namespace: keptn-jes # needs to be the same namespace as where the helm-chart is currently deployed
# upgradeOnChange: true
# recreatePods: false # don't recreate all pods
artifactOverrides:
image: keptncontrib/job-executor-service
jobexecutorserviceinitcontainer:
image: keptncontrib/job-executor-service-initcontainer
imageStrategy:
helm: { }
setValueTemplates:
remoteControlPlane:
autoDetect:
enabled: true # If no auto-detection of Keptn should be done, set to false and fill out the information below
namespace: "" # For multiple Keptn version this should be set to the desired Keptn namespace
api:
protocol: ""
hostname: ""
token: ""
authMode: "token"
oauth:
clientId: ""
clientSecret: ""
clientDiscovery: ""
scopes: ""
networkPolicy:
ingress:
enabled: true
egress:
enabled: false
k8sMasterCIDR: ""
k8sMasterPort: 0
overrides:
distributor:
securityContext:
seccompProfile:
type: Unconfined # needed for debugging
resources:
limits:
memory: 512Mi # increase memory limit such that debugging using delve works
securityContext:
seccompProfile:
type: Unconfined # needed for debugging
chartPath: chart