github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/charts/geth-non-root/Readme.md (about)

     1  # Raison d'etre
     2  
     3  This chart allows to run a geth node as a non-root user, which is esential for running it on more secure clusters. Geth is running as Proof-of-Authority private network with a single node.
     4  
     5  # Deploying with ingress
     6  
     7  By default ingress is disabled. To enable it you need to override a couple of values in the values.yaml file. You can easily do it from command-line when installing the chart.
     8  
     9  Currently ingress created for CRIB doesn't work, even though there are no errors or warnings in Kubernetes. Hopefuly soon we will have some eyes on it.
    10  
    11  Sample command:
    12  ```bash
    13  export RELEASE_NAME="your-release-name"
    14  export NAMESPACE="your-namespace"
    15  export INGRESS_BASE_DOMAIN="your-ingress-base-domain"
    16  export INGRESS_CERT="your-ingress-certificate"
    17  export INGRESS_CIDRS="your-ingress-cidrs"
    18  
    19  helm install "${RELEASE_NAME}" . -f ./values.yaml \
    20  --set ingress.annotation_certificate_arn="${INGRESS_CERT}"\
    21  --set "ingress.hosts[0].host"="${NAMESPACE}-geth-http.${INGRESS_BASE_DOMAIN}"\
    22  --set "ingress.hosts[1].host"="${NAMESPACE}-geth-ws.${INGRESS_BASE_DOMAIN}"\
    23  --set "ingress.annotation_group_name"="${NAMESPACE}"\
    24  --set "ingress.enabled"=true\
    25  # to override default chain id uncomment the following line
    26  # --set "geth.networkId"="2337"
    27  --set "networkPolicy.ingress.allowCustomCidrs=${INGRESS_CIDRS}"
    28  ```