Browse Source

HPCC-26157 Update examples NOTES.txt to match new storage definition

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 3 years ago
parent
commit
0a174d20e1

+ 3 - 23
helm/examples/azure/hpcc-azurefile/templates/NOTES.txt

@@ -7,35 +7,15 @@ storage:
   - name: {{ $plane.name }}
     pvc: {{ printf "%s-%s-pvc" $plane.name (include "hpcc-azurefile.fullname" $) }}
     prefix: {{ printf "%s%s%s" $.Values.common.mountPrefix (regexMatch ".*/$" $.Values.common.mountPrefix | ternary "" "/") $plane.subPath | quote }}
-{{- if hasKey $plane "labels" }}
-    labels:
-{{ toYaml $plane.labels | indent 4 }}
-{{ end -}}
+    category: {{ $plane.category }}
 {{- end }}
 
 {{ range $plane := .Values.planes -}}
-{{- if eq "dali" $plane.name }}
-  daliStorage:
-    plane: {{ $plane.name }}
-{{ end -}}
-{{- if eq "dll" $plane.name }}
-  dllStorage:
-    plane: {{ $plane.name }}
-{{ end -}}
-{{- if eq "data" $plane.name }}
-  dataStorage:
-    plane: {{ $plane.name }}
-{{ end -}}
-{{ end -}}
-
-{{ range $plane := .Values.planes -}}
 {{ if eq "sasha" $plane.name }}
 sasha:
   wu-archiver:
-    storage:
-      plane: {{ $plane.name }}
+    plane: {{ $plane.name }}
   dfuwu-archiver:
-    storage:
-      plane: {{ $plane.name }}
+    plane: {{ $plane.name }}
 {{ end -}}
 {{- end }}

+ 3 - 23
helm/examples/efs/hpcc-efs/templates/NOTES.txt

@@ -7,35 +7,15 @@ storage:
   - name: {{ $plane.name }}
     pvc: {{ printf "%s-%s-pvc" $plane.name (include "hpcc-efs.fullname" $) }}
     prefix: {{ printf "%s%s%s" $.Values.common.mountPrefix (regexMatch ".*/$" $.Values.common.mountPrefix | ternary "" "/") $plane.subPath | quote }}
-{{- if hasKey $plane "labels" }}
-    labels:
-{{ toYaml $plane.labels | indent 4 }}
-{{ end -}}
+    category: {{ $plane.category }}
 {{- end }}
 
 {{ range $plane := .Values.planes -}}
-{{- if eq "dali" $plane.name }}
-  daliStorage:
-    plane: {{ $plane.name }}
-{{ end -}}
-{{- if eq "dll" $plane.name }}
-  dllStorage:
-    plane: {{ $plane.name }}
-{{ end -}}
-{{- if eq "data" $plane.name }}
-  dataStorage:
-    plane: {{ $plane.name }}
-{{ end -}}
-{{ end -}}
-
-{{ range $plane := .Values.planes -}}
 {{ if eq "sasha" $plane.name }}
 sasha:
   wu-archiver:
-    storage:
-      plane: {{ $plane.name }}
+    plane: {{ $plane.name }}
   dfuwu-archiver:
-    storage:
-      plane: {{ $plane.name }}
+    plane: {{ $plane.name }}
 {{ end -}}
 {{- end }}

+ 3 - 23
helm/examples/filestore/hpcc-filestore/templates/NOTES.txt

@@ -7,35 +7,15 @@ storage:
   - name: {{ $plane.name }}
     pvc: {{ printf "%s-%s-pvc" $plane.name (include "hpcc-filestore.fullname" $) }}
     prefix: {{ printf "%s%s%s" $.Values.common.mountPrefix (regexMatch ".*/$" $.Values.common.mountPrefix | ternary "" "/") $plane.subPath | quote }}
-{{- if hasKey $plane "labels" }}
-    labels:
-{{ toYaml $plane.labels | indent 4 }}
-{{ end -}}
+    category: {{ $plane.category }}
 {{- end }}
 
 {{ range $plane := .Values.planes -}}
-{{- if eq "dali" $plane.name }}
-  daliStorage:
-    plane: {{ $plane.name }}
-{{ end -}}
-{{- if eq "dll" $plane.name }}
-  dllStorage:
-    plane: {{ $plane.name }}
-{{ end -}}
-{{- if eq "data" $plane.name }}
-  dataStorage:
-    plane: {{ $plane.name }}
-{{ end -}}
-{{ end -}}
-
-{{ range $plane := .Values.planes -}}
 {{ if eq "sasha" $plane.name }}
 sasha:
   wu-archiver:
-    storage:
-      plane: {{ $plane.name }}
+    plane: {{ $plane.name }}
   dfuwu-archiver:
-    storage:
-      plane: {{ $plane.name }}
+    plane: {{ $plane.name }}
 {{ end -}}
 {{- end }}

+ 4 - 28
helm/examples/nfs/hpcc-nfs/templates/NOTES.txt

@@ -7,40 +7,16 @@ storage:
   - name: {{ $plane.name }}
     pvc: {{ printf "%s-%s-pvc" $plane.name (include "hpcc-nfs.fullname" $) }}
     prefix: {{ printf "%s%s%s" $.Values.common.mountPrefix (regexMatch ".*/$" $.Values.common.mountPrefix | ternary "" "/") $plane.subPath | quote }}
-{{- if hasKey $plane "labels" }}
-    labels:
-{{ toYaml $plane.labels | indent 4 }}
-{{ end -}}
-{{- end }}
-
-{{ range $plane := .Values.planes -}}
-{{- if eq "dali" $plane.name }}
-  daliStorage:
-    plane: {{ $plane.name }}
-    forcePermissions: true
-{{ end -}}
-{{- if eq "dll" $plane.name }}
-  dllStorage:
-    plane: {{ $plane.name }}
+    category: {{ $plane.category }}
     forcePermissions: true
-{{ end -}}
-{{- if eq "data" $plane.name }}
-  dataStorage:
-    plane: {{ $plane.name }}
-    forcePermissions: true
-{{ end -}}
-{{ end -}}
+{{- end }}
 
 {{ range $plane := .Values.planes -}}
 {{ if eq "sasha" $plane.name }}
 sasha:
   wu-archiver:
-    storage:
-      plane: {{ $plane.name }}
-      forcePermissions: true
+    plane: {{ $plane.name }}
   dfuwu-archiver:
-    storage:
-      plane: {{ $plane.name }}
-      forcePermissions: true
+    plane: {{ $plane.name }}
 {{ end -}}
 {{- end }}