aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/components/uui-server/Chart.yaml
AgeCommit message (Collapse)AuthorFilesLines
2020-12-09[UUI] Move components to component dirJakub Latusek1-0/+18
Helm 3.4 requires the dependencies in the charts dir to be included in the requirements. Dependencies need to be moved to the components folder Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: I32e904297e17263042b42ee51c3e75532b4ad660 Issue-ID: OOM-2562
ef='#n73'>73
#{{ if not .Values.disableLogKibana }}
apiVersion: extensions/v1beta1 
kind: Deployment
metadata:
  labels:
    app: kibana
  name: kibana
  namespace: {{ .Values.nsPrefix }}-log
spec:
  selector:
    matchLabels:
      app: kibana
  template:
    metadata:
      labels:
        app: kibana
      name: kibana
      annotations:
        pod.beta.kubernetes.io/init-containers: '[
          {
              "args": [
                  "--container-name",
                  "elasticsearch"
              ],
              "command": [
                  "/root/ready.py"
              ],
              "env": [
                  {
                      "name": "NAMESPACE",
                      "valueFrom": {
                          "fieldRef": {
                              "apiVersion": "v1",
                              "fieldPath": "metadata.namespace"
                          }
                      }
                  }
              ],
              "image": "{{ .Values.image.readiness }}",
              "imagePullPolicy": "{{ .Values.pullPolicy }}",
              "name": "kibana-readiness"
          }
          ]'
    spec:
      containers:
      - name: kibana
        image: {{ .Values.image.kibana }}
        ports:
        - containerPort: 5601
          name: http
          protocol: TCP
        readinessProbe:
          tcpSocket:
            port: 5601
        volumeMounts:
         - name: kibana-conf
           mountPath: /usr/share/kibana/config/      
      volumes:
        - name: kibana-conf
          configMap:
            name: kibana-configmap
            items:
            - key: kibana.yml
              path: kibana.yml
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: kibana-configmap
  namespace: {{ .Values.nsPrefix }}-log
data:
{{ (.Files.Glob "resources/kibana/conf/kibana.yml").AsConfig | indent 2 }}
#{{ end }}