mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-06-27 20:45:35 -04:00
adding devops
used gemini to create the k8s/dockerfiles faster
This commit is contained in:
parent
5c09c5a22f
commit
6c14a968c3
74 changed files with 2061 additions and 16 deletions
6
deploy/chart/Chart.yaml
Normal file
6
deploy/chart/Chart.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
apiVersion: v2
|
||||
name: odin-projects-root
|
||||
description: A Helm chart for deploying the root Argo CD application to manage Odin projects.
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "1.0.0"
|
19
deploy/chart/templates/admin-dashboard-application.yaml
Normal file
19
deploy/chart/templates/admin-dashboard-application.yaml
Normal 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
|
18
deploy/chart/templates/auth-expressjs-application.yaml
Normal file
18
deploy/chart/templates/auth-expressjs-application.yaml
Normal 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
|
18
deploy/chart/templates/battleship-application.yaml
Normal file
18
deploy/chart/templates/battleship-application.yaml
Normal 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
|
18
deploy/chart/templates/calculator-application.yaml
Normal file
18
deploy/chart/templates/calculator-application.yaml
Normal 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
|
18
deploy/chart/templates/cv-application.yaml
Normal file
18
deploy/chart/templates/cv-application.yaml
Normal 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
|
19
deploy/chart/templates/cv-project-application.yaml
Normal file
19
deploy/chart/templates/cv-project-application.yaml
Normal 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
|
18
deploy/chart/templates/inventory-application.yaml
Normal file
18
deploy/chart/templates/inventory-application.yaml
Normal 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
|
18
deploy/chart/templates/library-application.yaml
Normal file
18
deploy/chart/templates/library-application.yaml
Normal 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
|
18
deploy/chart/templates/messages-application.yaml
Normal file
18
deploy/chart/templates/messages-application.yaml
Normal 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
|
|
@ -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
|
18
deploy/chart/templates/portfolio-application.yaml
Normal file
18
deploy/chart/templates/portfolio-application.yaml
Normal 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
|
18
deploy/chart/templates/restaurant-application.yaml
Normal file
18
deploy/chart/templates/restaurant-application.yaml
Normal 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
|
19
deploy/chart/templates/shopping-cart-application.yaml
Normal file
19
deploy/chart/templates/shopping-cart-application.yaml
Normal 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
|
18
deploy/chart/templates/signup-form-application.yaml
Normal file
18
deploy/chart/templates/signup-form-application.yaml
Normal 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
|
18
deploy/chart/templates/tictactoe-application.yaml
Normal file
18
deploy/chart/templates/tictactoe-application.yaml
Normal 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
|
19
deploy/chart/templates/todo-application.yaml
Normal file
19
deploy/chart/templates/todo-application.yaml
Normal 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
|
18
deploy/chart/templates/weather-application.yaml
Normal file
18
deploy/chart/templates/weather-application.yaml
Normal 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
|
4
deploy/chart/values.yaml
Normal file
4
deploy/chart/values.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
repoUrl: https://github.com/smiggiddy/odin-codeprojects
|
||||
targetRevision: HEAD
|
||||
targetNamespace: default
|
||||
targetServer: https://kubernetes.default.svc
|
Loading…
Add table
Add a link
Reference in a new issue