Skip to content

Commit

Permalink
Fix rook-ceph filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
MacroPower committed Jun 17, 2024
1 parent 81ca2f9 commit e3b3298
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 1,599 deletions.
7 changes: 0 additions & 7 deletions applications/base/csi-addons/application.libsonnet

This file was deleted.

1,564 changes: 0 additions & 1,564 deletions applications/base/csi-addons/install-all-in-one.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions applications/base/csi-addons/main.jsonnet

This file was deleted.

21 changes: 4 additions & 17 deletions applications/base/ocis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -684,30 +684,17 @@ services:
# Is recommended to be enabled on production installations.
# If enabled, generated thumbnails are cached on this volume and available across pod restarts and service instances.
# If not enabled, thumbnail generation might lead to higher CPU usage.
enabled: false
enabled: true
# -- Enables an initContainer to chown the volume.
# The initContainer is run as root.
# This is not needed if the driver applies the fsGroup from the securityContext.
# The image specified in `initContainerImage` will be used for this container.
chownInitContainer: false
# -- Storage class to use.
# Uses the default storage class if not set.
storageClassName:
# -- Persistent volume access modes. Needs to be `["ReadWriteMany"]` when having more than one replica for this service or persistence needs to be disabled.
storageClassName: ceph-filesystem
# -- Persistent volume access modes. Needs to be `["ReadWriteMany"]` when having more than one replica for this service.
accessModes:
- ReadWriteMany
# -- Size of the persistent volume.
size: 10Gi
# -- Persistent volume annotations.
annotations: {}
# -- Persistent volume finalizers.
finalizers: []
# -- Persistent volume selector labels.
selectorLabels: {}
# -- Use a custom name for the PVC instead of the default one.
claimName: ""
# -- Use an existing PersistentVolumeClaim for persistence.
existingClaim:
# -- Per-service resources configuration. Overrides the default setting from `resources` if set.
resources: {}
# -- Per-service jobResources configuration. Overrides the default setting from `jobResources` if set.
Expand All @@ -716,7 +703,7 @@ services:
maintenance:
cleanUpOldThumbnails:
# -- Enables a job, that cleans up old thumbnails. Requires persistence to be enabled.
enabled: false
enabled: true
# -- Cron pattern for the job to be run.
schedule: "0 * * * *"
# -- Defines the a deadline (in whole seconds) for starting the Job, if that Job misses its scheduled time for any reason.
Expand Down
8 changes: 7 additions & 1 deletion applications/base/rook-ceph-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,21 @@ cephClusterSpec:
network:
provider: host
connections:
requireMsgr2: false
compression:
enabled: true
enabled: false
encryption:
enabled: false

crashCollector:
disable: false

dashboard:
enabled: true
urlPrefix: /
ssl: false
prometheusEndpoint: http://prometheus-operated.prometheus.svc:9090

mgr:
modules:
- name: pg_autoscaler
Expand Down
10 changes: 5 additions & 5 deletions applications/base/rook-ceph-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ crds:
enabled: true

csi:
kubeletDirPath: /var/lib/kubelet
enableGrpcMetrics: true
enableLiveness: true
cephFSKernelMountOptions: ms_mode=prefer-crc
csiAddons:
enabled: false
nfs:
enabled: true
## TODO: ServiceMonitor.monitoring.coreos.com "csi-metrics" is invalid:
## spec.endpoints: Invalid value: "null": spec.endpoints in body must be of type array
##
serviceMonitor:
enabled: false
enabled: true
topology:
enabled: true
domainLabels:
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion applications/environments/home/imports.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import 'coredns/application.libsonnet',
import 'crossplane-packages/application.libsonnet',
import 'crossplane/application.libsonnet',
import 'csi-addons/application.libsonnet',
import 'defectdojo/application.libsonnet',
import 'descheduler/application.libsonnet',
import 'dragonfly-operator/application.libsonnet',
Expand Down

0 comments on commit e3b3298

Please sign in to comment.