mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
fix kubectl exec example in chart notes (#7496)
This commit is contained in:
@@ -25,4 +25,4 @@ name: etcd
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-etcd
|
||||
- https://coreos.com/etcd/
|
||||
version: 6.8.0
|
||||
version: 6.8.1
|
||||
|
||||
@@ -45,7 +45,7 @@ To create a pod that you can use as a etcd client run the following command:
|
||||
|
||||
Then, you can set/get a key using the commands below:
|
||||
|
||||
kubectl exec -it {{ template "common.names.fullname" . }}-client -- bash
|
||||
kubectl exec --namespace {{ .Release.Namespace }} -it {{ template "common.names.fullname" . }}-client -- bash
|
||||
{{- $etcdAuthOptions := include "etcd.authOptions" . }}
|
||||
etcdctl {{ $etcdAuthOptions }} put /message Hello
|
||||
etcdctl {{ $etcdAuthOptions }} get /message
|
||||
|
||||
Reference in New Issue
Block a user