github.com/kotalco/kotal@v0.3.0/config/samples/bitcoin/bitcoin_v1alpha1_node.yaml (about)

     1  # WARNING: DON'T use the following secrets in production
     2  apiVersion: v1
     3  kind: Secret
     4  metadata:
     5    name: kotal-json-rpc-user-password
     6  stringData:
     7    password: secret
     8  ---
     9  # WARNING: DON'T use the following secrets in production
    10  apiVersion: v1
    11  kind: Secret
    12  metadata:
    13    name: dummy-json-rpc-user-password
    14  stringData:
    15    password: s3cr3t
    16  ---
    17  apiVersion: bitcoin.kotal.io/v1alpha1
    18  kind: Node
    19  metadata:
    20    name: bitcoin-node
    21  spec:
    22    network: mainnet
    23    wallet: false
    24    txIndex: true
    25    rpc: true
    26    rpcPort: 7777
    27    p2pPort: 8888
    28    rpcUsers:
    29      - username: kotal
    30        passwordSecretName: kotal-json-rpc-user-password
    31      - username: dummy
    32        passwordSecretName: dummy-json-rpc-user-password