Initial migrate to civo

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2022-05-31 12:55:15 +00:00
parent 8a0952f514
commit 3e54c17ad3
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
30 changed files with 74 additions and 1298 deletions

View File

@ -9,7 +9,7 @@ spec:
project: cluster.fun project: cluster.fun
destination: destination:
namespace: base64 namespace: base64
name: cluster-fun (scaleway) name: civo
source: source:
path: manifests/base64 path: manifests/base64
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"

View File

@ -21,6 +21,29 @@ spec:
jsonPointers: jsonPointers:
- /data - /data
--- ---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager-civo
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: cert-manager
name: civo
source:
path: manifests/certmanager-civo
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
automated: {}
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data
---
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application

View File

@ -9,7 +9,7 @@ spec:
project: cluster.fun project: cluster.fun
destination: destination:
namespace: cv namespace: cv
name: cluster-fun (scaleway) name: civo
source: source:
path: manifests/cv path: manifests/cv
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"

View File

@ -9,7 +9,7 @@ spec:
project: cluster.fun project: cluster.fun
destination: destination:
namespace: feed-fetcher namespace: feed-fetcher
name: cluster-fun (scaleway) name: civo
source: source:
path: manifests/feed-fetcher path: manifests/feed-fetcher
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"

View File

@ -9,7 +9,7 @@ spec:
project: cluster.fun project: cluster.fun
destination: destination:
namespace: goplayground namespace: goplayground
name: cluster-fun (scaleway) name: civo
source: source:
path: manifests/goplayground path: manifests/goplayground
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"

View File

@ -1,24 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: harbor
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: harbor
name: cluster-fun (scaleway)
source:
path: manifests/harbor_chart
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data

View File

@ -9,7 +9,7 @@ spec:
project: cluster.fun project: cluster.fun
destination: destination:
namespace: link namespace: link
name: cluster-fun (scaleway) name: civo
source: source:
path: manifests/link path: manifests/link
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
@ -17,4 +17,4 @@ spec:
syncPolicy: syncPolicy:
automated: {} automated: {}
syncOptions: syncOptions:
- CreateNamespace=true - CreateNamespace=true

View File

@ -9,7 +9,7 @@ spec:
project: cluster.fun project: cluster.fun
destination: destination:
namespace: qr namespace: qr
name: cluster-fun (scaleway) name: civo
source: source:
path: manifests/qr path: manifests/qr
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"

View File

@ -9,7 +9,7 @@ spec:
project: cluster.fun project: cluster.fun
destination: destination:
namespace: talks namespace: talks
name: cluster-fun (scaleway) name: civo
source: source:
path: manifests/talks path: manifests/talks
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"

View File

@ -9,7 +9,7 @@ spec:
project: cluster.fun project: cluster.fun
destination: destination:
namespace: text-to-dxf namespace: text-to-dxf
name: cluster-fun (scaleway) name: civo
source: source:
path: manifests/text-to-dxf path: manifests/text-to-dxf
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"

View File

@ -9,7 +9,7 @@ spec:
project: cluster.fun project: cluster.fun
destination: destination:
namespace: til namespace: til
name: cluster-fun (scaleway) name: civo
source: source:
path: manifests/til path: manifests/til
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git" repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"

View File

@ -49,9 +49,9 @@ metadata:
namespace: base64 namespace: base64
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- base64.cluster.fun - base64.cluster.fun

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: base64
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: base64
updatePolicy:
updateMode: "Auto"

View File

@ -0,0 +1,23 @@
apiVersion: v1
kind: Namespace
metadata:
name: cert-manager
labels:
certmanager.k8s.io/disable-validation: "true"
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: letsencrypt@marcusnoble.co.uk
privateKeySecretRef:
name: letsencrypt
solvers:
- http01:
ingress:
class: traefik

View File

@ -62,9 +62,9 @@ metadata:
namespace: cv namespace: cv
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- cv.marcusnoble.co.uk - cv.marcusnoble.co.uk

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: cv
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: cv
updatePolicy:
updateMode: "Auto"

View File

@ -42,9 +42,9 @@ metadata:
namespace: feed-fetcher namespace: feed-fetcher
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- feed-fetcher.cluster.fun - feed-fetcher.cluster.fun

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: feed-fetcher
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: feed-fetcher
updatePolicy:
updateMode: "Auto"

View File

@ -47,9 +47,9 @@ metadata:
namespace: goplayground namespace: goplayground
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- go.cluster.fun - go.cluster.fun

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: goplayground
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: goplayground
updatePolicy:
updateMode: "Auto"

File diff suppressed because it is too large Load Diff

View File

@ -67,7 +67,8 @@ metadata:
namespace: link namespace: link
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
tls: tls:
- hosts: - hosts:

View File

@ -47,9 +47,9 @@ metadata:
namespace: qr namespace: qr
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- qr.cluster.fun - qr.cluster.fun

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: qr
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: qr
updatePolicy:
updateMode: "Auto"

View File

@ -47,9 +47,9 @@ metadata:
namespace: talks namespace: talks
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- talks.marcusnoble.co.uk - talks.marcusnoble.co.uk

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: talks
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: talks
updatePolicy:
updateMode: "Auto"

View File

@ -45,7 +45,8 @@ metadata:
namespace: text-to-dxf namespace: text-to-dxf
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
tls: tls:
- hosts: - hosts:

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: text-to-dxf
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: text-to-dxf
updatePolicy:
updateMode: "Auto"

View File

@ -47,9 +47,9 @@ metadata:
namespace: til namespace: til
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true" kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.tls: "true"
spec: spec:
ingressClassName: nginx
tls: tls:
- hosts: - hosts:
- til.marcusnoble.co.uk - til.marcusnoble.co.uk

View File

@ -1,11 +0,0 @@
apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
metadata:
name: til
spec:
targetRef:
apiVersion: "apps/v1"
kind: Deployment
name: til
updatePolicy:
updateMode: "Auto"