forked from IBM/mr-cassop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskaffold.yaml
114 lines (114 loc) · 3.58 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
apiVersion: skaffold/v2beta25
kind: Config
build:
artifacts:
- image: "us.icr.io/cassandra-operator/cassandra-operator"
context: .
docker:
dockerfile: Dockerfile
- image: "us.icr.io/cassandra-operator/prober"
context: prober/
docker:
dockerfile: Dockerfile
- image: "us.icr.io/cassandra-operator/cassandra"
context: cassandra/
docker:
dockerfile: Dockerfile
- image: "us.icr.io/cassandra-operator/jolokia"
context: jolokia/
docker:
dockerfile: Dockerfile
tagPolicy:
envTemplate:
template: "{{.USER}}"
local:
push: true
concurrency: 4
# useDockerCLI: true
#build:
# artifacts:
# - image: "738806440043.dkr.ecr.us-east-1.amazonaws.com/cassandra-operator"
# context: .
# docker:
# dockerfile: Dockerfile
# - image: "738806440043.dkr.ecr.us-east-1.amazonaws.com/prober"
# context: prober/
# docker:
# dockerfile: Dockerfile
# - image: "738806440043.dkr.ecr.us-east-1.amazonaws.com/cassandra"
# context: cassandra/
# docker:
# dockerfile: Dockerfile
# - image: "738806440043.dkr.ecr.us-east-1.amazonaws.com/jolokia"
# context: jolokia/
# docker:
# dockerfile: Dockerfile
# tagPolicy:
# envTemplate:
# template: "{{.USER}}"
# local:
# push: true
# concurrency: 4
deploy:
helm:
releases:
- name: "cassandra-operator-{{.USER}}"
chartPath: ./cassandra-operator
valuesFiles:
- cassandra-operator/values.yaml
setValueTemplates:
container.image: "us.icr.io/cassandra-operator/cassandra-operator:{{.USER}}"
container.imagePullSecret: icm-coreeng-pull-secret
container.imagePullPolicy: Always
logLevel: debug
logFormat: console
proberImage: "us.icr.io/cassandra-operator/prober:{{.USER}}"
jolokiaImage: "us.icr.io/cassandra-operator/jolokia:{{.USER}}"
cassandraImage: "us.icr.io/cassandra-operator/cassandra:{{.USER}}"
admissionWebhooks.enabled: true
clusterDashboards.enabled[0]: "datastax"
clusterDashboards.enabled[1]: "instaclustr"
clusterDashboards.enabled[2]: "prober"
clusterDashboards.enabled[3]: "reaper"
clusterDashboards.enabled[4]: "tlp"
monitoring.enabled: true
monitoring.grafanaDashboard.enabled: true
monitoring.grafanaDashboard.datasourceName: "Prometheus"
monitoring.serviceMonitor.enabled: true
monitoring.serviceMonitor.scrapeInterval: 30s
createNamespace: true
wait: true
recreatePods: true
packaged:
version: "0.0.0-{{.USER}}"
appVersion: "0.0.0-{{.USER}}"
# kubectl:
# manifests:
# - ./config/samples/cassandracluster_local.yaml
profiles:
- name: kind
activation:
- kubeContext: kind-cassandra
build:
local:
# when `push` set to `false` the images are not pushed to ICR but loaded into kind cluster nodes
push: false
deploy:
helm:
releases:
- name: "cassandra-operator-{{.USER}}"
chartPath: ./cassandra-operator
valuesFiles:
- cassandra-operator/values.yaml
setValueTemplates:
container.image: "us.icr.io/cassandra-operator/cassandra-operator:{{.USER}}"
container.imagePullPolicy: Never
logLevel: debug
proberImage: "us.icr.io/cassandra-operator/prober:{{.USER}}"
jolokiaImage: "us.icr.io/cassandra-operator/jolokia:{{.USER}}"
cassandraImage: "us.icr.io/cassandra-operator/cassandra:{{.USER}}"
createNamespace: true
wait: true
packaged:
version: "0.0.0-{{.USER}}"
appVersion: "0.0.0-{{.USER}}"