Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
waleedhammam committed Dec 6, 2022
1 parent 6b571af commit 1118015
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/external-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
```bash
kubectl create secret -n external-secrets generic my-pat --from-file=./identity --from-file=./identity.pub --from-file=./known_hosts --dry-run=client -o yaml > my-pat-data.yaml
kubectl apply -f my-pat-data.yaml
kubectl create secret generic my-pat-secret --from-file=my-pat-data.yaml --type=addons.cluster.x-k8s.io/resource-set
kubectl create secret generic my-pat-crs-secret --from-file=my-pat-data.yaml --type=addons.cluster.x-k8s.io/resource-set -n external-secrets
rm my-pat-data.yaml
```

Expand All @@ -41,15 +41,15 @@ rm my-pat-data.yaml
apiVersion: addons.cluster.x-k8s.io/v1alpha3
kind: ClusterResourceSet
metadata:
name: my-pat-secret
name: my-pat
namespace: external-secrets
spec:
clusterSelector:
matchLabels:
secretmanager: aws
resources:
- kind: Secret
name: my-pat
name: my-pat-crs-secret
```

- Edit values file to the secret ref and path

0 comments on commit 1118015

Please sign in to comment.