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

(Cypress) Automate renewal certificate for orakl-backend #296

Merged
merged 192 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
f1dddb8
feat: change delegator tag
Jul 7, 2023
9ea984e
feat: update tag version
Jul 13, 2023
90a6197
fix: fix aggregator tag image typo
Jul 13, 2023
65b7ce7
feat: update tag image
Jul 20, 2023
d4b5d3a
feat: Add NODE_ENV to secret store
Jul 20, 2023
5fb9bcb
feat: Add DATABASE_URL secretKey
Jul 20, 2023
87530af
feat: Update monitor tag
Jul 20, 2023
8f5c505
feat: Update monitor tag
Jul 25, 2023
b5eb143
fix: Remove vault token from code for security
Aug 22, 2023
ade17af
feat: Deploy api
Aug 22, 2023
44efba5
feat: Deploy delegator
Aug 22, 2023
dcf4f07
feat: Deploy cli
Aug 22, 2023
5fb39f4
feat: Update RR chart
Aug 22, 2023
1ed1b02
fixup! feat: Update RR chart
Aug 22, 2023
019f526
feat: Deploy RR
Aug 22, 2023
57adb9a
fix: Revert wrong deleted code
Aug 22, 2023
2e91744
feat: Update VRF chart
Aug 22, 2023
b2a8857
feat: Deploy VRF
Aug 22, 2023
94a900c
feat: Update Data Feed chart
Aug 22, 2023
a205f13
feat: Deploy Data Feed
Aug 22, 2023
7c9c91f
feat: Deploy fetcher
Aug 22, 2023
321f15d
feat: Deploy redis
Aug 22, 2023
93dda54
feat: Deploy updated fetcher
Aug 23, 2023
dde0776
feat: Deploy monitor
Aug 23, 2023
45f1fbd
feat: Update admin chart
Aug 23, 2023
1e5153b
feat: Deploy admin
Aug 23, 2023
568db5a
feat: Deploy LB for Grafana
Aug 23, 2023
a1a3c05
feat: Deploy bisontry-health-check
Aug 27, 2023
7229669
feat: Deploy bisontry-balance-checker
Aug 31, 2023
18d26c8
feat: Update bisontry helm charts
Sep 1, 2023
133b5ae
feat: Deploy event-checker
Sep 1, 2023
3b454b3
fix: Fix wrong name
Sep 1, 2023
981962c
fix: Fix wrong directory name
Sep 1, 2023
652f6c1
fix: Fix wrong secret name
Sep 1, 2023
8cf6841
deploy 20230901 version of core (vrf)
jo-bisonai Sep 1, 2023
69e7367
helm update
jo-bisonai Sep 1, 2023
2622cd6
feat: Update prometheus chart
Sep 1, 2023
85925bb
fixup! feat: Update prometheus chart
Sep 1, 2023
7622278
feat: Update monitor chart
Sep 5, 2023
b71e28c
feat: Deploy prometheus
Sep 5, 2023
3ec963c
feat: update vrf chart
jaycetop Sep 6, 2023
f5eec01
feat: Update health-checker tag
Sep 7, 2023
ffa709b
feat: Update health-checker image
Sep 7, 2023
7d74ebb
vrf image update
jo-bisonai Sep 20, 2023
2c0c2ab
remove name
jo-bisonai Sep 20, 2023
d309ce5
feat: Remove prometheus
Sep 21, 2023
6acdec6
feat: Update tag to deploy new fetcher
Sep 25, 2023
f0ce9c2
feat: Update tag for VRF
Oct 3, 2023
8c30d2c
feat: Deploy new core image
Oct 16, 2023
376f7ad
feat: Deploy new core tag
Oct 16, 2023
b232854
feat: Update version of RR, VRF
Oct 31, 2023
bd9ab97
feat: Update vrf-worker
Nov 3, 2023
d7e39e2
feat: Add default namespace
Nov 7, 2023
f272517
Fix wrong port number (#13)
Nov 14, 2023
2e0fe16
feat: Define `DATA_FEED_REPORTER_CONCURRENCY` env var
martinkersner Nov 14, 2023
4dfc0ca
Merge pull request #14 from Bisonai/i-918/feat/env-var-for-number-of-…
martinkersner Nov 14, 2023
f724428
Deploy fetcher to add reducer (Baobab) (#17)
nick-bisonai Nov 14, 2023
c09902d
(baobab) Pass data feed reporter concurrency to reporter (#23)
martinkersner Nov 15, 2023
02d9b91
Update tag for DATA_FEED_REPORTER_CONCURRENCY (#24)
martinkersner Nov 15, 2023
3c1329f
Env vars must be strings! (#25)
martinkersner Nov 15, 2023
2c6d437
Pass `CONCURRENCY` env var to Fetcher (#26)
martinkersner Nov 15, 2023
ce49a49
feat: Create cronjob for execute PoR every minute (#29)
Nov 15, 2023
52679aa
fix: Change `POR_AGGREGATOR_HASH` to use updated address (#30)
Nov 15, 2023
d6c003c
Increase fetcher concurrency from 20 to 30 (#28)
martinkersner Nov 15, 2023
20e6a2d
Decrease fetcher concurrency from 30 to 20 (#32)
martinkersner Nov 15, 2023
18fc973
Split deployment (#33)
Nov 16, 2023
716eadc
feat: update image tag for por (#39)
Nov 21, 2023
c64c344
feat: add env vars for slack webhook (#41)
Nov 21, 2023
a296ec1
feat: Add env vars for por (#42)
Nov 21, 2023
d7d26e1
feat: update for faster query and proxy location (#44)
nick-bisonai Nov 22, 2023
9df9919
fix: fix migration file (#45)
nick-bisonai Nov 22, 2023
991154f
feat:update fetcher with new proxy settings (#46)
nick-bisonai Nov 23, 2023
e15e77f
feat: update por image tag (#48)
Nov 23, 2023
5bc6759
fix: rollback item not found behavior (#50)
nick-bisonai Nov 23, 2023
96cb5a1
Add label for make PoR to measurable (#52)
Nov 27, 2023
6c8f6d4
feat: update api (#54)
nick-bisonai Dec 7, 2023
d8e93b8
feat: node 20 implementation to listener (#55)
nick-bisonai Dec 11, 2023
d83bfe3
fix: Fix synctax error (#57)
Dec 11, 2023
8889652
fix: update core Dockerimage file (#58)
nick-bisonai Dec 11, 2023
f5d13ac
fix: update prisma version to 5.5.2 (#60)
nick-bisonai Dec 11, 2023
55a7982
fix: updates for node20 and prisma update (#61)
nick-bisonai Dec 11, 2023
99b30df
feat: implement redis store for aggregates (#62)
nick-bisonai Dec 14, 2023
71a5641
add missing environment variable (#63)
nick-bisonai Dec 14, 2023
8c95f91
fix: add secret in api-secret yaml file (#64)
nick-bisonai Dec 14, 2023
3c1b67c
fix: fix typo (#65)
nick-bisonai Dec 14, 2023
18a0185
fix: fix api route (#67)
nick-bisonai Dec 14, 2023
1ffd862
feat: reference new api call for aggregates (#68)
nick-bisonai Dec 14, 2023
24e3e39
feat: deploy fetcher (#69)
nick-bisonai Dec 14, 2023
c60ddc4
feat: implement util workspace for reducer (#70)
nick-bisonai Dec 15, 2023
1592880
feat: add util workspace reference in core (#71)
nick-bisonai Dec 15, 2023
0c464e0
Boabab fetcher timeout (#73)
martinkersner Dec 15, 2023
11e2ada
fix: Modify health check port (#72)
Dec 15, 2023
b885ee1
feat: deploy por updates (#76)
nick-bisonai Dec 18, 2023
477654d
feat: implement queue optimization based on roundId (#81)
nick-bisonai Dec 20, 2023
0d40465
rollback (#83)
nick-bisonai Dec 20, 2023
053de46
feat: implement obliterate & roundId optimization (#84)
nick-bisonai Dec 20, 2023
dcee3ca
fix: rollback roundId (#85)
nick-bisonai Dec 20, 2023
8011c6a
fix: rollback (#90)
nick-bisonai Dec 21, 2023
3bfa638
feat: implement queue obliterate on start (#91)
nick-bisonai Dec 22, 2023
f5c4ff3
(BAOBAB) Update Bisontry services (#98)
Dec 27, 2023
3e0647f
(BAOBAB) Fix bisontry-balance-checker is not working (#100)
Dec 28, 2023
0808416
(Baobab) Deploy new grafana version (#110)
nick-bisonai Jan 15, 2024
6dda41b
fix: rollback wrong pr (#111)
nick-bisonai Jan 16, 2024
23f579f
(BAOBAB) Deploy `orakl-grafana` (#112)
Jan 16, 2024
6faed65
Setup vault for grafana as code (#113)
nick-bisonai Jan 16, 2024
397a4f1
(BAOBAB) Update image tag of pods that can't started. (#116)
Jan 17, 2024
25ddf55
(BAOBAB) Open new Grafana to inside of K8s (#118)
Jan 18, 2024
896bc81
(BAOBAB) Add type: LoadBalancer to the service of new Grafana (#121)
Jan 18, 2024
6f1a51a
feat: delegated fee fallback (#126)
nick-bisonai Jan 22, 2024
7bdb5f6
feat: datetime formatting with iso format (#129)
nick-bisonai Jan 22, 2024
b10e2c2
feat: updated datetime format for worker and por (#130)
nick-bisonai Jan 22, 2024
d14b05b
feat: update rr worker (#131)
nick-bisonai Jan 23, 2024
7136153
(BAOBAB) Cleanup Grafana (#137)
Jan 24, 2024
76a1191
feat: update grafana monitor db url (#143)
nick-bisonai Jan 29, 2024
0a6a7f0
fix: update url (#146)
nick-bisonai Jan 30, 2024
a8bfe77
(BAOBAB) goapi baobab deployment (#139)
nick-bisonai Jan 30, 2024
4eea72c
fix: remove start command for goapi (#147)
nick-bisonai Jan 30, 2024
1f5d052
fix: update command for goapi (#148)
nick-bisonai Jan 30, 2024
c2519a6
fix: update docker image (#149)
nick-bisonai Jan 30, 2024
a071531
fix: update baobab goapi version (#150)
nick-bisonai Jan 30, 2024
2698612
(BAOBAB) Add labels to deployment.yaml and selector to service.yaml (…
Jan 30, 2024
8847343
(BAOBAB) Fix goapi's sync error in ArgoCD (#152)
Jan 30, 2024
ceb2535
fix: update image (#153)
nick-bisonai Jan 30, 2024
a43d7a4
fix: goapi logging (#154)
nick-bisonai Jan 30, 2024
50098bc
fix: use pgxPool instead of pgxConn (#155)
nick-bisonai Jan 31, 2024
bbcb615
(BAOBAB) The health-check URL of api change to goapi (#156)
Jan 31, 2024
d8eb298
(BAOBAB) Fix baobab-health-check error (#157)
Jan 31, 2024
d51db84
feat: print out more information (#161)
nick-bisonai Feb 5, 2024
3644dbc
fix: update package version (#164)
nick-bisonai Feb 5, 2024
f055e42
feat: reporter warning on invalid keys (#162)
nick-bisonai Feb 5, 2024
b9edf3f
feat: improve goapi logging (#163)
nick-bisonai Feb 5, 2024
c982ae7
(BAOBAB) Api implement empty row handling (#170)
nick-bisonai Feb 7, 2024
a03aa8e
fix: aggregator hash fix validation (#172)
nick-bisonai Feb 8, 2024
abe4e6a
fix: cli compatibility updates (#174)
nick-bisonai Feb 8, 2024
8d94e05
(baobab) Update CI Helm Lint workflow to include pull request events …
Feb 13, 2024
4d66897
(BAOBAB) Clean up nodejs api (#179)
nick-bisonai Feb 16, 2024
77285d8
(BAOBAB) Hotfix sync error api (#180)
Feb 16, 2024
9f5f7fe
feat: update grafana as code (#187)
nick-bisonai Feb 20, 2024
3ba3476
(Baobab) Hotfix: Update listener, it's use old one (#189)
Feb 22, 2024
4e3ba6b
(BAOBAB) Reduce fetcher logs (#190)
nick-bisonai Feb 23, 2024
94cd4ef
(Baobab) Update whole VRF, (listener and reporter) of RR (#195)
Feb 23, 2024
43e244a
(BAOBAB) Reduce listener logs (#192)
nick-bisonai Feb 23, 2024
e744ca7
fix: update connection addr (#199)
nick-bisonai Feb 26, 2024
d865b01
feat: update dex fetcher (#200)
nick-bisonai Feb 28, 2024
c0f9b06
fix: includes dex feed for eth usdt (#201)
nick-bisonai Feb 28, 2024
4ee77cc
(BAOBAB) Updates for go delegator (#183)
nick-bisonai Feb 28, 2024
fe5be02
(Baobab) Hotfix error (#202)
Feb 28, 2024
8d9fdc5
(Baobab) Hotfix godelegator (#204)
Feb 29, 2024
8ef2820
(Baobab) Hotfix godelegator (#205)
Feb 29, 2024
a2926dd
feat: remove busd from grafana (#206)
nick-bisonai Feb 29, 2024
f5dad08
feat: add checks if string empty (#208)
nick-bisonai Feb 29, 2024
be65efd
(Baobab) Remove BUSD-USDT from bisontry-event-checker (#209)
Feb 29, 2024
f21255f
feat: update godelegator with trimming (#211)
nick-bisonai Feb 29, 2024
f7a6e1e
fix: update healthcheck delegator (#221)
nick-bisonai Mar 8, 2024
b2d4416
(Baobab) Automate adding ArgoCD app (#212)
Mar 8, 2024
35ff32d
feat: deploy v0.0.1.20240314.0433.ce446c4 (#230)
nick-bisonai Mar 14, 2024
0761927
deploy baobab-godelegator-v0.0.1.20240313.0958.82d191d (#228)
nick-bisonai Mar 14, 2024
ae8d184
feat: Add bisontry-messenger (#240)
Mar 16, 2024
cd129fc
feat: deploy v0.0.1.20240315.0618.c907cbb (#239)
nick-bisonai Mar 18, 2024
c04025c
feat: deploy v0.6.1.20240315.0618.c907cbb (#236)
nick-bisonai Mar 18, 2024
49406e6
(Baobab) Deploy `bisontry-messenger` (#241)
Mar 18, 2024
cf93948
feat: Add cronjob set and add tls-renew job template
Mar 27, 2024
f04e9ca
feat: Add renew script
Mar 27, 2024
ae22875
Merge branch 'feat/baobab/deploy-renew-tls' into feat/cypress/renew-tls
Apr 17, 2024
0aefbbf
feat: Add renew script to cypress helm charts
Apr 17, 2024
1c29005
Added cluster role template for cronjobs.
Apr 17, 2024
629aed2
aider: Replace rules section in clusterrole.yaml with values from val…
Apr 17, 2024
d8a7af9
Updated clusterrole.yaml to always include rules from $job variable.
Apr 17, 2024
53c3b29
aider: Remove nindent 2 from toYaml function in clusterrole.yaml.
Apr 17, 2024
b13d302
Add cluster role for TLS certificate renewal and export to Kubernetes…
Apr 17, 2024
3941528
aider: Added a line to export the renewed TLS certificate to a Kubern…
Apr 17, 2024
a673473
Fix indentation in clusterrole.yaml template.
Apr 17, 2024
f965401
aider: Update clusterrole.yaml to dynamically reference namespace fro…
Apr 17, 2024
39eb39e
Added namespace field and formatted kubectl command in cronjobs/value…
Apr 17, 2024
1e426d3
aider: Added installation of kubectl to resolve the failure due to mi…
Apr 17, 2024
7a8f0ea
chore: Add aider to gitignore
Apr 17, 2024
cdb0c9e
chore: Rename `aggregator-reporter.sh`
Apr 17, 2024
f8c59de
aider: ClusterRole이 항상 생성되도록 수정되었습니다.
Apr 17, 2024
d54d776
Remove unnecessary commented out code in clusterrole.yaml.
Apr 17, 2024
8394a60
aider: Fix condition to create ClusterRole and ClusterRoleBinding onl…
Apr 17, 2024
2398075
Add namespace field to clusterrole.yaml template.
Apr 17, 2024
16db9b4
aider: Set default names for ClusterRole and ClusterRoleBinding in `c…
Apr 17, 2024
25a6e13
aider: Fix default function usage in clusterrole.yaml to prevent empt…
Apr 17, 2024
0ebde59
feat: Add permission about secrets
Apr 17, 2024
9801fc3
Updated clusterrole.yaml template to include roleRef for ClusterRoleB…
Apr 17, 2024
3989bc2
Refactored clusterRole.yaml template to simplify and improve readabil…
Apr 17, 2024
8e2bb87
aider: Fix indentation issue in rendering `clusterRole` rules in YAML…
Apr 17, 2024
b18135f
aider: Preserved YAML array values in `clusterrole.yaml` template usi…
Apr 17, 2024
ec3fe6b
Update clusterrole.yaml to simplify rules section.
Apr 17, 2024
6db6f1b
aider: Modify `rules` to a multi-line string and fix `labels` section…
Apr 17, 2024
c10cfb9
fix: Remove indent in template file
Apr 17, 2024
e5632e3
feat: Add permission to patch secret for updating exist certificate
Apr 17, 2024
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
@@ -0,0 +1 @@
.aider*
41 changes: 41 additions & 0 deletions admin/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Values.deployment.name }}
spec:
replicas: {{ .Values.deployment.replicas }}
selector:
matchLabels:
app: orakl-admin
template:
metadata:
labels:
app: orakl-admin
spec:
containers:
- name: orakl-admin
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: Always

command:
- yarn
- start
ports:
- containerPort: 3000
livenessProbe:
httpGet:
path: {{ .Values.probes.liveness.path }}
port: {{ .Values.probes.liveness.port }}
initialDelaySeconds: {{ .Values.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.liveness.periodSeconds }}
timeoutSeconds: {{ .Values.probes.liveness.timeoutSeconds }}
failureThreshold: {{ .Values.probes.liveness.failureThreshold }}
readinessProbe:
httpGet:
path: {{ .Values.probes.readiness.path }}
port: {{ .Values.probes.readiness.port }}
initialDelaySeconds: {{ .Values.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.probes.readiness.periodSeconds }}
timeoutSeconds: {{ .Values.probes.readiness.timeoutSeconds }}
successThreshold: {{ .Values.probes.readiness.successThreshold }}

28 changes: 28 additions & 0 deletions admin/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
global:
name: admin
namespace: orakl

image:
repository: public.ecr.aws/bisonai/orakl-general
tag: admin.v0.1.0.20230802.0109.13ce71f

deployment:
name: orakl-admin
replicas: 1
resources:

probes:
liveness:
path: /
port: 3000
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
readiness:
path: /
port: 3000
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 3
successThreshold: 1
7 changes: 1 addition & 6 deletions aggregator/templates/listener/deployment-listener.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.listener.containerSecurityContext | nindent 12 }}
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.listenerTag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.global.image.pullPolicy }}
{{- if .Values.global.secretManager.enabled }}
env:
Expand Down Expand Up @@ -68,11 +68,6 @@ spec:
secretKeyRef:
name: orakl-aggregator-secrets
key: LOG_LEVEL
- name: LOG_DIR
valueFrom:
secretKeyRef:
name: orakl-aggregator-secrets
key: LOG_DIR
- name: REDIS_HOST
valueFrom:
secretKeyRef:
Expand Down
7 changes: 6 additions & 1 deletion aggregator/templates/listener/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ metadata:
spec:
type: ClusterIP
ports:
- port: 4000
- name: watchman
port: 4000
targetPort: 4000
protocol: TCP
- name: healthcheck
port: 8080
targetPort: 8080
protocol: TCP
selector:
{{- include "orakl-aggregator.selectorLabels.listener" . | nindent 6 }}
34 changes: 0 additions & 34 deletions aggregator/templates/pvc.yaml

This file was deleted.

7 changes: 1 addition & 6 deletions aggregator/templates/reporter/deployment-reporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.reporter.containerSecurityContext | nindent 12 }}
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.reporterTag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.global.image.pullPolicy }}
{{- if .Values.global.secretManager.enabled }}
env:
Expand Down Expand Up @@ -80,11 +80,6 @@ spec:
secretKeyRef:
name: orakl-aggregator-secrets
key: LOG_LEVEL
- name: LOG_DIR
valueFrom:
secretKeyRef:
name: orakl-aggregator-secrets
key: LOG_DIR
- name: REDIS_HOST
valueFrom:
secretKeyRef:
Expand Down
7 changes: 6 additions & 1 deletion aggregator/templates/reporter/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ metadata:
spec:
type: ClusterIP
ports:
- port: 6000
- name: watchman
port: 6000
targetPort: 6000
protocol: TCP
- name: healthcheck
port: 8080
targetPort: 8080
protocol: TCP
selector:
{{- include "orakl-aggregator.selectorLabels.reporter" . | nindent 6 }}
7 changes: 1 addition & 6 deletions aggregator/templates/worker/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.worker.containerSecurityContext | nindent 12 }}
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.global.image.repository }}:{{ .Values.global.image.workerTag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.global.image.pullPolicy }}
{{- if .Values.global.secretManager.enabled }}
env:
Expand Down Expand Up @@ -80,11 +80,6 @@ spec:
secretKeyRef:
name: orakl-aggregator-secrets
key: LOG_LEVEL
- name: LOG_DIR
valueFrom:
secretKeyRef:
name: orakl-aggregator-secrets
key: LOG_DIR
- name: REDIS_HOST
valueFrom:
secretKeyRef:
Expand Down
7 changes: 6 additions & 1 deletion aggregator/templates/worker/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ metadata:
spec:
type: ClusterIP
ports:
- port: 5000
- name: watchman
port: 5000
targetPort: 5000
protocol: TCP
- name: healthcheck
port: 8080
targetPort: 8080
protocol: TCP
selector:
{{- include "orakl-aggregator.selectorLabels.worker" . | nindent 6 }}
19 changes: 2 additions & 17 deletions aggregator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
## created by Bisonai

global:
name: aggregator
namespace: orakl
appName: orakl-aggregator
image:
repository: public.ecr.aws/u6t6w0e4/orakl-core #repository url
Expand All @@ -24,23 +26,6 @@ global:
key: kubernetes.io/hostname
value:

hostPath:
enable: false
volumes:
- name: orakl-log-storage
hostPath:
path: /log/
type: DirectoryOrCreate

volumes:
- name: orakl-log-storage
persistentVolumeClaim:
claimName: orakl-log

volumeMounts:
- name: orakl-log-storage
mountPath: /app/log

podAnnotations: {}

livenessProbe:
Expand Down
2 changes: 2 additions & 0 deletions api/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Klaytn Orakl Api Configuration
## created by Bisonai
global:
name: api
namespace: orakl
image:
repository: public.ecr.aws/bisonai/orakl-api
pullPolicy: IfNotPresent
Expand Down
5 changes: 5 additions & 0 deletions bisontry-daily-report/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v2
name: bisontry-daily-report
description: Bisontry Daily Report service.
version: 0.1.0
appVersion: v0.1.0.20231219.0733.2bb7b86
23 changes: 23 additions & 0 deletions bisontry-daily-report/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Values.deployment.name }}
spec:
replicas: {{ .Values.deployment.replicas }}
selector:
matchLabels:
app: {{ .Values.deployment.name }}
template:
metadata:
labels:
app: {{ .Values.deployment.name }}
spec:
imagePullSecrets:
- name: bisontry-gar-json-key
containers:
- name: {{ .Values.deployment.name }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: Always
envFrom:
- secretRef:
name: {{ .Values.deployment.name }}-secrets
12 changes: 12 additions & 0 deletions bisontry-daily-report/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
global:
name: bisontry-daily-report
namespace: orakl

image:
repository: asia-southeast1-docker.pkg.dev/bisontry/bisontry/bisontry-daily-report
tag: v0.1.0.20231219.0733.2bb7b86

deployment:
name: bisontry-daily-report
replicas: 1
resources:
5 changes: 5 additions & 0 deletions bisontry-messenger/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v2
name: bisontry-messenger
description: Bisontry Messenger service.
version: 0.1.0
appVersion: v0.1.0.20231228.2125.41dd762
23 changes: 23 additions & 0 deletions bisontry-messenger/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Values.deployment.name }}
spec:
replicas: {{ .Values.deployment.replicas }}
selector:
matchLabels:
app: {{ .Values.deployment.name }}
template:
metadata:
labels:
app: {{ .Values.deployment.name }}
spec:
imagePullSecrets:
- name: bisontry-gar-json-key
containers:
- name: {{ .Values.deployment.name }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
imagePullPolicy: Always
envFrom:
- secretRef:
name: {{ .Values.deployment.name }}-secrets
13 changes: 13 additions & 0 deletions bisontry-messenger/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: {{ .Values.deployment.name }}
spec:
# type: ClusterIP
ports:
- port: 80
targetPort: 3000
protocol: TCP
type: LoadBalancer
selector:
app: {{ .Values.deployment.name }}
12 changes: 12 additions & 0 deletions bisontry-messenger/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
global:
name: bisontry-messenger
namespace: orakl

image:
repository: asia-southeast1-docker.pkg.dev/bisontry/bisontry/bisontry-messenger
tag: v0.0.1.20240216.0351.30594bb

deployment:
name: bisontry-messenger
replicas: 1
resources:
Loading
Loading