Skip to content

Commit

Permalink
Add support for custom labels in the Nginx pods
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyeonmolloy committed Oct 27, 2023
1 parent 7a7916b commit dce3804
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 2 deletions.
3 changes: 3 additions & 0 deletions stable/artifactory-ha/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# JFrog Artifactory-ha Chart Changelog
All changes to this chart will be documented in this file

## [107.71.4] - Oct 27, 2023
* Added support for custom labels in the Nginx pods

## [107.71.3] - Sep 18, 2023
* Adjust rtfs context
* Fixed - Metadata service does not respect customVolumeMounts for DB CAs [GH-1815](https://github.com/jfrog/charts/issues/1815)
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: 3 additions & 0 deletions stable/artifactory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# JFrog Artifactory Chart Changelog
All changes to this chart will be documented in this file.

## [107.71.4] - Oct 27, 2023
* Added support for custom labels in the Nginx pods

## [107.71.3] - Sep 18, 2023
* Adjust rtfs context
* Fixed - Metadata service does not respect customVolumeMounts for DB CAs [GH-1815](https://github.com/jfrog/charts/issues/1815)
Expand Down
4 changes: 2 additions & 2 deletions stable/artifactory/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 7.71.3
appVersion: 7.71.4
dependencies:
- condition: postgresql.enabled
name: postgresql
Expand All @@ -21,4 +21,4 @@ name: artifactory
sources:
- https://github.com/jfrog/charts
type: application
version: 107.71.3
version: 107.71.4
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 dce3804

Please sign in to comment.