Skip to content

Commit

Permalink
fix service issue assoicated with toml config change
Browse files Browse the repository at this point in the history
  • Loading branch information
tateexon committed Mar 16, 2023
1 parent 03d6468 commit cef14d8
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 8 deletions.
30 changes: 30 additions & 0 deletions .helm-repositories.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
apiVersion: ''
generated: '0001-01-01T00:00:00Z'
repositories:
- caFile: ''
certFile: ''
insecure_skip_tls_verify: false
keyFile: ''
name: bitnami
pass_credentials_all: false
password: ''
url: https://charts.bitnami.com/bitnami
username: ''
- caFile: ''
certFile: ''
insecure_skip_tls_verify: false
keyFile: ''
name: chainlink-qa
pass_credentials_all: false
password: ''
url: https://raw.githubusercontent.com/smartcontractkit/qa-charts/gh-pages/
username: ''
- caFile: ''
certFile: ''
insecure_skip_tls_verify: false
keyFile: ''
name: grafana
pass_credentials_all: false
password: ''
url: https://grafana.github.io/helm-charts
username: ''
6 changes: 3 additions & 3 deletions ops/charts/devnet/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: starknet-dev-service
name: starknet-dev
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
spec:
type: {{ .Values.service.type }}
type: ClusterIP
ports:
- name: http
port: {{ .Values.service.externalPort }}
targetPort: {{ .Values.service.internalPort }}
protocol: TCP
selector:
release: {{ .Release.Name }}
app: starknet-dev
app: starknet-dev
4 changes: 1 addition & 3 deletions ops/charts/devnet/values.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Declare variables to be passed into your templates.
replicaCount: 1
service:
name: starknet-service
type: ClusterIP
externalPort: 5000
internalPort: 5000
resources:
Expand All @@ -14,4 +12,4 @@ resources:
memory: 2048Mi
url_http_L1: ""
real_node: false
seed: 0
seed: 0
3 changes: 1 addition & 2 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@
];

LD_LIBRARY_PATH="${stdenv.cc.cc.lib}/lib64:$LD_LIBRARY_PATH";
HELM_REPOSITORY_CONFIG=./.helm-repositories.yaml

venvDir = "./.venv";

postShellHook = ''
pip install -r ${./contracts/requirements.txt} -c ${./contracts/constraints.txt}
helm repo add chainlink-qa https://raw.githubusercontent.com/smartcontractkit/qa-charts/gh-pages/
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
'';
}

0 comments on commit cef14d8

Please sign in to comment.