Skip to content

Commit

Permalink
Merge pull request #1836 from jiyeonmolloy/nginx-custom-labels
Browse files Browse the repository at this point in the history
[artifactory] Add support for custom labels in the Nginx pods
  • Loading branch information
chukka authored Jan 24, 2024
2 parents aff8937 + c1ac106 commit 24592b2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions stable/artifactory-ha/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All changes to this chart will be documented in this file
* Fixed - StatefulSet pod annotations changed from range to toYaml [GH-1828](https://github.com/jfrog/charts/issues/1828)
* Fixed - Invalid format for awsS3V3 `multiPartLimit,multipartElementSize` in binarystore.xml
* Fixed - Artifactory primary service condition
* Added support for custom labels in the Nginx pods

## [107.69.0] - Sep 18, 2023
* Adjust rtfs context
Expand Down
4 changes: 4 additions & 0 deletions stable/artifactory-ha/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ spec:
component: {{ .Values.nginx.name }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
{{- if .Values.nginx.labels }}
{{ toYaml .Values.nginx.labels | indent 8 }}
{{- end }}
{{- with .Values.nginx.deployment.annotations }}
spec:
securityContext:
runAsUser: {{ .Values.nginx.uid }}
Expand Down
3 changes: 2 additions & 1 deletion stable/artifactory/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ All changes to this chart will be documented in this file.

## [107.71.11] - Oct 31, 2023
* Fixed - StatefulSet pod annotations changed from range to toYaml [GH-1828](https://github.com/jfrog/charts/issues/1828)
* Fixed - Invalid format for awsS3V3 `multiPartLimit,multipartElementSize` in binarystore.xml.
* Fixed - Invalid format for awsS3V3 `multiPartLimit,multipartElementSize` in binarystore.xml
* Added support for custom labels in the Nginx pods

## [107.69.0] - Sep 18, 2023
* Adjust rtfs context
Expand Down
4 changes: 4 additions & 0 deletions stable/artifactory/templates/nginx-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ spec:
component: {{ .Values.nginx.name }}
heritage: {{ .Release.Service }}
release: {{ .Release.Name }}
{{- if .Values.nginx.labels }}
{{ toYaml .Values.nginx.labels | indent 8 }}
{{- end }}
{{- with .Values.nginx.deployment.annotations }}
spec:
securityContext:
runAsUser: {{ .Values.nginx.uid }}
Expand Down

0 comments on commit 24592b2

Please sign in to comment.