Added yay-or-nay
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
25
manifests/_apps/yay-or-nay.yaml
Normal file
25
manifests/_apps/yay-or-nay.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: yay-or-nay
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: cluster.fun
|
||||||
|
destination:
|
||||||
|
namespace: yay-or-nay
|
||||||
|
name: cluster-fun (v2)
|
||||||
|
source:
|
||||||
|
path: manifests/yay-or-nay
|
||||||
|
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
||||||
|
targetRevision: HEAD
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
automated: {}
|
||||||
|
ignoreDifferences:
|
||||||
|
- kind: Secret
|
||||||
|
jsonPointers:
|
||||||
|
- /data
|
||||||
|
---
|
@@ -18,7 +18,6 @@ spec:
|
|||||||
- ombi.cluster.fun
|
- ombi.cluster.fun
|
||||||
- bsky-feeds.cluster.fun
|
- bsky-feeds.cluster.fun
|
||||||
- ai.cluster.fun
|
- ai.cluster.fun
|
||||||
- yay-or-nay.cluster.fun
|
|
||||||
secretName: non-auth-proxy-ingress
|
secretName: non-auth-proxy-ingress
|
||||||
rules:
|
rules:
|
||||||
- host: hello-world.cluster.fun
|
- host: hello-world.cluster.fun
|
||||||
@@ -61,13 +60,3 @@ spec:
|
|||||||
name: tailscale-proxy
|
name: tailscale-proxy
|
||||||
port:
|
port:
|
||||||
name: non-auth
|
name: non-auth
|
||||||
- host: yay-or-nay.cluster.fun
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: tailscale-proxy
|
|
||||||
port:
|
|
||||||
name: non-auth
|
|
||||||
|
75
manifests/yay-or-nay/yay-or-nay.yaml
Normal file
75
manifests/yay-or-nay/yay-or-nay.yaml
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: yay-or-nay
|
||||||
|
namespace: yay-or-nay
|
||||||
|
annotations:
|
||||||
|
kube-1password: vtnx2swze7r6qepxnlepufvcbi
|
||||||
|
kube-1password/vault: Kubernetes
|
||||||
|
kube-1password/secret-text-parse: "true"
|
||||||
|
type: Opaque
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: yay-or-nay
|
||||||
|
labels:
|
||||||
|
app: yay-or-nay
|
||||||
|
app.kubernetes.io/name: yay-or-nay
|
||||||
|
annotations:
|
||||||
|
reloader.stakater.com/search: "true"
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: yay-or-nay
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: yay-or-nay
|
||||||
|
app.kubernetes.io/name: yay-or-nay
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: yay-or-nay
|
||||||
|
image: ghcr.io/mocdaniel/yay-or-nay:1.0.0
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
ports:
|
||||||
|
- containerPort: 3000
|
||||||
|
name: web
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: yay-or-nay
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: yay-or-nay
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: yay-or-nay
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: web
|
||||||
|
name: web
|
||||||
|
selector:
|
||||||
|
app: yay-or-nay
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: yay-or-nay
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: yay-or-nay
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: yay-or-nay.cluster.fun
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: yay-or-nay
|
||||||
|
port:
|
||||||
|
name: web
|
Reference in New Issue
Block a user