1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

add missing commands to the getting started guide (#2751)

* add missing commands to the getting started guide

Update "Create your first SecretStore" and "Create your first ExternalSecret" topics to be easy to understand

Signed-off-by: Nícolas Roberto <66215835+Nicolas-Roberto@users.noreply.github.com>
Signed-off-by: nicolas.queiroz <nicolas.roberto987@gmail.com>

* change nano command to echo command

Signed-off-by: Nícolas Roberto <66215835+Nicolas-Roberto@users.noreply.github.com>
Signed-off-by: nicolas.queiroz <nicolas.roberto987@gmail.com>

* fix changes in getting started file

Signed-off-by: nicolas.queiroz <nicolas.roberto987@gmail.com>

---------

Signed-off-by: Nícolas Roberto <66215835+Nicolas-Roberto@users.noreply.github.com>
Signed-off-by: nicolas.queiroz <nicolas.roberto987@gmail.com>
Signed-off-by: Shuhei Kitagawa <shuheiktgw@users.noreply.github.com>
Co-authored-by: Shuhei Kitagawa <shuheiktgw@users.noreply.github.com>
This commit is contained in:
Nícolas Roberto 2023-10-28 22:49:08 -03:00 committed by GitHub
parent 0c76b1ffd3
commit 8a60df68f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ Uncomment the relevant line in the next steps to disable the automatic install o
### Option 1: Install from chart repository
``` bash
```bash
helm repo add external-secrets https://charts.external-secrets.io
helm install external-secrets \
@ -29,7 +29,7 @@ helm install external-secrets \
Build and install the Helm chart locally after cloning the repository.
``` bash
```bash
make helm.build
helm install external-secrets \
@ -49,17 +49,33 @@ kubectl create secret generic awssm-secret --from-file=./access-key --from-file=
### Create your first SecretStore
``` yaml
Create a file 'basic-secret-store.yaml' with the following content.
```yaml
{% include 'basic-secret-store.yaml' %}
```
Apply it to create a SecretStore resource.
```
kubectl apply -f "basic-secret-store.yaml"
```
### Create your first ExternalSecret
``` yaml
Create a file 'basic-external-secret.yaml' with the following content.
```yaml
{% include 'basic-external-secret.yaml' %}
```
``` bash
Apply it to create an External Secret resource.
```
kubectl apply -f "basic-external-secret.yaml"
```
```bash
kubectl describe externalsecret example
# [...]
Name: example