Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: take out tzkt from tezos chart #9

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dist
*.eggs
.venv*
.DS_Store
.idea
.vscode
node_modules

Expand Down
15 changes: 0 additions & 15 deletions charts/tezos/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -127,21 +127,6 @@ metadata:
{{- dict "data" (uniq $allAccounts) | toJson }}
{{- end }}

{{/*
Should deploy TZKT indexer?
*/}}
{{- define "tezos.shouldDeployTzktIndexer" -}}
{{- $indexers := .Values.indexers | default dict }}
{{- if $indexers.tzkt }}
{{- $tzkt_config := $indexers.tzkt.config | default dict }}
{{- if $tzkt_config.rpc_url }}
{{- "true" }}
{{- else }}
{{- "" }}
{{- end }}
{{- end }}
{{- end }}

{{/*
Checks if `bcdIndexer` has `rpcUrl` and `dbPassword` set.
Returns the true type or empty string which is falsey.
Expand Down
13 changes: 0 additions & 13 deletions charts/tezos/templates/static.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,3 @@ spec:
node_class: {{ $key }}
---
{{- end }}
{{- if (include "tezos.shouldDeployTzktIndexer" .) }}
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.tzkt_indexer_statefulset.name }}
namespace: {{ .Release.Namespace }}
spec:
ports:
- port: 5000
selector:
app: {{ .Values.tzkt_indexer_statefulset.name }}
type: NodePort
{{- end }}
322 changes: 0 additions & 322 deletions charts/tezos/templates/tzkt_indexer.yaml

This file was deleted.

Loading
Loading