Skip to content

Commit

Permalink
fix secret
Browse files Browse the repository at this point in the history
  • Loading branch information
leon3s committed Dec 23, 2023
1 parent ba7a058 commit 0d7f0e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/guides/nanocl/advanced-usage/secret_tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ApiVersion: v0.12
Namespace: global

Secrets:
- Key: cert.deploy-example.com
- Name: cert.deploy-example.com
Kind: nanocl.io/tls
Data:
Certificate: |
Expand Down
4 changes: 2 additions & 2 deletions docs/references/nanocl/secret.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ You can create then using the following `Statefile`:
ApiVersion: v0.12

Secrets:
- Key: env.super-secret
- Name: env.super-secret
Kind: nanocl.io/env
Data:
- MY_ENV=MY_VALUE
Expand All @@ -81,7 +81,7 @@ You can create then using the following `Statefile`:
ApiVersion: v0.12

Secrets:
- Key: cert.my-certificate
- Name: cert.my-certificate
Kind: nanocl.io/tls
Data:
Certificate: |
Expand Down

0 comments on commit 0d7f0e1

Please sign in to comment.