mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-16 09:16:38 +00:00
e2e: ensure C locale when generating random string for namespace
LC_ALL when set takes precedence over LC_CTYPE and might cause the tr command to fail with 'illegal byte sequence' when generating the random string.
This commit is contained in:
parent
52a12233e4
commit
9088b8389d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,6 +1,6 @@
|
|||
REPO?=quay.io/coreos/prometheus-operator
|
||||
TAG?=$(shell git rev-parse --short HEAD)
|
||||
NAMESPACE?=po-e2e-$(shell LC_CTYPE=C tr -dc a-z0-9 < /dev/urandom | head -c 13 ; echo '')
|
||||
NAMESPACE?=po-e2e-$(shell LC_ALL=C tr -dc a-z0-9 < /dev/urandom | head -c 13 ; echo '')
|
||||
KUBECONFIG?=$(HOME)/.kube/config
|
||||
|
||||
PROMU := $(GOPATH)/bin/promu
|
||||
|
|
Loading…
Add table
Reference in a new issue