Skip to content

Commit 49a88d2

Browse files
rwinieskiPeng Zhou
authored andcommitted
add PodAnnotations
1 parent 3bb893f commit 49a88d2

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ Following table lists all the parameters supported by the latest MarkLogic Helm
109109
| `clusterDomain` | Domain for the Kubernetes cluster | `cluster.local` |
110110
| `allowLongHostnames` | Allow deployment with hostname over 64 characters | `false` |
111111
| `useLegacyHostnames` | Use the lagecy hostnames that is used before 1.1.0 version. | `false` |
112+
| `podAnnotations` | Pod Annotations | `{}` |
112113
| `group.name` | Group name for joining MarkLogic cluster | `Default` |
113114
| `group.enableXdqpSsl` | SSL encryption for XDQP | `true` |
114115
| `bootstrapHostName` | Host name of MarkLogic bootstrap host (to join a cluster) | `""` |

charts/templates/statefulset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ spec:
1919
metadata:
2020
labels:
2121
{{- include "marklogic.selectorLabels" . | nindent 8 }}
22+
annotations:
23+
{{- toYaml .Values.podAnnotations | nindent 8 }}
2224
spec:
2325
{{- if .Values.podSecurityContext.enabled }}
2426
securityContext: {{- omit .Values.podSecurityContext "enabled" | toYaml | nindent 8 }}

charts/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ allowLongHostnames: false
2626
## It should remain true for all future upgrades. For new installations, this flag should be set to false.
2727
useLegacyHostnames: false
2828

29+
# -- Annotations for the all deployed pods
30+
podAnnotations: {}
31+
2932
## Group related settings
3033
group:
3134
## the group name of the current Marklogic Helm Deployment

0 commit comments

Comments
 (0)