generated from MacroPower/go_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path10-charts-with-values.k
176 lines (172 loc) · 3.46 KB
/
10-charts-with-values.k
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
import kcl_plugin.helm
import manifests
schema PodInfoValues:
replicaCount = 1
logLevel = "info"
host = None
backend = None
backends = [
]
image = {
repository = "ghcr.io/stefanprodan/podinfo"
tag = "6.7.1"
pullPolicy = "IfNotPresent"
}
ui = {
color = "#34577c"
message = ""
logo = ""
}
faults = {
delay = False
error = False
unhealthy = False
unready = False
testFail = False
testTimeout = False
}
service = {
enabled = True
annotations = {
}
$type = "ClusterIP"
metricsPort = 9797
httpPort = 9898
externalPort = 9898
grpcPort = 9999
grpcService = "podinfo"
nodePort = 31198
hostPort = None
}
h2c = {
enabled = False
}
config = {
path = ""
name = ""
}
extraArgs = [
]
tls = {
enabled = False
secretName = None
certPath = "/data/cert"
port = 9899
hostPort = None
}
certificate = {
create = False
issuerRef = {
kind = "ClusterIssuer"
name = "self-signed"
}
dnsNames = [
"podinfo"
]
}
hpa = {
enabled = False
maxReplicas = 10
cpu = None
memory = None
requests = None
}
cache = ""
redis = {
enabled = False
repository = "redis"
tag = "7.0.7"
}
serviceAccount = {
enabled = False
name = None
imagePullSecrets = [
]
}
securityContext = {
}
ingress = {
enabled = True
className = ""
additionalLabels = {
}
annotations = {
}
hosts = [
{
host = "podinfo.local"
paths = [
{
path = "/"
pathType = "ImplementationSpecific"
}
]
}
]
tls = [
]
}
linkerd = {
profile = {
enabled = False
}
}
serviceMonitor = {
enabled = False
interval = "15s"
additionalLabels = {
}
}
resources = {
limits = None
requests = {
cpu = "1m"
memory = "16Mi"
}
}
extraEnvs = [
]
nodeSelector = {
}
tolerations = [
]
affinity = {
}
podAnnotations = {
}
topologySpreadConstraints = [
]
podDisruptionBudget = {
}
probes = {
readiness = {
initialDelaySeconds = 1
timeoutSeconds = 5
failureThreshold = 3
successThreshold = 1
periodSeconds = 10
}
liveness = {
initialDelaySeconds = 1
timeoutSeconds = 5
failureThreshold = 3
successThreshold = 1
periodSeconds = 10
}
startup = {
enable = False
initialDelaySeconds = 10
timeoutSeconds = 5
failureThreshold = 20
successThreshold = 1
periodSeconds = 10
}
}
_chart = [helm.template(
chart="podinfo",
releaseName="podinfo-${x}",
target_revision="6.7.1",
repo_url="https://stefanprodan.github.io/podinfo",
values=PodInfoValues{}
) for x in range(0, 10)]
manifests.yaml_stream([*_chart])