mchirico / agil

Golang GraphQL Query of Github Projects
Apache License 2.0
0 stars 0 forks source link

secrets -- getting access via etcd #12

Open mchirico opened 4 years ago

mchirico commented 4 years ago
docker exec -it kind-control-plane  /bin/bash

image

script.sh

#!/bin/bash
ENDPOINTS='127.0.0.1:2379'

ETCDCTL_API=3 etcdctl \
    --endpoints=${ENDPOINTS} \
    --cacert="/etc/kubernetes/pki/etcd/ca.crt" \
    --cert="/etc/kubernetes/pki/apiserver-etcd-client.crt" \
    --key="/etc/kubernetes/pki/apiserver-etcd-client.key" \
    ${@}
wget https://github.com/etcd-io/etcd/releases/download/v3.4.13/etcd-v3.4.13-linux-amd64.tar.gz
./script.sh get /registry/secrets/webhook-demo/webhook-server-tls
tacomonkautobot[bot] commented 4 years ago

mchirico, Thanks for opening this issue!

issue-label-bot[bot] commented 4 years ago

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.83. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

mchirico commented 4 years ago

Ref: https://www.youtube.com/watch?v=an9D2FyFwR0