summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
2d6eba1)
Signed-off-by: Zhe Huang <zhehuang@research.att.com>
Change-Id: Ie4ab62e95c70fefb8345edee9edd5553491968b6
+{{- with index .Values.e2term .key }}
Processors: pub
pub.Class: com.att.research.basin.pubsubx.Publisher
pub.Threads: 2
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
scanner.DeleteOrGZip: delete
scanner.LinkDirectory: {{ .pizpub.dataRootDir }}/{{ .pizpub.processedDirectory }}
scanner.meta.record_count: countNewLines
################################################################################
#
################################################################################
#
+{{- with index .Values.e2term .key }}
0 * * * * find {{ .pizpub.dataRootDir }}/{{ .pizpub.processedDirectory }} -type f -mtime +3 -delete
0 * * * * find {{ .pizpub.dataRootDir }}/{{ .pizpub.processedDirectory }} -type f -mtime +3 -delete
{{- $topCtx := . }}
{{- range keys .Values.e2term }}
{{- $key := . }}
{{- $topCtx := . }}
{{- range keys .Values.e2term }}
{{- $key := . }}
+{{- $_ := set $topCtx "key" $key }}
{{- with index $topCtx.Values.e2term . }}
{{ if .pizpub.enabled }}
{{- with index $topCtx.Values.e2term . }}
{{ if .pizpub.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
apiVersion: v1
kind: ConfigMap
metadata:
# limitations under the License. #
################################################################################
{{- $topCtx := . }}
# limitations under the License. #
################################################################################
{{- $topCtx := . }}
-{{- range keys .Values.e2term }}
-{{- $key := . }}
+{{- range $index, $element := keys .Values.e2term }}
+{{- $key := . }}
{{- with index $topCtx.Values.e2term . }}
---
apiVersion: v1
{{- with index $topCtx.Values.e2term . }}
---
apiVersion: v1
type: NodePort
ports:
- port: {{ include "common.serviceport.e2term.sctp" $topCtx }}
type: NodePort
ports:
- port: {{ include "common.serviceport.e2term.sctp" $topCtx }}
+ nodePort: {{ add 32222 $index }}
protocol: "SCTP"
targetPort: {{ include "common.serviceport.e2term.sctp" $topCtx }}
name: "rmrsctp-{{ $key }}"
protocol: "SCTP"
targetPort: {{ include "common.serviceport.e2term.sctp" $topCtx }}
name: "rmrsctp-{{ $key }}"