Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[artifactory-ha] Add Annotations to Primary Artifactory Service and Resources to Nginx Deployment #1862

Merged
merged 11 commits into from
Oct 30, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ metadata:
{{- with .Values.artifactory.primary.labels }}
{{ toYaml . | indent 4 }}
{{- end }}
{{- with .Values.artifactory.primary.annotations }}
annotations:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
# Statically setting service type to ClusterIP since this is an internal only service
type: ClusterIP
Expand Down
2 changes: 2 additions & 0 deletions stable/artifactory-ha/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ spec:
volumeMounts:
- mountPath: {{ .Values.nginx.persistence.mountPath | quote }}
name: nginx-volume
resources:
{{ toYaml .Values.initContainers.resources | indent 10 }}
containers:
- name: {{ .Values.nginx.name }}
image: {{ include "artifactory-ha.getImageInfoByValue" (list . "nginx") }}
Expand Down
1 change: 1 addition & 0 deletions stable/artifactory-ha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,7 @@ artifactory:
## preStartCommand specific to the primary node, to be run after artifactory.preStartCommand
# preStartCommand:
labels: {}
annotations: {}
persistence:
## Set existingClaim to true or false
## If true, you must prepare a PVC with the name e.g `volume-myrelease-artifactory-ha-primary-0`
Expand Down
Loading