From fbe44f5c5516ae701dccceac7920fc11eb26db9b Mon Sep 17 00:00:00 2001 From: SeoYoung Lee Date: Thu, 13 Jun 2024 16:57:20 +0900 Subject: [PATCH] [OR-1661] remove kustomize --- kustomize/bases/deployment.yml | 22 ---------------------- kustomize/bases/kustomization.yml | 14 -------------- kustomize/bases/service.yml | 14 -------------- kustomize/envs/kustomization.yml | 10 ---------- kustomize/envs/notif.env | 13 ------------- kustomize/overlays/kustomization.yml | 13 ------------- kustomize/overlays/namespace.yml | 5 ----- kustomize/overlays/resource_override.yml | 16 ---------------- 8 files changed, 107 deletions(-) delete mode 100644 kustomize/bases/deployment.yml delete mode 100644 kustomize/bases/kustomization.yml delete mode 100644 kustomize/bases/service.yml delete mode 100644 kustomize/envs/kustomization.yml delete mode 100644 kustomize/envs/notif.env delete mode 100644 kustomize/overlays/kustomization.yml delete mode 100644 kustomize/overlays/namespace.yml delete mode 100644 kustomize/overlays/resource_override.yml diff --git a/kustomize/bases/deployment.yml b/kustomize/bases/deployment.yml deleted file mode 100644 index 95a9787..0000000 --- a/kustomize/bases/deployment.yml +++ /dev/null @@ -1,22 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: thanos-app-notif -spec: - replicas: 1 - template: - metadata: - labels: - app: thanos-app-notif - spec: - terminationGracePeriodSeconds: 10 - restartPolicy: Always - containers: - - name: thanos-app-notif - image: thanos-app-notif:latest - imagePullPolicy: Never - command: ["thanos-app-notif"] - args: ["listener"] - - - \ No newline at end of file diff --git a/kustomize/bases/kustomization.yml b/kustomize/bases/kustomization.yml deleted file mode 100644 index 7a232e6..0000000 --- a/kustomize/bases/kustomization.yml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -generatorOptions: - disableNameSuffixHash: true - -resources: -- deployment.yml -- service.yml - -labels: -- includeSelectors: true - pairs: - app: thanos-app-notif diff --git a/kustomize/bases/service.yml b/kustomize/bases/service.yml deleted file mode 100644 index d6f4783..0000000 --- a/kustomize/bases/service.yml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: thanos-app-notif-svc -spec: - selector: - app: thanos-app-notif - type: NodePort - ports: - - name: http - port: 80 - protocol: TCP - targetPort: 8080 - diff --git a/kustomize/envs/kustomization.yml b/kustomize/envs/kustomization.yml deleted file mode 100644 index 7e5ce72..0000000 --- a/kustomize/envs/kustomization.yml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -generatorOptions: - disableNameSuffixHash: true - -configMapGenerator: - - name: thanos-notif-app-config - envs: - - ./notif.env diff --git a/kustomize/envs/notif.env b/kustomize/envs/notif.env deleted file mode 100644 index f0ef5bd..0000000 --- a/kustomize/envs/notif.env +++ /dev/null @@ -1,13 +0,0 @@ -L1_RPC=http://localhost:8545 -L1_WS_RPC=ws://localhost:8546 -L2_RPC=http://localhost:9545 -L2_WS_RPC=ws://localhost:9546 -L1_STANDARD_BIRDGE= -L2_STANDARD_BIRDGE=0x4200000000000000000000000000000000000010 -L1_CROSS_DOMAIN_MESSENGER= -L2_CROSS_DOMAIN_MESSENGER=0x4200000000000000000000000000000000000007 -L2_TO_L1_MESSAGE_PASSER=0x4200000000000000000000000000000000000016 -SLACK_URL= -OPTIMISM_PORTAL= -TRANSFER_ADDRESSES=0xC7844340d14deAedfDD2f2dD9360c336661b2F0A -OFF=0 \ No newline at end of file diff --git a/kustomize/overlays/kustomization.yml b/kustomize/overlays/kustomization.yml deleted file mode 100644 index 83d6b2e..0000000 --- a/kustomize/overlays/kustomization.yml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: thanos-app-notif -generatorOptions: - disableNameSuffixHash: true - -resources: -- namespace.yml -- ../bases -- ../envs - -patches: -- path: resource_override.yml diff --git a/kustomize/overlays/namespace.yml b/kustomize/overlays/namespace.yml deleted file mode 100644 index 09f43ff..0000000 --- a/kustomize/overlays/namespace.yml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: thanos-app-notif - diff --git a/kustomize/overlays/resource_override.yml b/kustomize/overlays/resource_override.yml deleted file mode 100644 index ff0b267..0000000 --- a/kustomize/overlays/resource_override.yml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: thanos-app-notif -spec: - template: - spec: - containers: - - name: thanos-app-notif - resources: - limits: - cpu: 1 - memory: 1Gi - envFrom: - - configMapRef: - name: thanos-notif-app-config