Skip to content

Commit

Permalink
added ODF setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tjungbauer committed Jan 20, 2024
1 parent f479f9f commit d4ed7b2
Show file tree
Hide file tree
Showing 4 changed files with 171 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: v2
name: clusterbranding
description: Deploys Cluster Branding such as custom Login Page or Logo etc.
version: 1.0.1
dependencies:
- name: openshift-data-foundation
version: ~1.0.10
repository: https://charts.stderr.at/
maintainers:
- name: tjungbauer
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2022 Thomas Jungbauer

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@


# TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
---
###########################
# Enable and configura ODF
###########################
openshift-data-foundation:
storagecluster:
enabled: true
syncwave: 3

# There are two options:
# Either install the multigateway only. This is useful if you just need S3 for Quay registry for example.
multigateway_only:
enabled: true

# Name of the stroageclass
# The class must exist upfront and is currently not created by this chart.
storageclass: gp3-csi

# Second option is a full deployment, which will provide Block, File and Object Storage
full_deployment:
enabled: false

# Enable NFS or not
nfs: enabled

# The label the nodes should have to allow hosting of ODF services
# Default: cluster.ocs.openshift.io/openshift-storage
# default_node_label: cluster.ocs.openshift.io/openshift-storage

# Define the DeviceSets
storageDeviceSets:
# Name of the DeviceSet
- name: ocs-deviceset
# Resources for the DeviceSets Pods.
# Limits and Requests can be defined
# Default:
# Limit: cpu: 1, memory: 5Gi
# Requests: cpu: 1, memory: 5Gi
resources:
requests:
cpu: '1'
memory: 5Gi

# Definitions of the PVC Template
dataPVCTemplate:
spec:
# Default AccessModes
# Default: ReadWriteOnce
# accessModes:
# - ReadWriteOnce

# Size of the Storage. Might be 512Gi, 2Ti, 4Ti
# Default: 512Gi
resources:
requests:
storage: 512Gi

# Name of the stroageclass
# The class must exist upfront and is currently not created by this chart.
storageClassName: gp3-csi

# Replicas: Default 3
# replica: 3

# Resource settings for the different components.
# ONLY set this if you know what you are doing.
# For every component Limits and Requests can be set.

# For testing request settings might be reduced.
# compontent_resources:
# MDS Defaults
# Limits: cpu 3, memory: 8Gi
# Requests: cpu: 1, memory: 8Gi
# mds:
# requests:
# cpu: '1'
# memory: 8Gi

# RGW Defaults
# Limits: cpu 2, memory: 4Gi
# Requests: cpu: 1, memory: 4Gi
# rgw: ...
# rgw:
# requests:
# cpu: '1'
# memory: 4Gi

# MON Defaults
# Limits: cpu 2, memory: 4Gi
# Requests: cpu: 1, memory: 4Gi
# mon: ...

# MGR Defaults
# Limits: cpu 2, memory: 4Gi
# Requests: cpu: 1, memory: 4Gi
# mgr: ...

# NOOBAA-CORE Defaults
# Limits: cpu 2, memory: 4Gi
# Requests: cpu: 1, memory: 4Gi
# moobaa-core: ...

# NOOBAA-DB Defaults
# Limits: cpu 2, memory: 4Gi
# Requests: cpu: 1, memory: 4Gi
# moobaa-DB: ...

# Install Operator Compliance Operator
# Deploys Operator --> Subscription and Operatorgroup
# Syncwave: 0
helper-operator:

console_plugins:
- odf-console

operators:
odf-operator:
enabled: true
syncwave: '0'
namespace:
name: openshift-storage
create: true
subscription:
channel: stable-4.13
approval: Automatic
operatorName: odf-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
operatorgroup:
create: true

helper-status-checker:
enabled: true

# use the value of the currentCSV (packagemanifest) but WITHOUT the version !!
operatorName: odf-operator

# where operator is installed
namespace:
name: openshift-storage

serviceAccount:
create: true
name: "status-checker-odf"

Check failure on line 145 in clusters/management-cluster/setup-openshift-data-foundation/values.yaml

View workflow job for this annotation

GitHub Actions / ct-lint-test

[empty-lines] too many blank lines (1 > 0)

0 comments on commit d4ed7b2

Please sign in to comment.