Compare commits
6 Commits
71f79e7c96
...
ee1de35a31
| Author | SHA1 | Date | |
|---|---|---|---|
| ee1de35a31 | |||
|
ce6b933f10
|
|||
|
2cde93b2df
|
|||
|
d08c78b37b
|
|||
| 81d1399b76 | |||
| 6a9f40991a |
26
manifests/_apps/homelab-accesible-check.yaml
Normal file
26
manifests/_apps/homelab-accesible-check.yaml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: cluster-fun-homelab-accessible-check
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: cluster.fun
|
||||||
|
destination:
|
||||||
|
namespace: homelab-accessible-check
|
||||||
|
name: cluster-fun (v2)
|
||||||
|
source:
|
||||||
|
path: manifests/homelab-accessible-check
|
||||||
|
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
||||||
|
targetRevision: HEAD
|
||||||
|
syncPolicy:
|
||||||
|
automated: {}
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
ignoreDifferences:
|
||||||
|
- kind: Secret
|
||||||
|
jsonPointers:
|
||||||
|
- /data
|
||||||
|
|
||||||
|
---
|
||||||
25
manifests/_apps/url-to-grist.yaml
Normal file
25
manifests/_apps/url-to-grist.yaml
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: url-to-grist
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: cluster.fun
|
||||||
|
destination:
|
||||||
|
namespace: cloudnative-now
|
||||||
|
name: cluster-fun (v2)
|
||||||
|
source:
|
||||||
|
path: manifests/url-to-grist
|
||||||
|
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
||||||
|
targetRevision: HEAD
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
automated: {}
|
||||||
|
ignoreDifferences:
|
||||||
|
- kind: Secret
|
||||||
|
jsonPointers:
|
||||||
|
- /data
|
||||||
|
---
|
||||||
@@ -68,7 +68,7 @@ spec:
|
|||||||
mountPath: /config/
|
mountPath: /config/
|
||||||
|
|
||||||
- name: oauth-proxy
|
- name: oauth-proxy
|
||||||
image: quay.io/oauth2-proxy/oauth2-proxy:v7.12.0
|
image: quay.io/oauth2-proxy/oauth2-proxy:v7.13.0
|
||||||
args:
|
args:
|
||||||
- --cookie-secure=false
|
- --cookie-secure=false
|
||||||
- --provider=oidc
|
- --provider=oidc
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
key: password
|
key: password
|
||||||
name: dashboard-auth
|
name: dashboard-auth
|
||||||
image: quay.io/oauth2-proxy/oauth2-proxy:v7.12.0
|
image: quay.io/oauth2-proxy/oauth2-proxy:v7.13.0
|
||||||
name: oauth-proxy
|
name: oauth-proxy
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
|
|||||||
@@ -0,0 +1,53 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: docker-config
|
||||||
|
namespace: homelab-accessible-check
|
||||||
|
annotations:
|
||||||
|
kube-1password: i6ngbk5zf4k52xgwdwnfup5bby
|
||||||
|
kube-1password/vault: Kubernetes
|
||||||
|
kube-1password/secret-text-key: .dockerconfigjson
|
||||||
|
type: kubernetes.io/dockerconfigjson
|
||||||
|
data:
|
||||||
|
.dockerconfigjson: e30=
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: homelab-accessible-check
|
||||||
|
namespace: homelab-accessible-check
|
||||||
|
annotations:
|
||||||
|
kube-1password: bz6ujxc5neqma242lpfqdxfiay
|
||||||
|
kube-1password/vault: Kubernetes
|
||||||
|
kube-1password/secret-text-parse: "true"
|
||||||
|
type: Opaque
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: homelab-accessible-check
|
||||||
|
namespace: homelab-accessible-check
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: homelab-accessible-check
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: homelab-accessible-check
|
||||||
|
spec:
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: docker-config
|
||||||
|
containers:
|
||||||
|
- name: checker
|
||||||
|
image: rg.fr-par.scw.cloud/averagemarcus-private/homelab-accessible-check:latest
|
||||||
|
imagePullPolicy: Always
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: "homelab-accessible-check"
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 50Mi
|
||||||
|
requests:
|
||||||
|
memory: 50Mi
|
||||||
@@ -92,7 +92,7 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
key: password
|
key: password
|
||||||
name: social-to-rolodex-auth
|
name: social-to-rolodex-auth
|
||||||
image: quay.io/oauth2-proxy/oauth2-proxy:v7.12.0
|
image: quay.io/oauth2-proxy/oauth2-proxy:v7.13.0
|
||||||
name: oauth-proxy
|
name: oauth-proxy
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
|
|||||||
117
manifests/url-to-grist/url-to-grist.yaml
Normal file
117
manifests/url-to-grist/url-to-grist.yaml
Normal file
@@ -0,0 +1,117 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: url-to-grist
|
||||||
|
namespace: cloudnative-now
|
||||||
|
annotations:
|
||||||
|
kube-1password: bu4lczquzosu3yxhyrzbtepply
|
||||||
|
kube-1password/vault: Kubernetes
|
||||||
|
kube-1password/secret-text-parse: "true"
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: url-to-grist
|
||||||
|
app.kubernetes.io/part-of: cloudnative.now
|
||||||
|
type: Opaque
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: url-to-grist
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: url-to-grist
|
||||||
|
app.kubernetes.io/part-of: cloudnative.now
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: web
|
||||||
|
name: web
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: url-to-grist
|
||||||
|
app.kubernetes.io/part-of: cloudnative.now
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: url-to-grist
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: url-to-grist
|
||||||
|
app.kubernetes.io/part-of: cloudnative.now
|
||||||
|
annotations:
|
||||||
|
secret.reloader.stakater.com/reload: "url-to-grist"
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: url-to-grist
|
||||||
|
app.kubernetes.io/part-of: cloudnative.now
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: url-to-grist
|
||||||
|
app.kubernetes.io/part-of: cloudnative.now
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: url-to-grist
|
||||||
|
image: ghcr.io/namelessplanet/url-to-grist:v1.5.3
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
- name: PORT
|
||||||
|
value: "8080"
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: "url-to-grist"
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
name: web
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
port: web
|
||||||
|
path: /healthz
|
||||||
|
initialDelaySeconds: 1
|
||||||
|
periodSeconds: 5
|
||||||
|
successThreshold: 1
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 3
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
port: web
|
||||||
|
path: /healthz
|
||||||
|
initialDelaySeconds: 1
|
||||||
|
periodSeconds: 5
|
||||||
|
successThreshold: 1
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 3
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 20Mi
|
||||||
|
requests:
|
||||||
|
memory: 20Mi
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: url-to-grist
|
||||||
|
namespace: cloudnative-now
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: url-to-grist
|
||||||
|
app.kubernetes.io/part-of: cloudnative.now
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- "url-to-grist.cloudnative.now"
|
||||||
|
secretName: "url-to-grist-ingress"
|
||||||
|
rules:
|
||||||
|
- host: "url-to-grist.cloudnative.now"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: "/"
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: url-to-grist
|
||||||
|
port:
|
||||||
|
name: web
|
||||||
@@ -17,7 +17,7 @@ metadata:
|
|||||||
app: yay-or-nay
|
app: yay-or-nay
|
||||||
app.kubernetes.io/name: yay-or-nay
|
app.kubernetes.io/name: yay-or-nay
|
||||||
annotations:
|
annotations:
|
||||||
reloader.stakater.com/search: "true"
|
secret.reloader.stakater.com/reload: "yay-or-nay"
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
Reference in New Issue
Block a user