Skip to content

Commit

Permalink
btc-parachain
Browse files Browse the repository at this point in the history
  • Loading branch information
ns212 committed Jan 26, 2021
1 parent 03266aa commit 12dd91a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/polkabtc-parachain/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Helm chart for PolkaBTC

type: application
apiVersion: v2
version: 0.2.1
version: 0.2.2
appVersion: 2.0.0

home: https://interlay.io/
Expand Down
16 changes: 16 additions & 0 deletions charts/polkabtc-parachain/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,19 @@ spec:
{{- include "polkabtc.selectorLabels" . | nindent 4 }}
sessionAffinity: None
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
name: {{ include "polkabtc.fullname" . }}-p2p
labels:
{{- include "polkabtc.labels" . | nindent 4 }}
spec:
externalTrafficPolicy: Local
ports:
- port: {{ .Values.p2pPort }}
name: p2p
nodePort: {{ .Values.p2pPort }}
selector:
{{- include "polkabtc.selectorLabels" . | nindent 4 }}
type: NodePort
4 changes: 3 additions & 1 deletion charts/polkabtc-parachain/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- btc-parachain
- --port
- {{ .Values.p2pPort }}
- --base-path
- {{ .Values.basePath }}
{{- range .Values.args }}
Expand All @@ -46,7 +48,7 @@ spec:
{{- include "settings" $ | nindent 10 }}
ports:
- name: p2p
containerPort: 30333
containerPort: {{ .Values.p2pPort }}
- name: http-rpc
containerPort: 9933
- name: websocket-rpc
Expand Down
2 changes: 2 additions & 0 deletions charts/polkabtc-parachain/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ args:
- --name
- development

p2pPort: 30335

serviceAccount:
# Specifies whether a service account should be created
create: true
Expand Down

0 comments on commit 12dd91a

Please sign in to comment.