1
1
{ {/*
2
2
3
3
--- DO NOT EDIT THIS FILE - all configuration of HPCC platform should be done via values.yaml ----
4
-
4
+
5
5
##############################################################################
6
6
7
7
HPCC SYSTEMS software Copyright (C) 2021 HPCC Systems®.
17
17
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
18
See the License for the specific language governing permissions and
19
19
limitations under the License.
20
-
20
+
21
21
##############################################################################
22
22
23
23
*/} }
@@ -64,7 +64,7 @@ Translate a port list to a comma-separated list
64
64
{ {- $local := dict " first" true -} }
65
65
{ {- range $key , $value := . -} }{ {- if not $local .first -} },{ {- end -} }{ {- $value -} }{ {- $_ := set $local " first" false -} }{ {- end -} }
66
66
{ {- else -} }
67
- { {- . -} }
67
+ { {- . -} }
68
68
{ {- end -} }
69
69
{ {- end -} }
70
70
@@ -877,7 +877,7 @@ Generates image information into env. variables used at runtime for runtime plat
877
877
{ {- end -} }
878
878
879
879
{ {/*
880
- Add image attributes for a component
880
+ Add image attributes for a component
881
881
Pass in a dictionary with root, me and imagename defined
882
882
*/} }
883
883
{ {- define " hpcc.addImageAttrs" -} }
@@ -890,7 +890,7 @@ imagePullPolicy: {{ .root.Values.global.image.pullPolicy | default "IfNotPresent
890
890
{ {- end -} }
891
891
892
892
{ {/*
893
- Add image pull credentials for a component
893
+ Add image pull credentials for a component
894
894
Pass in a dictionary with root and me defined
895
895
*/} }
896
896
{ {- define " hpcc.addImagePullSecrets" -} }
@@ -1237,7 +1237,7 @@ Generate instance queue names
1237
1237
{ {- range $.Values.roxie -} }
1238
1238
{ {- if not .disabled -} }
1239
1239
- name: { { .name } }
1240
- type: roxie
1240
+ type: roxie
1241
1241
{ {- if hasKey . " prefix" } }
1242
1242
prefix: { { .prefix } }
1243
1243
{ {- end } }
@@ -1660,12 +1660,12 @@ spec:
1660
1660
loadBalancerSourceRanges:
1661
1661
{ {- if ne $lvars .type " LoadBalancer" -} }
1662
1662
{ {- $_ := fail (printf " loadBalanceSourceRanges invalid unless service type is LoadBalancer" ) -} }
1663
- { {- end -} }
1663
+ { {- end -} }
1664
1664
{ {- range $cidr := $lvars .loadBalancerSourceRanges } }
1665
1665
- { { $cidr } }
1666
1666
{ {- end } }
1667
1667
{ { end } }
1668
- { {- if $lvars .ingress } }
1668
+ { {- if $lvars .ingress } }
1669
1669
---
1670
1670
apiVersion: networking.k8s.io/v1
1671
1671
kind: NetworkPolicy
@@ -1727,7 +1727,7 @@ dali data
1727
1727
A template to generate the standard app.kubernetes.io labels and standard HPCC labels
1728
1728
1729
1729
Pass in root, name, component, instance
1730
- root name(k8s application name) component(component within the application, can be same as app) instance
1730
+ root name(k8s application name) component(component within the application, can be same as app) instance
1731
1731
1732
1732
https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/
1733
1733
----------------------------+-------------------------------------------------------------+----------
@@ -2623,7 +2623,7 @@ globalExcludeList below is a hard-coded list of global keys to exclude.
2623
2623
2624
2624
*/} }
2625
2625
{ {- define " hpcc.getConfigSHA" } }
2626
- { {- $globalExcludeList := list " ~.*::replicas" " ~.*::vaults" -} }
2626
+ { {- $globalExcludeList := list " ~.*::logging " " ~.*:: replicas" " ~.*::vaults" -} }
2627
2627
{ {- $globalExcludeSectionRegexList := list " .*-job.yaml$" -} }
2628
2628
{ {- $componentExcludeList := ternary (splitList " ," (.excludeKeys | default " " )) list (hasKey . " excludeKeys" ) -} }
2629
2629
{ {- $combinedExcludeKeyList := concat $globalExcludeList $componentExcludeList -} }
@@ -2803,7 +2803,7 @@ Pass in dict with .root, .me and .labels
2803
2803
{ {- $_ := set $lvars " egress" .me.egress -} }
2804
2804
{ {- end -} }
2805
2805
{ {- end -} }
2806
- { {- if $lvars .egress } }
2806
+ { {- if $lvars .egress } }
2807
2807
apiVersion: networking.k8s.io/v1
2808
2808
kind: NetworkPolicy
2809
2809
metadata:
@@ -2921,7 +2921,7 @@ spec:
2921
2921
minReplicas: { { (hasKey .hpa " minReplicas" ) | ternary .hpa.minReplicas 1 } }
2922
2922
maxReplicas: { { .hpa.maxReplicas } }
2923
2923
{ {- if hasKey .hpa " behavior" } }
2924
- behavior:
2924
+ behavior:
2925
2925
{ {- if hasKey .hpa.behavior " scaleDown" } }
2926
2926
scaleDown:
2927
2927
{ {- include " hpcc.addHPABehaviorScale" (dict " behaviorScale" .hpa.behavior.scaleDown) | nindent 6 } }
0 commit comments