Browse Source

Merge "Fixed the default storageclass and replicas number"

changes/29/762529/9
Zuul 5 months ago
committed by Gerrit Code Review
parent
commit
4451aef501
3 changed files with 1 additions and 3 deletions
  1. +0
    -1
      python-k8sapp-platform/k8sapp_platform/k8sapp_platform/common/constants.py
  2. +0
    -1
      python-k8sapp-platform/k8sapp_platform/k8sapp_platform/helm/ceph_fs_provisioner.py
  3. +1
    -1
      stx-platform-helm/stx-platform-helm/helm-charts/cephfs-provisioner/templates/provisioner.yaml

+ 0
- 1
python-k8sapp-platform/k8sapp_platform/k8sapp_platform/common/constants.py View File

@ -16,7 +16,6 @@ HELM_NS_CEPH_FS_PROVISIONER = common.HELM_NS_KUBE_SYSTEM
HELM_CEPH_FS_PROVISIONER_CLAIM_ROOT = '/pvc-volumes'
HELM_CHART_CEPH_FS_PROVISIONER_NAME = 'ceph.com/cephfs'
K8S_CEPHFS_PROVISIONER_STOR_CLASS_NAME = 'cephfs'
K8S_CEPHFS_PROVISIONER_ADMIN_SECRET_NAME = 'ceph-secret-admin'
K8S_CEPHFS_PROVISIONER_ADMIN_SECRET_NAMESPACE = 'kube-system'
K8S_CEPHFS_PROVISIONER_USER_NAME = 'admin'


+ 0
- 1
python-k8sapp-platform/k8sapp_platform/k8sapp_platform/helm/ceph_fs_provisioner.py View File

@ -171,7 +171,6 @@ class CephFSProvisionerHelm(base.BaseHelm):
global_settings = {
"replicas": self._num_provisioned_controllers(),
"defaultStorageClass": app_constants.K8S_CEPHFS_PROVISIONER_STOR_CLASS_NAME
}
overrides = {


+ 1
- 1
stx-platform-helm/stx-platform-helm/helm-charts/cephfs-provisioner/templates/provisioner.yaml View File

@ -16,7 +16,7 @@ metadata:
name: {{ $defaults.provisionerConfigName }}
namespace: {{ $defaults.cephFSNamespace }}
spec:
replicas: 1
replicas: {{ .Values.global.replicas }}
strategy:
type: Recreate
selector:


Loading…
Cancel
Save