-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaffold.yaml
92 lines (83 loc) · 2.25 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
apiVersion: skaffold/v2beta8
kind: Config
build:
# tagPolicy:
# envTemplate:
# template: "{{.IMAGE_NAME}}:{{.projectVersion}}"
artifacts:
- image: containers.ssii.com/com.ssii.rdp/demo-gradle
context: .
# sync:
# '*.java': .
# docker:
# # Dockerfile's location relative to workspace. Defaults to "Dockerfile"
# dockerfile: Dockerfile
# # Key/value arguements passed to the docker build.
# buildArgs:
# key1: "value1"
# key2: "value2"
# # Images to consider as cache sources
# cacheFrom:
# - golang:1.10.1-alpine3.7
# - alpine:3.7
# # Dockerfile target name to build.
# # target: stageName
# Using the Jib plugin for Gradle.
jib:
type: gradle
# kaniko:
# image: containers.ssii.com/kaniko/executor:v0.10.0
# buildContext:
# localDir: {}
# cache: {}
local:
# false by default for local clusters, true for remote clusters
push: false
useDockerCLI: false
useBuildkit: false
# cluster:
# pullSecretName: kaniko-secret
# namespace: default
# dockerConfig:
# secretName: kaniko-secret
deploy:
# kubectl:
# manifests to deploy from files.
# manifests:
# - ./k8s-*
# flags:
# global: [""]
# apply: [""]
# delete: [""]
# manifests to deploy from remote cluster.
# The path to where these manifests live in remote kubernetes cluster.
# Example
# remoteManifests:
# - deployment/web-app1
# - namespace:deployment/web-app2
# kustomize:
# path: .
# flags:
# global: [""]
# apply: [""]
# delete: [""]
helm:
releases:
- name: demo-gradle
chartPath: charts
#wait: true
valuesFiles:
- charts/values.yaml
skipBuildDependencies: true # Skip helm dep build
artifactOverrides:
image: containers.ssii.com/com.ssii.rdp/demo-gradle
# namespace: demo
#recreatePods will pass --recreate-pods to helm upgrade
#recreatePods: true
#overrides builds an override values.yaml file to run with the helm deploy
#overrides:
# some:
# key: someValue
#setValues get appended to the helm deploy with --set.
#setValues:
#some.key: someValue