Skip to content

Commit

Permalink
feat: k8s to kustomization
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
  • Loading branch information
tty47 committed Jun 22, 2023
1 parent 205d693 commit 5de3d08
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 19 deletions.
11 changes: 11 additions & 0 deletions deployment/base/config/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
mutualPeers:
- peers:
- nodeName: "da-bridge-0"
containerName: "da"
- nodeName: "da-full-0"
containerName: "da"
- peers:
- nodeName: "test-pod"
containerName: "pod"
- nodeName: "testing-pod-0"
containerName: "test"
File renamed without changes.
7 changes: 7 additions & 0 deletions deployment/base/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- deployment.yaml
- service.yaml
- rbac.yaml
File renamed without changes.
File renamed without changes.
19 changes: 0 additions & 19 deletions deployment/configmap.yaml

This file was deleted.

11 changes: 11 additions & 0 deletions deployment/overlays/config/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
mutualPeers:
- peers:
- nodeName: "da-bridge-0"
containerName: "da"
- nodeName: "da-full-0"
containerName: "da"
- peers:
- nodeName: "test-pod"
containerName: "pod"
- nodeName: "testing-pod-0"
containerName: "test"
16 changes: 16 additions & 0 deletions deployment/overlays/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

namespace: default

resources:
- ../base

images:
- name: github.com/jrmanes/torch
newTag: 8ca7289

configMapGenerator:
- name: config
files:
- ./config/config.yaml

0 comments on commit 5de3d08

Please sign in to comment.