adding devops

used gemini to create the k8s/dockerfiles faster
This commit is contained in:
Smigz 2025-05-02 16:47:07 +00:00
parent 5c09c5a22f
commit 6c14a968c3
74 changed files with 2061 additions and 16 deletions

View file

@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: admin-dashboard
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: admin-dashboard/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
syncOptions:
- CreateNamespace=true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: auth-expressjs
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: auth-expressjs/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: battleship
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: battleship/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: calculator
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: calculator/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cv # Updated to match instruction
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }} # Updated to match instruction
path: cv/devops
targetRevision: {{ .Values.targetRevision }} # Updated to match instruction
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }} # Updated to match instruction
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cv-project
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: cv-project/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
syncOptions:
- CreateNamespace=true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: inventory # this will be set to the project name
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: inventory/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: library
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: library/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: messages # Updated name
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }} #Templated repo URL
path: messages/devops
targetRevision: {{ .Values.targetRevision }} # Templated target revision
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }} # Templated destination namespace
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nodejs-mini-message-board
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: nodejs-mini-message-board/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: portfolio
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: portfolio/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: restaurant
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: restaurant/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: shopping-cart
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: shopping-cart/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
syncOptions:
- CreateNamespace=true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: signup-form
namespace: argocd
spec:
project: default
source:
repoURL: '{{ .Values.repoUrl }}'
path: signup_form/devops
targetRevision: '{{ .Values.targetRevision }}'
destination:
server: '{{ .Values.targetServer }}'
namespace: '{{ .Values.targetNamespace }}'
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: tictactoe
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: tictactoe/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,19 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: todo
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: todo/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true

View file

@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: weather
namespace: argocd
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: weather/devops
targetRevision: {{ .Values.targetRevision }}
destination:
server: {{ .Values.targetServer }}
namespace: {{ .Values.targetNamespace }}
syncPolicy:
automated:
prune: true
selfHeal: true