Skip to content

Commit 13f60fd

Browse files
Merge pull request #74 from francescotimperi/etcd-fix
fix: ETCD volume size was not usin corresponding env variable if passsed
2 parents c2c6ca3 + 9c3a7cf commit 13f60fd

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

deploy/nuvolaris-permissions/whisk-crd.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ spec:
152152
type: boolean
153153
seaweedfs:
154154
description: deploys an S3 compatible layer using a standalone deployment of seaweedfs
155-
type: boolean
155+
type: boolean
156156
required:
157157
- openwhisk
158158
- couchdb
@@ -754,10 +754,11 @@ spec:
754754
type: integer
755755
ledgers:
756756
description: pulsar bookie ledgers instance volume size
757-
type: integer
757+
type: integer
758758
bucket:
759759
description: used to setup a quota on the S3 bucket when running under seaweedfs (default to 10240MB)
760760
type: integer
761+
type: integer
761762
replicas:
762763
description: number of total milvus replicas. Defaulted to 1
763764
type: integer
@@ -997,4 +998,9 @@ spec:
997998
type: string
998999
priority: 0
9991000
jsonPath: .status.whisk_create.registry
1000-
description: Registry
1001+
description: Registry
1002+
- name: Seaweedfs
1003+
type: string
1004+
priority: 0
1005+
jsonPath: .status.whisk_create.seaweedfs
1006+
description: Seaweedfs

nuvolaris/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ def get_etcd_config_data():
761761
"applypodsecurity":get_enable_pod_security(),
762762
"name": "nuvolaris-etcd",
763763
"container": "nuvolaris-etcd",
764-
"size": cfg.get("etcd.volume-size", "REDIS_VOLUME_SIZE", 5),
764+
"size": cfg.get("etcd.volume-size", "STORAGE_SIZE_ETCD", 5),
765765
"storageClass": cfg.get("nuvolaris.storageclass"),
766766
"root_password":cfg.get("etcd.root.password") or "s0meP@ass3wd",
767767
"etcd_replicas":get_etcd_replica(),

0 commit comments

Comments
 (0)