Files
openstack-helm/local-storage/values.yaml
Doug Goldstein 3bc47c1e93 feat: add extraObjects to every chart
Add an extraObjects list to every chart which will allow
user to extend each Helm chart with other data they need.
It utilizes Helm's built in templating so they are able
to include references to other variables like the conf
to include data in their objects.

Change-Id: I33431d50068bf135b28f6cbfc329ede9274d4bc9
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2026-03-03 08:19:40 -06:00

71 lines
2.7 KiB
YAML

# 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.
---
labels:
node_affinity:
node_selector_key: openstack-control-plane
node_selector_value: enabled
conf:
persistent_volumes:
# For each mount path, one PV should be created.
# If there are two mount paths for local storage are available on two nodes,
# then two PVs details should be defined. Example:
# - name: local-pv-1 (name of the Persistent Volume 1)
# reclaimpolicy: Retain (Reclaim Policy for the PV local-pv-1)
# storage_capacity: "100Gi" (Storage capacity of the PV local-pv-1)
# access_modes: [ "ReadWriteOnce" ] (Access mode for the PV local-pv-1)
# local_path: /mnt/disk/vol1 (Mount path of the local disk, local-pv-1 will be created on)
# - name: local-pv-2 (name of the Persistent Volume 2)
# reclaimpolicy: Retain (Reclaim Policy for the PV local-pv-2)
# storage_capacity: "100Gi" (Storage capacity of the PV local-pv-2)
# access_modes: [ "ReadWriteOnce" ] (Access mode for the PV local-pv-2)
# local_path: /mnt/disk/vol2 (Mount path of the local disk, local-pv-2 will be created on)
# Similarly if three nodes each have disk mount path /var/lib/kubernetes
# which will be acting as local storage for each node, then Persistentvolumes
# should be updated with three entries.
manifests:
storage_class: true
persistent_volumes: true
# -- Array of extra K8s manifests to deploy
## Note: Supports use of custom Helm templates
extraObjects: []
# - apiVersion: secrets-store.csi.x-k8s.io/v1
# kind: SecretProviderClass
# metadata:
# name: osh-secrets-store
# spec:
# provider: aws
# parameters:
# objects: |
# - objectName: "osh"
# objectType: "secretsmanager"
# jmesPath:
# - path: "client_id"
# objectAlias: "client_id"
# - path: "client_secret"
# objectAlias: "client_secret"
# secretObjects:
# - data:
# - key: client_id
# objectName: client_id
# - key: client_secret
# objectName: client_secret
# secretName: osh-secrets-store
# type: Opaque
# labels:
# app.kubernetes.io/part-of: osh
...