Przeglądaj źródła

add fpga-sim-demo GitOps TEST layout

botao 23 godzin temu
rodzic
commit
54e21dadee

+ 18 - 0
fpga-sim-demo/base/deployment.yaml

@@ -0,0 +1,18 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: fpga-sim
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      app: fpga-sim
+  template:
+    metadata:
+      labels:
+        app: fpga-sim
+    spec:
+      containers:
+        - name: fpga-sim
+          image: fpga-sim-demo:latest
+          imagePullPolicy: IfNotPresent

+ 5 - 0
fpga-sim-demo/base/kustomization.yaml

@@ -0,0 +1,5 @@
+apiVersion: kustomize.config.k8s.io/v1beta1
+kind: Kustomization
+
+resources:
+  - deployment.yaml

+ 17 - 0
fpga-sim-demo/environments/test/kustomization.yaml

@@ -0,0 +1,17 @@
+apiVersion: kustomize.config.k8s.io/v1beta1
+kind: Kustomization
+
+resources:
+  - ../../base
+
+namespace: apps
+nameSuffix: -test
+
+labels:
+  - pairs:
+      environment: test
+
+images:
+  - name: fpga-sim-demo
+    newName: 192.168.2.67:30002/library/fpga-sim-demo
+    newTag: 290350d