Compare commits
6 Commits
1df23e3dc9
...
491b3ba742
Author | SHA1 | Date | |
---|---|---|---|
491b3ba742 | |||
507446aac2
|
|||
869e8436df
|
|||
3f78cd2d2e
|
|||
a2e8a14dac
|
|||
1c76f00adc
|
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
|
||||
---
|
@@ -8,6 +8,8 @@ metadata:
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 25m
|
||||
nginx.ingress.kubernetes.io/client-body-buffer-size: 25m
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
|
@@ -32,6 +32,7 @@ data:
|
||||
kcdbudapest: https://speaking.marcusnoble.co.uk/43QLpx/the-future-of-kubernetes-admission-logic
|
||||
kcdczechslovak: https://speaking.marcusnoble.co.uk/Np2xUv/pod-deep-dive-the-interesting-bits
|
||||
cnsmunich: https://speaking.marcusnoble.co.uk/HqYcp2/pod-deep-dive-the-interesting-bits
|
||||
cnsmunich-feedback: https://yay-or-nay.cluster.fun/feedback/20UETBI0
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
83
manifests/yay-or-nay/yay-or-nay.yaml
Normal file
83
manifests/yay-or-nay/yay-or-nay.yaml
Normal file
@@ -0,0 +1,83 @@
|
||||
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
|
||||
namespace: yay-or-nay
|
||||
labels:
|
||||
app.kubernetes.io/name: yay-or-nay
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- "yay-or-nay.cluster.fun"
|
||||
secretName: "yay-or-nay-ingress"
|
||||
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