File tree Expand file tree Collapse file tree 7 files changed +52
-133
lines changed
cluster-api-operator-providers/templates Expand file tree Collapse file tree 7 files changed +52
-133
lines changed Original file line number Diff line number Diff line change 43
43
{{- if $addon.manifestPatches }}
44
44
manifestPatches : {{ toYaml $addon.manifestPatches | nindent 4 }}
45
45
{{- end }}
46
+ {{- if $addon.fetchConfig }}
47
+ fetchConfig : {{ toYaml $addon.fetchConfig | nindent 4 }}
48
+ {{- end }}
46
49
{{- if $addon.additionalManifests }}
47
50
additionalManifests :
48
51
name : {{ $addon.additionalManifests.name }}
Original file line number Diff line number Diff line change 45
45
{{- if $bootstrap.manifestPatches }}
46
46
manifestPatches : {{ toYaml $bootstrap.manifestPatches | nindent 4 }}
47
47
{{- end }}
48
+ {{- if $bootstrap.fetchConfig }}
49
+ fetchConfig : {{ toYaml $bootstrap.fetchConfig | nindent 4 }}
50
+ {{- end }}
48
51
{{- if $bootstrap.additionalManifests }}
49
52
additionalManifests :
50
53
name : {{ $bootstrap.additionalManifests.name }}
Original file line number Diff line number Diff line change 58
58
{{- if $controlPlane.manifestPatches }}
59
59
manifestPatches : {{ toYaml $controlPlane.manifestPatches | nindent 4 }}
60
60
{{- end }}
61
+ {{- if $controlPlane.fetchConfig }}
62
+ fetchConfig : {{ toYaml $controlPlane.fetchConfig | nindent 4 }}
63
+ {{- end }}
61
64
{{- if $controlPlane.additionalManifests }}
62
65
additionalManifests :
63
66
name : {{ $controlPlane.additionalManifests.name }}
Original file line number Diff line number Diff line change 54
54
{{- if $core.manifestPatches }}
55
55
manifestPatches : {{ toYaml $core.manifestPatches | nindent 4 }}
56
56
{{- end }}
57
+ {{- if $core.fetchConfig }}
58
+ fetchConfig : {{ toYaml $core.fetchConfig | nindent 4 }}
59
+ {{- end }}
57
60
{{- if $core.additionalManifests }}
58
61
additionalManifests :
59
62
name : {{ $core.additionalManifests.name }}
Original file line number Diff line number Diff line change 71
71
{{- if $infra.manifestPatches }}
72
72
manifestPatches : {{- toYaml $infra.manifestPatches | nindent 4 }}
73
73
{{- end }} {{/* if $infra.manifestPatches */}}
74
+ {{- if $infra.fetchConfig }}
75
+ fetchConfig : {{ toYaml $infra.fetchConfig | nindent 4 }}
76
+ {{- end }}
74
77
{{- if $infra.additionalManifests }}
75
78
additionalManifests :
76
79
name : {{ $infra.additionalManifests.name }}
Original file line number Diff line number Diff line change 68
68
{{- if $ipam.manifestPatches }}
69
69
manifestPatches : {{ toYaml $ipam.manifestPatches | nindent 4 }}
70
70
{{- end }}
71
+ {{- if $ipam.fetchConfig }}
72
+ fetchConfig : {{ toYaml $ipam.fetchConfig | nindent 4 }}
73
+ {{- end }}
71
74
{{- if $.Values.additionalDeployments }}
72
75
additionalDeployments : {{ toYaml $.Values.additionalDeployments | nindent 4 }}
73
76
{{- end }}
Original file line number Diff line number Diff line change 2
2
"$schema" : " https://json-schema.org/draft/2020-12/schema#" ,
3
3
"type" : " object" ,
4
4
"properties" : {
5
- "logLevel" : {
6
- "type" : " integer" ,
7
- "default" : 2
5
+ "fetchConfig" : {
6
+ "type" : " object" ,
7
+ "deprecated" : true ,
8
+ "description" : " This field is deprecated and will be removed in future versions. Prefer declaring fetchConfig under the individual providers instead."
8
9
},
9
- "replicaCount" : {
10
- "type" : " integer" ,
11
- "default" : 1
10
+ "core" : {
11
+ "oneOf" : [
12
+ { "type" : " object" },
13
+ { "type" : " null" }
14
+ ]
12
15
},
13
- "leaderElection " : {
16
+ "bootstrap " : {
14
17
"type" : " object" ,
15
- "properties" : {
16
- "enabled" : {
17
- "type" : " boolean" ,
18
- "default" : true
19
- },
20
- "leaseDuration" : {
21
- "type" : " string"
22
- },
23
- "renewDeadline" : {
24
- "type" : " string"
25
- },
26
- "retryPeriod" : {
27
- "type" : " string"
28
- }
29
- }
18
+ "oneOf" : [
19
+ { "type" : " object" },
20
+ { "type" : " null" }
21
+ ]
30
22
},
31
- "image " : {
23
+ "controlPlane " : {
32
24
"type" : " object" ,
33
- "properties" : {
34
- "manager" : {
35
- "type" : " object" ,
36
- "properties" : {
37
- "repository" : {
38
- "type" : " string"
39
- },
40
- "tag" : {
41
- "type" : " string"
42
- },
43
- "pullPolicy" : {
44
- "type" : " string" ,
45
- "enum" : [" Always" , " IfNotPresent" , " Never" ]
46
- },
47
- "registry" : {
48
- "type" : " string"
49
- },
50
- "digest" : {
51
- "type" : " string"
52
- }
53
- }
54
- }
55
- }
25
+ "oneOf" : [
26
+ { "type" : " object" },
27
+ { "type" : " null" }
28
+ ]
56
29
},
57
- "env " : {
30
+ "infrastructure " : {
58
31
"type" : " object" ,
59
- "properties" : {
60
- "manager" : {
61
- "type" : " array"
62
- }
63
- }
64
- },
65
- "diagnosticsAddress" : {
66
- "type" : " string" ,
67
- "default" : " :8443"
68
- },
69
- "healthAddr" : {
70
- "type" : " string" ,
71
- "default" : " :9440"
72
- },
73
- "profilerAddress" : {
74
- "type" : " string" ,
75
- "default" : " :6060"
76
- },
77
- "contentionProfiling" : {
78
- "type" : " boolean" ,
79
- "default" : false
80
- },
81
- "insecureDiagnostics" : {
82
- "type" : " boolean" ,
83
- "default" : false
32
+ "oneOf" : [
33
+ { "type" : " object" },
34
+ { "type" : " null" }
35
+ ]
84
36
},
85
- "watchConfigSecret" : {
86
- "type" : " boolean" ,
87
- "default" : false
88
- },
89
- "imagePullSecrets" : {
90
- "type" : " object"
91
- },
92
- "resources" : {
37
+ "addon" : {
93
38
"type" : " object" ,
94
- "properties" : {
95
- "manager" : {
96
- "type" : " object"
97
- }
98
- }
99
- },
100
- "containerSecurityContext" : {
101
- "type" : " object"
102
- },
103
- "affinity" : {
104
- "type" : " object"
105
- },
106
- "tolerations" : {
107
- "type" : " array"
39
+ "oneOf" : [
40
+ { "type" : " object" },
41
+ { "type" : " null" }
42
+ ]
108
43
},
109
- "volumes" : {
110
- "type" : " array"
111
- },
112
- "volumeMounts" : {
44
+ "ipam" : {
113
45
"type" : " object" ,
114
- "properties" : {
115
- "manager" : {
116
- "type" : " array"
117
- }
118
- }
119
- },
120
- "deploymentLabels" : {
121
- "type" : " object"
122
- },
123
- "deploymentAnnotations" : {
124
- "type" : " object"
125
- },
126
- "podLabels" : {
127
- "type" : " object"
128
- },
129
- "podAnnotations" : {
130
- "type" : " object"
131
- },
132
- "securityContext" : {
133
- "type" : " object"
134
- },
135
- "strategy" : {
136
- "type" : " object"
137
- },
138
- "nodeSelector" : {
139
- "type" : " object"
140
- },
141
- "topologySpreadConstraints" : {
142
- "type" : " array"
143
- },
144
- "podDnsPolicy" : {
145
- "type" : " string"
146
- },
147
- "podDnsConfig" : {
148
- "type" : " object"
46
+ "oneOf" : [
47
+ { "type" : " object" },
48
+ { "type" : " null" }
49
+ ]
149
50
}
150
51
}
151
52
}
You can’t perform that action at this time.
0 commit comments