solar=system=models

This commit is contained in:
Siddharth Barahalikar
2022-09-20 17:29:52 +05:30
parent 8670ad1056
commit 2671300f31
9 changed files with 42 additions and 42 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: square-app name: heliocentric-model-no-pluto-app
namespace: argocd namespace: argocd
finalizers: finalizers:
- resources-finalizer.argocd.argoproj.io - resources-finalizer.argocd.argoproj.io
@@ -11,11 +11,11 @@ spec:
source: source:
repoURL: https://github.com/sidd-harth/test-cd.git repoURL: https://github.com/sidd-harth/test-cd.git
targetRevision: HEAD targetRevision: HEAD
path: ./declarative/manifests/square path: ./declarative/manifests/heliocentric-model-no-pluto
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: square namespace: heliocentric-no-pluto
syncPolicy: syncPolicy:
syncOptions: syncOptions:

View File

@@ -1,17 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: infinite-circle
spec:
selector:
matchLabels:
app: infinite-circle
replicas: 1
template:
metadata:
labels:
app: infinite-circle
spec:
containers:
- name: infinite-circle
image: siddharth67/infinite-shapes:circle

View File

@@ -14,4 +14,4 @@ spec:
spec: spec:
containers: containers:
- name: geocentric-model - name: geocentric-model
image: siddharth67/geocentric-model:earth image: siddharth67/geocentric-solar-system:v1

View File

@@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: heliocentric-model-no-pluto
spec:
selector:
matchLabels:
app: heliocentric-model-no-pluto
replicas: 1
template:
metadata:
labels:
app: heliocentric-model-no-pluto
spec:
containers:
- name: heliocentric-model-no-pluto
image: siddharth67/heliocentric-solar-system:no-pluto

View File

@@ -1,12 +1,12 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: infinite-circle-svc name: heliocentric-model-no-pluto-svc
spec: spec:
ports: ports:
- port: 80 - port: 80
protocol: TCP protocol: TCP
targetPort: 80 targetPort: 80
selector: selector:
app: infinite-circle app: heliocentric-model-no-pluto
type: NodePort type: NodePort

View File

@@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: heliocentric-model
spec:
selector:
matchLabels:
app: heliocentric-model
replicas: 1
template:
metadata:
labels:
app: heliocentric-model
spec:
containers:
- name: heliocentric-model
image: siddharth67/heliocentric-solar-system:v1

View File

@@ -1,12 +1,12 @@
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: infinite-squares-svc name: heliocentric-model-svc
spec: spec:
ports: ports:
- port: 80 - port: 80
protocol: TCP protocol: TCP
targetPort: 80 targetPort: 80
selector: selector:
app: infinite-squares app: heliocentric-model
type: NodePort type: NodePort

View File

@@ -1,17 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: infinite-squares
spec:
selector:
matchLabels:
app: infinite-squares
replicas: 1
template:
metadata:
labels:
app: infinite-squares
spec:
containers:
- name: infinite-squares
image: siddharth67/infinite-shapes:squares