Skip to content

Commit

Permalink
Add support for customVolumeMounts (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
eldada authored Apr 15, 2019
1 parent 02e82a3 commit a1cefa6
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 3 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.

## [0.12.16] - Apr 12, 2019
* Added support for `customVolumeMounts`

## [0.12.15] - Aprl 12, 2019
* Added support for `bucketExists` flag for googleStorage

Expand Down
2 changes: 1 addition & 1 deletion stable/artifactory-ha/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: artifactory-ha
home: https://www.jfrog.com/artifactory/
version: 0.12.15
version: 0.12.16
appVersion: 6.9.1
description: Universal Repository Manager supporting all major packaging formats,
build tools and CI servers.
Expand Down
1 change: 1 addition & 0 deletions stable/artifactory-ha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ The following table lists the configurable parameters of the artifactory chart a
| `artifactory.customInitContainers`| Custom init containers | |
| `artifactory.customSidecarContainers`| Custom sidecar containers | |
| `artifactory.customVolumes` | Custom volumes | |
| `artifactory.customVolumeMounts` | Custom Artifactory volumeMounts | |
| `artifactory.userPluginSecrets` | Array of secret names for Artifactory user plugins | |
| `artifactory.masterKey` | Artifactory Master Key. Can be generated with `openssl rand -hex 32` |`FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF`|
| `artifactory.masterKeySecretName` | Artifactory Master Key secret name | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ spec:
- name: installer-info
mountPath: "/artifactory_extra_conf/info/installer-info.json"
subPath: installer-info.json
{{- if .Values.artifactory.customVolumeMounts }}
{{ tpl .Values.artifactory.customVolumeMounts . | indent 8 }}
{{- end }}
resources:
{{ toYaml .Values.artifactory.primary.resources | indent 10 }}
{{- if .Values.artifactory.readinessProbe.enabled }}
Expand Down
6 changes: 6 additions & 0 deletions stable/artifactory-ha/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ artifactory:
# configMap:
# name: custom-script

## Add custom volumesMounts
customVolumeMounts: |
# - name: custom-script
# mountPath: "/scripts/script.sh"
# subPath: script.sh

## Artifactory requires a unique master key
## You can generate one with the command:
## 'openssl rand -hex 32'
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.

## [7.13.14] - Apr 15, 2019
* Added support for `customVolumeMounts`

## [7.13.13] - Aprl 12, 2019
* Added support for `bucketExists` flag for googleStorage

Expand Down
2 changes: 1 addition & 1 deletion stable/artifactory/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: artifactory
home: https://www.jfrog.com/artifactory/
version: 7.13.13
version: 7.13.14
appVersion: 6.9.1
description: Universal Repository Manager supporting all major packaging formats,
build tools and CI servers.
Expand Down
1 change: 1 addition & 0 deletions stable/artifactory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ The following table lists the configurable parameters of the artifactory chart a
| `artifactory.customInitContainers`| Custom init containers | |
| `artifactory.customSidecarContainers`| Custom sidecar containers | |
| `artifactory.customVolumes` | Custom volumes | |
| `artifactory.customVolumeMounts` | Custom Artifactory volumeMounts | |
| `artifactory.userPluginSecrets` | Array of secret names for Artifactory user plugins | |
| `artifactory.license.licenseKey` | Artifactory license key. Providing the license key as a parameter will cause a secret containing the license key to be created as part of the release. Use either this setting or the license.secret and license.dataKey. If you use both, the latter will be used. | |
| `artifactory.license.secret` | Artifactory license secret name | |
Expand Down
3 changes: 3 additions & 0 deletions stable/artifactory/templates/artifactory-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ spec:
- name: installer-info
mountPath: "/artifactory_extra_conf/info/installer-info.json"
subPath: installer-info.json
{{- if .Values.artifactory.customVolumeMounts }}
{{ tpl .Values.artifactory.customVolumeMounts . | indent 8 }}
{{- end }}
resources:
{{ toYaml .Values.artifactory.resources | indent 10 }}
{{- if .Values.artifactory.readinessProbe.enabled }}
Expand Down
6 changes: 5 additions & 1 deletion stable/artifactory/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ artifactory:
# configMap:
# name: custom-script

## Add custom volumesMounts
customVolumeMounts: |
# - name: custom-script
# mountPath: "/scripts/script.sh"
# subPath: script.sh

## Artifactory license.
license:
Expand Down Expand Up @@ -271,7 +276,6 @@ artifactory:
size: 20Gi
maxCacheSize: 50000000000


## Set the persistence storage type. This will apply the matching binarystore.xml to Artifactory config
## Supported types are:
## file-system (default)
Expand Down

0 comments on commit a1cefa6

Please sign in to comment.