Standardize environment variable name in ipfs deployment

This commit is contained in:
Waqar Ahmed committed 2021-02-03 15:24:36 +05:00
1 parent bccd8ac688
commit cda05f3675
2 files changed
+5 -9

No files matched your search

+4 -8
View File
@@ -67,7 +67,7 @@ questions:
- value: "Recreate" - value: "Recreate"
description: "Kill existing pods before creating new ones" description: "Kill existing pods before creating new ones"
- variable: environment - variable: environmentVariables
label: "IPFS image environment" label: "IPFS image environment"
group: "IPFS Configuration" group: "IPFS Configuration"
schema: schema:
@@ -131,8 +131,6 @@ questions:
label: "Staging Volume" label: "Staging Volume"
schema: schema:
type: dict type: dict
$ref:
- "normalize/ixVolume"
attrs: attrs:
- variable: datasetName - variable: datasetName
label: "IPFS Staging Volume Dataset Name" label: "IPFS Staging Volume Dataset Name"
@@ -140,7 +138,7 @@ questions:
type: string type: string
$ref: $ref:
- "normalize/ixVolume" - "normalize/ixVolume"
show_if: [["hostPathEnabled", "=", false ]] show_if: [["hostPathEnabled", "=", false]]
default: "ix-ipfs-staging" default: "ix-ipfs-staging"
editable: false editable: false
- variable: mountPath - variable: mountPath
@@ -158,7 +156,7 @@ questions:
show_subquestions_if: true show_subquestions_if: true
subquestions: subquestions:
- variable: hostPath - variable: hostPath
label: "Host Path" label: "Host Path for IPFS Staging Volume"
schema: schema:
type: hostpath type: hostpath
required: true required: true
@@ -166,8 +164,6 @@ questions:
label: "Data Volume" label: "Data Volume"
schema: schema:
type: dict type: dict
$ref:
- "normalize/ixVolume"
attrs: attrs:
- variable: datasetName - variable: datasetName
label: "IPFS Data Volume Dataset Name" label: "IPFS Data Volume Dataset Name"
@@ -193,7 +189,7 @@ questions:
show_subquestions_if: true show_subquestions_if: true
subquestions: subquestions:
- variable: hostPath - variable: hostPath
label: "Host Path" label: "Host Path for IPFS Data Volume"
schema: schema:
type: hostpath type: hostpath
required: true required: true
+1 -1
View File
@@ -54,5 +54,5 @@ spec:
containerPort: 9501 containerPort: 9501
- name: gateway - name: gateway
containerPort: 9880 containerPort: 9880
{{ include "common.containers.allEnvironmentVariables" (dict "environmentVariables" .Values.environment) | nindent 10 }} {{ include "common.containers.allEnvironmentVariables" .Values | nindent 10 }}
{{ include "common.storage.allAppVolumes" .Values | nindent 6 }} {{ include "common.storage.allAppVolumes" .Values | nindent 6 }}