Browse Source
Merge pull request #5611 from Budibase/fix/release-fixes
updating helm chart for storage classes
master
Martin McKeaveney
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
5 additions and
13 deletions
-
charts/budibase/templates/minio-data-persistentvolumeclaim.yaml
-
charts/budibase/templates/redis-data-persistentvolumeclaim.yaml
-
charts/budibase/values.yaml
-
hosting/nginx.prod.conf.hbs
|
|
|
@ -12,10 +12,6 @@ spec: |
|
|
|
resources: |
|
|
|
requests: |
|
|
|
storage: {{ .Values.services.objectStore.storage }} |
|
|
|
{{- if (eq "-" .Values.services.objectStore.storageClass) }} |
|
|
|
storageClassName: "" |
|
|
|
{{- else }} |
|
|
|
storageClassName: "{{ .Values.services.objectStore.storageClass }}" |
|
|
|
{{- end }} |
|
|
|
storageClassName: {{ .Values.services.objectStore.storageClass }} |
|
|
|
status: {} |
|
|
|
{{- end }} |
|
|
|
|
|
|
|
@ -12,10 +12,6 @@ spec: |
|
|
|
resources: |
|
|
|
requests: |
|
|
|
storage: {{ .Values.services.redis.storage }} |
|
|
|
{{- if (eq "-" .Values.services.redis.storageClass) }} |
|
|
|
storageClassName: "" |
|
|
|
{{- else }} |
|
|
|
storageClassName: "{{ .Values.services.redis.storageClass }}" |
|
|
|
{{- end }} |
|
|
|
storageClassName: {{ .Values.services.redis.storageClass }} |
|
|
|
status: {} |
|
|
|
{{- end }} |
|
|
|
|
|
|
|
@ -155,7 +155,7 @@ services: |
|
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning |
|
|
|
## If undefined (the default) or set to null, no storageClassName spec is |
|
|
|
## set, choosing the default provisioner. |
|
|
|
storageClass: "-" |
|
|
|
storageClass: "" |
|
|
|
|
|
|
|
objectStore: |
|
|
|
minio: true |
|
|
|
@ -171,7 +171,7 @@ services: |
|
|
|
## If set to "-", storageClassName: "", which disables dynamic provisioning |
|
|
|
## If undefined (the default) or set to null, no storageClassName spec is |
|
|
|
## set, choosing the default provisioner. |
|
|
|
storageClass: "-" |
|
|
|
storageClass: "" |
|
|
|
|
|
|
|
# Override values in couchDB subchart |
|
|
|
couchdb: |
|
|
|
|
|
|
|
@ -48,7 +48,7 @@ http { |
|
|
|
set $csp_style "style-src 'self' 'unsafe-inline' https://cdn.jsdelivr.net https://fonts.googleapis.com https://rsms.me https://maxcdn.bootstrapcdn.com"; |
|
|
|
set $csp_object "object-src 'none'"; |
|
|
|
set $csp_base_uri "base-uri 'self'"; |
|
|
|
set $csp_connect "connect-src 'self' https://api-iam.intercom.io https://api-iam.intercom.io https://api-ping.intercom.io https://app.posthog.com wss://nexus-websocket-a.intercom.io wss://nexus-websocket-b.intercom.io https://nexus-websocket-a.intercom.io https://nexus-websocket-b.intercom.io https://uploads.intercomcdn.com https://uploads.intercomusercontent.com"; |
|
|
|
set $csp_connect "connect-src 'self' https://api-iam.intercom.io https://api-iam.intercom.io https://api-ping.intercom.io https://app.posthog.com wss://nexus-websocket-a.intercom.io wss://nexus-websocket-b.intercom.io https://nexus-websocket-a.intercom.io https://nexus-websocket-b.intercom.io https://uploads.intercomcdn.com https://uploads.intercomusercontent.com https://*.s3.*.amazonaws.com"; |
|
|
|
set $csp_font "font-src 'self' data: https://cdn.jsdelivr.net https://fonts.gstatic.com https://rsms.me https://maxcdn.bootstrapcdn.com https://js.intercomcdn.com https://fonts.intercomcdn.com"; |
|
|
|
set $csp_frame "frame-src 'self' https:"; |
|
|
|
set $csp_img "img-src http: https: data: blob:"; |
|
|
|
|