544aa00c17
* create a wrapper script with pki options * supports all kubespray managed container engines Co-authored-by: Hans Feldt <hafe@users.noreply.github.com>
8 lines
251 B
Django/Jinja
8 lines
251 B
Django/Jinja
#!/bin/bash
|
|
# {{ ansible_managed }}
|
|
# example invocation: etcdctl.sh get --keys-only --from-key ""
|
|
|
|
etcdctl \
|
|
--cacert {{ kube_cert_dir }}/etcd/ca.crt \
|
|
--cert {{ kube_cert_dir }}/etcd/server.crt \
|
|
--key {{ kube_cert_dir }}/etcd/server.key "$@"
|