File tree 4 files changed +18
-0
lines changed
4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -710,6 +710,7 @@ chainloop config save \
710
710
| `controlplane.automountServiceAccountToken` | Mount Service Account token in controlplane pods | `false` |
711
711
| `controlplane.hostAliases` | controlplane pods host aliases | `[]` |
712
712
| `controlplane.deploymentAnnotations` | Annotations for controlplane deployment | `{}` |
713
+ | `controlplane.podAnnotations` | Annotations for controlplane pods | `{}` |
713
714
| `controlplane.podLabels` | Extra labels for controlplane pods | `{}` |
714
715
| `controlplane.podAffinityPreset` | Pod affinity preset. Ignored if `controlplane.affinity` is set. Allowed values : ` soft` or `hard` | `""` |
715
716
| `controlplane.podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `controlplane.affinity` is set. Allowed values : ` soft` or `hard` | `soft` |
@@ -858,6 +859,7 @@ chainloop config save \
858
859
| `cas.automountServiceAccountToken` | Mount Service Account token in cas pods | `false` |
859
860
| `cas.hostAliases` | cas pods host aliases | `[]` |
860
861
| `cas.deploymentAnnotations` | Annotations for cas deployment | `{}` |
862
+ | `cas.podAnnotations` | Annotations for cas pods | `{}` |
861
863
| `cas.podLabels` | Extra labels for cas pods | `{}` |
862
864
| `cas.podAffinityPreset` | Pod affinity preset. Ignored if `cas.affinity` is set. Allowed values : ` soft` or `hard` | `""` |
863
865
| `cas.podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `cas.affinity` is set. Allowed values : ` soft` or `hard` | `soft` |
Original file line number Diff line number Diff line change 28
28
checksum/config : {{ include (print $.Template.BasePath "/cas" "/configmap.yaml") . | sha256sum }}
29
29
checksum/config-secret : {{ include (print $.Template.BasePath "/cas" "/secret-config.yaml") . | sha256sum }}
30
30
checksum/public-key-secret : {{ include (print $.Template.BasePath "/cas" "/secret-jwt-public-key.yaml") . | sha256sum }}
31
+ {{- if .Values.cas.podAnnotations }}
32
+ {{- include "common.tplvalues.render" (dict "value" .Values.cas.podAnnotations "context" $) | nindent 8 }}
33
+ {{- end }}
31
34
labels : {{ include "chainloop.cas.labels" . | nindent 8 }}
32
35
spec :
33
36
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.cas.image) "context" $) | nindent 6 }}
Original file line number Diff line number Diff line change 30
30
checksum/secret-config : {{ include (print $.Template.BasePath "/controlplane" "/secret-config.yaml") . | sha256sum }}
31
31
checksum/cas-private-key : {{ include (print $.Template.BasePath "/controlplane" "/secret-jwt-cas-private-key.yaml") . | sha256sum }}
32
32
kubectl.kubernetes.io/default-container : controlplane
33
+ {{- if .Values.controlplane.podAnnotations }}
34
+ {{- include "common.tplvalues.render" (dict "value" .Values.controlplane.podAnnotations "context" $) | nindent 8 }}
35
+ {{- end }}
33
36
labels : {{- include "chainloop.controlplane.labels" . | nindent 8 }}
34
37
spec :
35
38
{{- include "common.images.renderPullSecrets" (dict "images" (list .Values.controlplane.image .Values.controlplane.migration.image) "context" $) | nindent 6 }}
Original file line number Diff line number Diff line change @@ -746,6 +746,11 @@ controlplane:
746
746
# #
747
747
deploymentAnnotations : {}
748
748
749
+ # # @param controlplane.podAnnotations Annotations for controlplane pods
750
+ # # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
751
+ # #
752
+ podAnnotations : {}
753
+
749
754
# # @param controlplane.podLabels Extra labels for controlplane pods
750
755
# # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
751
756
# #
@@ -1423,6 +1428,11 @@ cas:
1423
1428
# #
1424
1429
deploymentAnnotations : {}
1425
1430
1431
+ # # @param cas.podAnnotations Annotations for cas pods
1432
+ # # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
1433
+ # #
1434
+ podAnnotations : {}
1435
+
1426
1436
# # @param cas.podLabels Extra labels for cas pods
1427
1437
# # ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1428
1438
# #
You can’t perform that action at this time.
0 commit comments