File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,14 @@ metadata:
25
25
"helm.sh/hook": pre-install,pre-upgrade
26
26
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
27
27
"helm.sh/hook-weight": "-10"
28
+ { {- with .Values.prePuller.hook.daemonsetAnnotations } }
29
+ { {- . | toYaml | nindent 4 } }
30
+ { {- end } }
31
+ { {- else } }
32
+ { {- with .Values.prePuller.continuous.daemonsetAnnotations } }
33
+ annotations:
34
+ { {- . | toYaml | nindent 4 } }
35
+ { {- end } }
28
36
{ {- end } }
29
37
spec:
30
38
selector:
Original file line number Diff line number Diff line change @@ -2906,6 +2906,12 @@ properties:
2906
2906
resources : *resources-spec
2907
2907
serviceAccount : *serviceAccount
2908
2908
serviceAccountImagePuller : *serviceAccount
2909
+ daemonsetAnnotations :
2910
+ type : object
2911
+ additionalProperties : false
2912
+ patternProperties : *labels-and-annotations-patternProperties
2913
+ description : |
2914
+ Annotations to apply to the hook image puller DaemonSet.
2909
2915
continuous :
2910
2916
type : object
2911
2917
additionalProperties : false
@@ -2923,6 +2929,12 @@ properties:
2923
2929
enabled :
2924
2930
type : boolean
2925
2931
serviceAccount : *serviceAccount
2932
+ daemonsetAnnotations :
2933
+ type : object
2934
+ additionalProperties : false
2935
+ patternProperties : *labels-and-annotations-patternProperties
2936
+ description : |
2937
+ Annotations to apply to the continuous image puller DaemonSet.
2926
2938
pullProfileListImages :
2927
2939
type : boolean
2928
2940
description : |
Original file line number Diff line number Diff line change @@ -675,12 +675,14 @@ prePuller:
675
675
create : true
676
676
name :
677
677
annotations : {}
678
+ daemonsetAnnotations : {}
678
679
continuous :
679
680
enabled : true
680
681
serviceAccount :
681
682
create : true
682
683
name :
683
684
annotations : {}
685
+ daemonsetAnnotations : {}
684
686
pullProfileListImages : true
685
687
extraImages : {}
686
688
pause :
Original file line number Diff line number Diff line change @@ -564,9 +564,11 @@ prePuller:
564
564
effect : NoSchedule
565
565
serviceAccount : *serviceAccount
566
566
serviceAccountImagePuller : *serviceAccount
567
+ daemonsetAnnotations : *annotations
567
568
continuous :
568
569
enabled : true
569
570
serviceAccount : *serviceAccount
571
+ daemonsetAnnotations : *annotations
570
572
extraImages :
571
573
mockImage1 :
572
574
name : mock-user/mock-image1
You can’t perform that action at this time.
0 commit comments