mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Fix the date command to work on OS X
This commit is contained in:
parent
8183a4805e
commit
eea09ddfbb
@ -429,7 +429,7 @@ function build-kube-env {
|
||||
|
||||
rm -f ${file}
|
||||
cat >$file <<EOF
|
||||
ENV_TIMESTAMP: $(yaml-quote $(date -uIs))
|
||||
ENV_TIMESTAMP: $(yaml-quote $(date -u +%Y-%m-%dT%T%z))
|
||||
INSTANCE_PREFIX: $(yaml-quote ${INSTANCE_PREFIX})
|
||||
NODE_INSTANCE_PREFIX: $(yaml-quote ${NODE_INSTANCE_PREFIX})
|
||||
SERVER_BINARY_TAR_URL: $(yaml-quote ${SERVER_BINARY_TAR_URL})
|
||||
|
Loading…
Reference in New Issue
Block a user