This repository has been archived by the owner on May 16, 2023. It is now read-only.
This repository has been archived by the owner on May 16, 2023. It is now read-only.
Error from deploying elasticsearch + security #166
Closed
Description
openedon Jun 17, 2019
Chart version:
elasticsearch-7.1.1
Kubernetes version:
1.13.0
Kubernetes provider: E.g. GKE (Google Kubernetes Engine)
kubespray
Helm Version:
v2.13.0
helm get release
output
e.g. helm get elasticsearch
(replace elasticsearch
with the name of your helm release)
Describe the bug:
Run the 'make' from the security directory.
Steps to reproduce:
- cd to the examples/security dir
- type 'make', hit enter
- install failed with "Error: release helm-es-security failed: timed out waiting for the condition" and "make: *** [install] Error 1"
Expected behavior:
Provide logs and/or server output (if relevant):
$ make
kubectl delete secrets elastic-credentials elastic-certificates elastic-certificate-pem || true && \
vault read -field=value secret/devops-ci/helm-charts/elasticsearch/security/certificates | base64 --decode > elastic-certificates.p12 && \
vault read -field=value secret/devops-ci/helm-charts/elasticsearch/security/certificate-pem | base64 --decode > elastic-certificate.pem && \
kubectl create secret generic elastic-credentials --from-literal=password=changeme --from-literal=username=elastic && \
kubectl create secret generic elastic-certificates --from-file=elastic-certificates.p12 && \
kubectl create secret generic elastic-certificate-pem --from-file=elastic-certificate.pem && \
rm -f elastic-certificates.p12 elastic-certificate.pem
Error from server (NotFound): secrets "elastic-credentials" not found
Error from server (NotFound): secrets "elastic-certificates" not found
Error from server (NotFound): secrets "elastic-certificate-pem" not found
/bin/sh: line 1: vault: command not found
/bin/sh: line 2: vault: command not found
secret/elastic-credentials created
secret/elastic-certificates created
secret/elastic-certificate-pem created
helm upgrade --wait --timeout=600 --install --values ./security.yml helm-es-security ../../ ; \
Release "helm-es-security" does not exist. Installing it now.
Error: release helm-es-security failed: timed out waiting for the condition
make: *** [install] Error 1
Any additional context:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels