diff --git a/manifests/_apps/yay-or-nay.yaml b/manifests/_apps/yay-or-nay.yaml new file mode 100644 index 0000000..6850e88 --- /dev/null +++ b/manifests/_apps/yay-or-nay.yaml @@ -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 +--- diff --git a/manifests/auth-proxy/non-auth-ingress.yaml b/manifests/auth-proxy/non-auth-ingress.yaml index ca5d37b..d6742cf 100644 --- a/manifests/auth-proxy/non-auth-ingress.yaml +++ b/manifests/auth-proxy/non-auth-ingress.yaml @@ -18,7 +18,6 @@ spec: - ombi.cluster.fun - bsky-feeds.cluster.fun - ai.cluster.fun - - yay-or-nay.cluster.fun secretName: non-auth-proxy-ingress rules: - host: hello-world.cluster.fun @@ -61,13 +60,3 @@ spec: name: tailscale-proxy port: name: non-auth - - host: yay-or-nay.cluster.fun - http: - paths: - - path: / - pathType: ImplementationSpecific - backend: - service: - name: tailscale-proxy - port: - name: non-auth diff --git a/manifests/yay-or-nay/yay-or-nay.yaml b/manifests/yay-or-nay/yay-or-nay.yaml new file mode 100644 index 0000000..383e240 --- /dev/null +++ b/manifests/yay-or-nay/yay-or-nay.yaml @@ -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