[stable/bitcoin] Configure deployment to use custom terminationGracePeriodSe… (#13091)

* [Bitcoin] Configure deployment to use custom terminationGracePeriodSeconds

Signed-off-by: Kasper Kondzielski <kghost0@gmail.com>

* [Bitcoin] Update chart version

Signed-off-by: Kasper Kondzielski <kghost0@gmail.com>

* [Bitcoin] Reset path version after upgrading minor version

Signed-off-by: Kasper Kondzielski <kghost0@gmail.com>
This commit is contained in:
Kasper Kondzielski
2019-04-21 16:17:43 -07:00
committed by Kubernetes Prow Robot
parent 0450663740
commit d30fe49188
4 changed files with 20 additions and 18 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: bitcoind
version: 0.1.6
version: 0.2.0
appVersion: 0.17.1
description: Bitcoin is an innovative payment network and a new kind of money.
keywords:
+16 -15
View File
@@ -40,21 +40,22 @@ The command removes all the Kubernetes components associated with the chart and
The following table lists the configurable parameters of the bitcoind chart and their default values.
Parameter | Description | Default
----------------------- | ---------------------------------- | ----------------------------------------------------------
`image.repository` | Image source repository name | `arilot/docker-bitcoind`
`image.tag` | `bitcoind` release tag. | `0.17.1`
`image.pullPolicy` | Image pull policy | `IfNotPresent`
`service.rpcPort` | RPC port | `8332`
`service.p2pPort` | P2P port | `8333`
`service.testnetPort` | Testnet port | `18332`
`service.testnetP2pPort` | Testnet p2p ports | `18333`
`service.selector` | Node selector | `tx-broadcast-svc`
`persistence.enabled` | Create a volume to store data | `true`
`persistence.accessMode` | ReadWriteOnce or ReadOnly | `ReadWriteOnce`
`persistence.size` | Size of persistent volume claim | `300Gi`
`resources` | CPU/Memory resource requests/limits| `{}`
`configurationFile` | Config file ConfigMap entry |
Parameter | Description | Default
------------------------------- | ------------------------------------------------- | ----------------------------------------------------------
`image.repository` | Image source repository name | `arilot/docker-bitcoind`
`image.tag` | `bitcoind` release tag. | `0.17.1`
`image.pullPolicy` | Image pull policy | `IfNotPresent`
`service.rpcPort` | RPC port | `8332`
`service.p2pPort` | P2P port | `8333`
`service.testnetPort` | Testnet port | `18332`
`service.testnetP2pPort` | Testnet p2p ports | `18333`
`service.selector` | Node selector | `tx-broadcast-svc`
`persistence.enabled` | Create a volume to store data | `true`
`persistence.accessMode` | ReadWriteOnce or ReadOnly | `ReadWriteOnce`
`persistence.size` | Size of persistent volume claim | `300Gi`
`resources` | CPU/Memory resource requests/limits | `{}`
`configurationFile` | Config file ConfigMap entry |
`terminationGracePeriodSeconds` | Wait time before forcefully terminating container | `30`
For more information about Bitcoin configuration please see [Bitcoin.conf_Configuration_File](https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File).
+2 -1
View File
@@ -20,6 +20,7 @@ spec:
app: {{ template "bitcoind.name" . }}
release: {{ .Release.Name }}
spec:
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriodSeconds }}
{{- if .Values.configurationFile }}
initContainers:
- name: copy-bitcoind-config
@@ -68,4 +69,4 @@ spec:
claimName: {{ .Values.persistence.existingClaim | default (include "bitcoind.fullname" .) }}
{{- else }}
emptyDir: {}
{{- end -}}
{{- end -}}
+1 -1
View File
@@ -1,7 +1,7 @@
# Default values for bitcoind.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
terminationGracePeriodSeconds: 30
image:
repository: arilot/docker-bitcoind
tag: 0.15.1