-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for building and testing mysql helm charts in Shared Clu…
…ster This can be merged as soon as sclorg/container-ci-suite#86 is merged. Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
- Loading branch information
Showing
4 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
13 changes: 12 additions & 1 deletion
13
charts/redhat/mysql-persistent/src/templates/persistentvolumeclaim.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
{{ if .Values.pvc.netapp_nfs }} | ||
annotations: | ||
trident.netapp.io/reclaimPolicy: Delete | ||
{{ end }} | ||
labels: | ||
template: mysql-persistent-template | ||
{{ if .Values.pvc.netapp_nfs }} | ||
paas.redhat.com/appcode: {{ .Values.pvc.app_code }} | ||
{{ end }} | ||
name: {{ .Values.database_service_name }} | ||
spec: | ||
accessModes: | ||
- ReadWriteOnce | ||
resources: | ||
requests: | ||
storage: {{ .Values.volume_capacity }} | ||
storage: {{ .Values.pvc.volume_capacity }} | ||
{{ if .Values.pvc.netapp_nfs }} | ||
storageClassName: netapp-nfs | ||
volumeMode: Filesystem | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters