Commit cda05f36 authored by Waqar Ahmed's avatar Waqar Ahmed

Standardize environment variable name in ipfs deployment

parent bccd8ac6
...@@ -67,7 +67,7 @@ questions: ...@@ -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: ...@@ -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: ...@@ -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: ...@@ -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: ...@@ -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: ...@@ -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
...@@ -54,5 +54,5 @@ spec: ...@@ -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 }}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment