From 976d96bbd52f8893d4eac4bd25047f177d12a9ae Mon Sep 17 00:00:00 2001 From: Dread <34528298+islandbitcoin@users.noreply.github.com> Date: Fri, 18 Aug 2023 12:39:22 -0600 Subject: [PATCH] auto update script --- .../{values.yml => signet-values.yml} | 4 +- .../{mainnet-values.yaml => values.yaml} | 84 +++++++++++-------- 2 files changed, 52 insertions(+), 36 deletions(-) rename charts/bitcoind/{values.yml => signet-values.yml} (93%) rename charts/bitcoind/{mainnet-values.yaml => values.yaml} (71%) diff --git a/charts/bitcoind/values.yml b/charts/bitcoind/signet-values.yml similarity index 93% rename from charts/bitcoind/values.yml rename to charts/bitcoind/signet-values.yml index 58868b436a..aa0dafdb06 100644 --- a/charts/bitcoind/values.yml +++ b/charts/bitcoind/signet-values.yml @@ -3,8 +3,8 @@ # Declare variables to be passed into your templates. global: network: signet - service: bitcoind-signet - ports: 8080 + service: + ports: rpc: 38332 secrets: diff --git a/charts/bitcoind/mainnet-values.yaml b/charts/bitcoind/values.yaml similarity index 71% rename from charts/bitcoind/mainnet-values.yaml rename to charts/bitcoind/values.yaml index 14270124bb..c3e1607b6f 100644 --- a/charts/bitcoind/mainnet-values.yaml +++ b/charts/bitcoind/values.yaml @@ -1,11 +1,25 @@ +# Example of values for signet bitcoind. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. global: - network: mainnet + network: signet service: ports: - rpc: 8332 + rpc: 38332 secrets: - create: true + create: false + +persistence: + enabled: true + size: 2Gi + +service: + type: ClusterIP + ports: + zmqpubrawtx: 28333 + zmqpubrawblock: 28332 + p2p: 38333 replicaCount: 1 @@ -44,17 +58,18 @@ securityContext: runAsUser: 1000 runAsGroup: 3000 -service: - type: ClusterIP - ports: - zmqpubrawtx: 28333 - zmqpubrawblock: 28332 - p2p: 8333 - metrics: 3000 +# service: +# type: ClusterIP +# ports: +# zmqpubrawtx: 28333 +# zmqpubrawblock: 28332 +# p2p: 8333 +# metrics: 3000 ingress: enabled: false - annotations: {} + annotations: + {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: "true" hosts: @@ -65,7 +80,8 @@ ingress: # hosts: # - chart-example.local -resources: {} +resources: + {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little # resources, such as Minikube. If you do want to specify resources, uncomment the following @@ -78,18 +94,18 @@ resources: {} # cpu: 100m # memory: 4096Mi -persistence: - enabled: true - ## database data Persistent Volume Storage Class - ## If defined, storageClassName: - ## If set to "-", storageClassName: "", which disables dynamic provisioning - ## If undefined (the default) or set to null, no storageClassName spec is - ## set, choosing the default provisioner. (gp2 on AWS, standard on - ## GKE, AWS & OpenStack) - ## - # storageClass: "-" - accessMode: ReadWriteOnce - size: 750Gi +# persistence: +# enabled: true +# ## database data Persistent Volume Storage Class +# ## If defined, storageClassName: +# ## If set to "-", storageClassName: "", which disables dynamic provisioning +# ## If undefined (the default) or set to null, no storageClassName spec is +# ## set, choosing the default provisioner. (gp2 on AWS, standard on +# ## GKE, AWS & OpenStack) +# ## +# # storageClass: "-" +# accessMode: ReadWriteOnce +# size: 750Gi autoscaling: enabled: false @@ -123,16 +139,16 @@ podLabels: {} # TODO: Document the usage of generic and custom config to instruct where to put specific flags bitcoindGenericConfig: -- debug=mempool -- debug=rpc -- shrinkdebugfile=1 -- server=1 -- txindex=1 -- printtoconsole=1 -- rpcuser=rpcuser -- zmqpubrawtx=tcp://0.0.0.0:28333 -- zmqpubrawblock=tcp://0.0.0.0:28332 -- blockfilterindex=1 + - debug=mempool + - debug=rpc + - shrinkdebugfile=1 + - server=1 + - txindex=1 + - printtoconsole=1 + - rpcuser=rpcuser + - zmqpubrawtx=tcp://0.0.0.0:28333 + - zmqpubrawblock=tcp://0.0.0.0:28332 + - blockfilterindex=1 # these flags need to be here and not in bitcoindGenericConfig because they have to be present under a separate section inside bitcoind.conf when in testnet/regtest mode bitcoindCustomConfig: