diff --git a/ceph/templates/deployment.yaml b/ceph/templates/deployment.yaml index e5eeb6f8e2..26012c1167 100644 --- a/ceph/templates/deployment.yaml +++ b/ceph/templates/deployment.yaml @@ -230,6 +230,8 @@ spec: memory: "100Mi" cpu: "2000m" --- +# rgw not required: using if statement for deployment +{{- if .Values.rgw.enabled }} kind: Deployment apiVersion: extensions/v1beta1 metadata: @@ -304,3 +306,5 @@ spec: limits: memory: "500Mi" cpu: ".5" +{{ end }} +# end: rgw removed optionally diff --git a/ceph/values.yaml b/ceph/values.yaml index c96c723abd..6f783d1c4c 100644 --- a/ceph/values.yaml +++ b/ceph/values.yaml @@ -24,6 +24,10 @@ storage: osd_directory: /var/lib/aic-helm/ceph/osd var_directory: /var/lib/aic-helm/ceph/ceph +# rgw is optionall disabled +rgw: + enabled: false + # Setting this to false will assume you will # setup and orchestrate your own secrets and # configmaps outside of this helm chart