Skip to content

Commit

Permalink
(fix) Fix cd , remove development and production as not currently wor…
Browse files Browse the repository at this point in the history
…king
  • Loading branch information
rrw-zilliqa committed Oct 4, 2024
1 parent 7471f13 commit 8d4ab68
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 76 deletions.
3 changes: 3 additions & 0 deletions cd/base/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ spec:
containers:
- image: otterscan
name: otterscan
env:
- name: ERIGON_URL
value: not-set
ports:
- containerPort: 80
resources:
Expand Down
7 changes: 0 additions & 7 deletions cd/overlays/dev/certificate.yaml

This file was deleted.

33 changes: 0 additions & 33 deletions cd/overlays/dev/kustomization.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions cd/overlays/production/certificate.yaml

This file was deleted.

26 changes: 0 additions & 26 deletions cd/overlays/production/kustomization.yaml

This file was deleted.

10 changes: 7 additions & 3 deletions cd/overlays/staging/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ patches:
- op: replace
path: "/spec/rules/0/host"
value: otterscan.zilstg.dev
- op: replace
path: "/spec/rules/1/host"
value: otterscan.zilliqa.com
- op: replace
path: /metadata/annotations
value:
kubernetes.io/ingress.class: gce
kubernetes.io/ingress.global-static-ip-name: otterscan-zilstg-dev
networking.gke.io/managed-certificates: otterscan
- target:
kind: Deployment
name: otterscan
patch: |-
- op: replace
path: "/spec/template/spec/containers/0/env/0/value"
value: "https://api.zq2-prototestnet.zilliqa.com"
namespace: otterscan-stg

0 comments on commit 8d4ab68

Please sign in to comment.