Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Remove random values from resources #143

Merged
merged 3 commits into from Sep 17, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions templates/tests/test-runner.yaml
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Pod
metadata:
name: "{{ template "consul.fullname" . }}-test-{{ randAlphaNum 5 | lower }}"
name: "{{ template "consul.fullname" . }}-test"
labels:
app: {{ template "consul.name" . }}
chart: {{ template "consul.chart" . }}
Expand All @@ -22,7 +22,7 @@ spec:
- "/bin/sh"
- "-ec"
- |
export VALUE="{{randAlphaNum 24 | lower }}"
export VALUE="{{ .Release.Name }}"
export CONSUL_HTTP_ADDR="${HOST_IP}:8500"
consul kv delete _consul_helm_test
consul kv put _consul_helm_test $VALUE
Expand Down