#args: ["-c", "while true; do echo hello; sleep 10;done"]
command: ["/bin/sh"]
args: ["-c", "/alarm-adapter -f /alarmadaptercfg/config-file.json"]
+ env:
+ - name: PLT_NAMESPACE
+ value: {{ include "common.namespace.platform" . }}
envFrom:
- configMapRef:
name: {{ include "common.configmapname.alarmadapter" . }}-env
hostname: {{ include "common.name.e2mgr" . }}
imagePullSecrets:
- name: {{ include "common.dockerregistry.credential" $imagectx }}
- initContainers:
- - name: redis-init
- image: "redis"
- command:
- - "/bin/sh"
- args:
- - '-c'
- - "redis-cli -h {{ include "common.servicename.dbaas.tcp" . }} -p {{ include "common.serviceport.dbaas.redis" . }} SETNX \"{e2Manager},GENERAL\" \"{\\\"enableRic\\\":true}\""
containers:
- name: {{ include "common.containername.e2mgr" . }}
image: {{ include "common.dockerregistry.url" $imagectx }}/{{ .Values.e2mgr.image.name }}:{{ .Values.e2mgr.image.tag }}