Skip to content

Commit

Permalink
Reinforce example datalayer resource in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Starttoaster committed Jan 11, 2025
1 parent 1a6bca4 commit 5e262d6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
9 changes: 8 additions & 1 deletion config/samples/chiadatalayer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@ metadata:
app.kubernetes.io/managed-by: kustomize
name: chiadatalayer-sample
spec:
# TODO(user): Add fields here
chia:
caSecretName: "chiaca-secret" # A kubernetes Secret containing certificate authority files
# A kubernetes Secret named chiakey-secret containing a key.txt file with your mnemonic key
secretKey:
name: "chiakey-secret"
key: "key.txt"
dataLayerHTTP:
enabled: true
10 changes: 8 additions & 2 deletions docs/chiadatalayer.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,14 @@ Here's a minimal ChiaDataLayer example custom resource (CR):
apiVersion: k8s.chia.net/v1
kind: ChiaDataLayer
metadata:
name: my-datalayer
name: mainnet
spec:
chia:
caSecretName: chiaca-secret # A kubernetes Secret containing certificate authority files
caSecretName: "chiaca-secret" # A kubernetes Secret containing certificate authority files
# A kubernetes Secret named chiakey-secret containing a key.txt file with your mnemonic key
secretKey:
name: "chiakey-secret"
key: "key.txt"
dataLayerHTTP:
enabled: true
```

0 comments on commit 5e262d6

Please sign in to comment.