Skip to content

Commit

Permalink
Merge pull request #153 from pokt-foundation/patch-use-service-annota…
Browse files Browse the repository at this point in the history
…tions

Add service annotations
  • Loading branch information
HebertCL authored Jan 7, 2025
2 parents e439628 + b943508 commit c91bc1c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/blockchain-node/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: A Helm chart to deploy a blockchain node

type: application

version: 0.1.11
version: 0.1.12
# Not compatible with 0.0.1 due to change container.command

appVersion: "1.16.0"
Expand Down
2 changes: 2 additions & 0 deletions charts/blockchain-node/example-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ statefulset:
type: ClusterIP
port: 26657
protocol: TCP
annotations:
external-dns.alpha.kubernetes.io/hostname: "seed10.mainnet.pokt.network"
- name: rpc
type: ClusterIP
port: 8081
Expand Down
5 changes: 5 additions & 0 deletions charts/blockchain-node/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ metadata:
annotations:
cloud.google.com/backend-config: '{"default": "{{ include "blockchain-node.fullname" $ }}-{{ $prt.name }}"}'
cloud.google.com/neg: '{"ingress": true}'
{{- else }}
annotations:
{{- with $prt.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
spec:
selector:
Expand Down

0 comments on commit c91bc1c

Please sign in to comment.