From ffe1b4a3edfb77da857f802473869197bae14e01 Mon Sep 17 00:00:00 2001 From: hasbro17 Date: Mon, 17 Jul 2017 11:22:10 -0700 Subject: [PATCH] *: enable debug logging for etcd-operator by default --- config.tf | 2 +- .../experimental/manifests/etcd-operator.yaml | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/config.tf b/config.tf index 127f1330d3..b414eaa4da 100644 --- a/config.tf +++ b/config.tf @@ -55,7 +55,7 @@ variable "tectonic_container_images" { flannel = "quay.io/coreos/flannel:v0.7.1-amd64" flannel_cni = "quay.io/coreos/flannel-cni:0.1.0" etcd = "quay.io/coreos/etcd:v3.1.8" - etcd_operator = "quay.io/coreos/etcd-operator:v0.4.0" + etcd_operator = "quay.io/coreos/etcd-operator:v0.4.2" kenc = "quay.io/coreos/kenc:8f6e2e885f790030fbbb0496ea2a2d8830e58b8f" calico = "quay.io/calico/node:v1.3.0" calico_cni = "quay.io/calico/cni:v1.9.1-4-g23fcd5f" diff --git a/modules/bootkube/resources/experimental/manifests/etcd-operator.yaml b/modules/bootkube/resources/experimental/manifests/etcd-operator.yaml index 7d320222c6..fdba6a6b1d 100644 --- a/modules/bootkube/resources/experimental/manifests/etcd-operator.yaml +++ b/modules/bootkube/resources/experimental/manifests/etcd-operator.yaml @@ -16,7 +16,11 @@ spec: metadata: labels: k8s-app: etcd-operator - spec: + spec: + volumes: + - name: debug-volume + hostPath: + path: /var/tmp containers: - env: - name: MY_POD_NAMESPACE @@ -31,6 +35,12 @@ spec: value: /tmp image: ${etcd_operator_image} name: etcd-operator + command: + - /usr/local/bin/etcd-operator + - --debug-logfile-path=/var/tmp/etcd-operator/debug/debug.log + volumeMounts: + - mountPath: /var/tmp/etcd-operator/debug + name: debug-volume nodeSelector: node-role.kubernetes.io/master: "" securityContext: