Skip to content

Commit

Permalink
fix some basic chart issues
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyCharlesBlake committed Apr 27, 2022
1 parent 7e1f63b commit 8a17361
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 130 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
# POKT Foundation Helm Charts

## Usage

Add the Helm repository locally and update.

```bash
helm repo add pokt https://pokt-foundation.gitlab.io/charts
helm repo update pokt
```

### Avalanche

Install the `pokt/avalanche` chart with the release name `avalanche` into the `avalanche` namespace.

```bash
helm install avalanche pokt/avalanche --create-namespace --namespace avalanche
```
20 changes: 8 additions & 12 deletions charts/bitcoind/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
replicaCount: 1

image:
repository: pokt-foundation/bitcoind
repository: wesleycharlesblake/bitcoind
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# tag: "0.19.1"
tag: "latest"

imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -53,15 +53,15 @@ configurationFile:
printtoconsole=1
rpcuser=rpcuser
rpcpassword=rpcpassword
testnet=1
regtest=1
blockfilterindex=basic
peerblockfilters=1
peerbloomfilters=0
# pvcSnapShotName: "bitcoind-testnet-snap-7-7-2020"

persistence:
enabled: true
enabled: false
## database data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
Expand All @@ -72,15 +72,11 @@ persistence:
storageClass: standard
accessMode: ReadWriteOnce
size: 450Gi
annotations:
resize.topolvm.io/threshold: 20%
resize.topolvm.io/increase: 20Gi
annotations: {}

ingress:
enabled: false
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: "letsencrypt-prod"
annotations: {}

hosts:
- host: testnet.pokt.network
Expand Down Expand Up @@ -123,7 +119,7 @@ metrics:
tag: v0.2.0
port: 9439
# if this port is changed, change healthz-port: in extraArgs: accordingly
enabled: true
enabled: false

service:
annotations:
Expand All @@ -145,7 +141,7 @@ metrics:
# nodePort: ""

serviceMonitor:
enabled: true
enabled: false
additionalLabels: {}
namespace: ""
namespaceSelector:
Expand Down
9 changes: 4 additions & 5 deletions charts/lnd/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,10 @@ spec:
requests:
storage: {{ .Values.persistence.size | quote }}

{{- if .Values.pvcSnapShotName }}
{{- if .Values.pvcCloneName }}
dataSource:
name: "{{ .Values.pvcSnapShotName }}"
kind: VolumeSnapshot
apiGroup: snapshot.storage.k8s.io
name: "{{ .Values.pvcCloneName }}"
kind: PersistentVolumeClaim
{{- end }}

{{- end }}
Expand All @@ -186,4 +185,4 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}
54 changes: 0 additions & 54 deletions charts/lnd/values-regtest.yaml

This file was deleted.

55 changes: 0 additions & 55 deletions charts/lnd/values-testnet.yaml

This file was deleted.

9 changes: 6 additions & 3 deletions charts/lnd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ image:
repository: WesleyCharlesBlake/lnd-docker
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v0.12.1-beta"
tag: "latest"

imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -58,7 +58,7 @@ configurationFile:
; bitcoin.active=1
; [bitcoind]
; bitcoind.rpchost=bitcoind-regtest:18443
; bitcoind.rpchost=bitcoind:18443
; bitcoind.rpcuser=rpcuser
; bitcoind.rpcpass=rpcpassword
; bitcoind.zmqpubrawblock=tcp://bitcoind-regtest:28332
Expand Down Expand Up @@ -118,6 +118,9 @@ tolerations: []

affinity: {}

# create a PVC clone from an existing PVC in the same namespace as the destination PVC
# pvcCloneName: ""

persistence:
enabled: true
## database data Persistent Volume Storage Class
Expand All @@ -127,6 +130,6 @@ persistence:
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
storageClass: standard-rwo
storageClass: ""
accessMode: ReadWriteOnce
size: 5Gi
2 changes: 1 addition & 1 deletion ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ target-branch: master
chart-dirs:
- charts
chart-repos:
- pokt=https://charts.bitnami.com/bitnami
- pokt=https://pokt-foundation.gitlab.io/charts
helm-extra-args: --timeout 600s

0 comments on commit 8a17361

Please sign in to comment.