generated from keptn-sandbox/keptn-service-template-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmValues.go
61 lines (60 loc) · 1.69 KB
/
helmValues.go
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
package main
type helmValues struct {
Helmservice struct {
Image struct {
Repository string `yaml:"repository"`
PullPolicy string `yaml:"pullPolicy"`
Tag string `yaml:"tag"`
} `yaml:"image"`
Service struct {
Enabled bool `yaml:"enabled"`
} `yaml:"service"`
} `yaml:"helmservice"`
Distributor struct {
StageFilter string `yaml:"stageFilter"`
ServiceFilter string `yaml:"serviceFilter"`
ProjectFilter string `yaml:"projectFilter"`
Image struct {
Repository string `yaml:"repository"`
PullPolicy string `yaml:"pullPolicy"`
Tag string `yaml:"tag"`
} `yaml:"image"`
} `yaml:"distributor"`
RemoteControlPlane struct {
Enabled bool `yaml:"enabled"`
API struct {
Protocol string `yaml:"protocol"`
Hostname string `yaml:"hostname"`
APIValidateTLS bool `yaml:"apiValidateTls"`
Token string `yaml:"token"`
} `yaml:"api"`
} `yaml:"remoteControlPlane"`
ImagePullSecrets []interface{} `yaml:"imagePullSecrets"`
ServiceAccount struct {
Create bool `yaml:"create"`
Annotations struct {
} `yaml:"annotations"`
Name string `yaml:"name"`
} `yaml:"serviceAccount"`
PodAnnotations struct {
} `yaml:"podAnnotations"`
PodSecurityContext struct {
} `yaml:"podSecurityContext"`
SecurityContext struct {
} `yaml:"securityContext"`
Resources struct {
Limits struct {
CPU string `yaml:"cpu"`
Memory string `yaml:"memory"`
} `yaml:"limits"`
Requests struct {
CPU string `yaml:"cpu"`
Memory string `yaml:"memory"`
} `yaml:"requests"`
} `yaml:"resources"`
NodeSelector struct {
} `yaml:"nodeSelector"`
Tolerations []interface{} `yaml:"tolerations"`
Affinity struct {
} `yaml:"affinity"`
}