+{{- with index .Values.e2term .key }}
Processors: pub
pub.Class: com.att.research.basin.pubsubx.Publisher
pub.Threads: 2
scanner.DeleteOrGZip: delete
scanner.LinkDirectory: {{ .pizpub.dataRootDir }}/{{ .pizpub.processedDirectory }}
scanner.meta.record_count: countNewLines
+{{- end }}
################################################################################
#
+{{- with index .Values.e2term .key }}
0 * * * * find {{ .pizpub.dataRootDir }}/{{ .pizpub.processedDirectory }} -type f -mtime +3 -delete
+{{- end }}
# limitations under the License. #
################################################################################
{{- $topCtx := . }}
-{{- range keys .Values.e2term }}
-{{- $key := . }}
+{{- range $index, $element := keys .Values.e2term }}
+{{- $key := . }}
{{- with index $topCtx.Values.e2term . }}
---
apiVersion: v1
type: NodePort
ports:
- port: {{ include "common.serviceport.e2term.sctp" $topCtx }}
- nodePort: 31888
+ nodePort: {{ add 32222 $index }}
protocol: "SCTP"
targetPort: {{ include "common.serviceport.e2term.sctp" $topCtx }}
name: "rmrsctp-{{ $key }}"