first commit

This commit is contained in:
miwr 2025-04-14 13:12:36 +02:00
parent 1a8c2846bc
commit 2242b97775
5 changed files with 119 additions and 0 deletions

View file

@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: jumpingGameBackend
namespace: jumpingGame
spec:
replicas: 1
selector:
matchLabels:
app: jumpingGameBackend
template:
metadata:
labels:
app: jumpingGameBackend
spec:
containers:
- name: jumpingGameBackend
image: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/Michal.Wrobel/-/packages
ports:
- containerPort: 8080

View file

@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: jumpingGameFrontend
namespace: jumpingGame
spec:
replicas: 1
selector:
matchLabels:
app: jumpingGameFrontend
template:
metadata:
labels:
app: jumpingGameFrontend
spec:
containers:
- name: jumpingGameFrontend
image: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/Michal.Wrobel/-/packages
ports:
- containerPort: 8080

View file

@ -0,0 +1,29 @@
apiVersion: v1
kind: Service
metadata:
name: jumpingGameFrontendService
namespace: jumpingGame
spec:
selector:
app: jumpingGameFrontend
ports:
- protocol: TCP
port: 80
targetPort: 8080
type: ClusterIP
---
apiVersion: v1
kind: Service
metadata:
name: jumpingGameBackendService
namespace: jumpingGame
spec:
selector:
app: jumpingGameBackend
ports:
- protocol: TCP
port: 8080
targetPort: 8080
type: ClusterIP

View file

@ -0,0 +1,25 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: jumpingGame
namespace: jumpingGame
labels:
env: dev
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://{{{ .Env.DOMAIN_GITEA }}}/giteaAdmin/edfbuilder
targetRevision: HEAD
path: "stacks/ref-implementation/jumpingGame"
destination:
server: "https://kubernetes.default.svc"
namespace: jumpingGame
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: true
retry:
limit: -1

View file

@ -0,0 +1,25 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: silly-game
namespace: silly-game
labels:
env: dev
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/michals-silly-game-backend
targetRevision: HEAD
path: "src/branch/main/k8"
destination:
server: "https://kubernetes.default.svc"
namespace: silly-game
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: true
retry:
limit: -1