Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Use busybox for key generation in testing
Browse files Browse the repository at this point in the history
Use a smaller image for generating a key used in testing.
  • Loading branch information
Conky5 committed Apr 15, 2020
1 parent 469ef3f commit ea87e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibana/examples/security/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ purge:
helm del --purge $(RELEASE)

secrets:
encryptionkey=$$(echo $$(docker run --rm docker.elastic.co/elasticsearch/elasticsearch:$(STACK_VERSION) /bin/sh -c "< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c50")) && \
encryptionkey=$$(docker run --rm busybox /bin/sh -c "< /dev/urandom tr -dc _A-Za-z0-9 | head -c50") && \
kubectl create secret generic kibana --from-literal=encryptionkey=$$encryptionkey

0 comments on commit ea87e52

Please sign in to comment.