mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 13:09:53 +00:00
remove soft serve
Signed-off-by: Michael Thomson <michael@michaelthomson.dev>
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
|
||||||
kind: Kustomization
|
|
||||||
metadata:
|
|
||||||
name: soft-serve
|
|
||||||
namespace: flux-system
|
|
||||||
spec:
|
|
||||||
interval: 15m
|
|
||||||
path: ./soft-serve
|
|
||||||
prune: true # remove any elements later removed from the above path
|
|
||||||
timeout: 2m # if not set, this defaults to interval duration, which is 1h
|
|
||||||
sourceRef:
|
|
||||||
kind: GitRepository
|
|
||||||
name: flux-system
|
|
||||||
healthChecks:
|
|
||||||
- apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
name: soft-serve
|
|
||||||
namespace: soft-serve
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: soft-serve
|
|
||||||
@@ -1,45 +0,0 @@
|
|||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: soft-serve
|
|
||||||
namespace: soft-serve
|
|
||||||
spec:
|
|
||||||
replicas: 1
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: soft-serve
|
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: soft-serve
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- env:
|
|
||||||
- name: SOFT_SERVE_INITIAL_ADMIN_KEYS
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: soft-serve-secret
|
|
||||||
key: admin_key
|
|
||||||
- name: SOFT_SERVE_SSH_PUBLIC_URL
|
|
||||||
value: ssh://git.michaelthomson.dev
|
|
||||||
image: charmcli/soft-serve:latest
|
|
||||||
name: soft-serve
|
|
||||||
ports:
|
|
||||||
- containerPort: 23231
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 23232
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 23233
|
|
||||||
protocol: TCP
|
|
||||||
- containerPort: 9418
|
|
||||||
protocol: TCP
|
|
||||||
volumeMounts:
|
|
||||||
- mountPath: /soft-serve
|
|
||||||
name: soft-serve-pvc
|
|
||||||
restartPolicy: Always
|
|
||||||
volumes:
|
|
||||||
- name: soft-serve-pvc
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: soft-serve-pvc
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
apiVersion: externaldns.k8s.io/v1alpha1
|
|
||||||
kind: DNSEndpoint
|
|
||||||
metadata:
|
|
||||||
name: git.michaelthomson.dev
|
|
||||||
namespace: soft-serve
|
|
||||||
spec:
|
|
||||||
endpoints:
|
|
||||||
- dnsName: git.michaelthomson.dev
|
|
||||||
recordTTL: 180
|
|
||||||
recordType: CNAME
|
|
||||||
targets:
|
|
||||||
- michaelthomson.ddns.net
|
|
||||||
providerSpecific:
|
|
||||||
- name: external-dns.alpha.kubernetes.io/cloudflare-proxied
|
|
||||||
value: "false"
|
|
||||||
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
apiVersion: networking.k8s.io/v1
|
|
||||||
kind: Ingress
|
|
||||||
metadata:
|
|
||||||
name: soft-serve
|
|
||||||
namespace: soft-serve
|
|
||||||
annotations:
|
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
||||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
||||||
spec:
|
|
||||||
rules:
|
|
||||||
- host: git.michaelthomson.dev
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- pathType: ImplementationSpecific
|
|
||||||
path: /
|
|
||||||
backend:
|
|
||||||
service:
|
|
||||||
name: git
|
|
||||||
port:
|
|
||||||
name: http
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- git.michaelthomson.dev
|
|
||||||
secretName: letsencrypt-wildcard-cert-michaelthomson.dev
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: soft-serve-pvc
|
|
||||||
namespace: soft-serve
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 10Gi
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"kind": "SealedSecret",
|
|
||||||
"apiVersion": "bitnami.com/v1alpha1",
|
|
||||||
"metadata": {
|
|
||||||
"name": "soft-serve-secret",
|
|
||||||
"namespace": "soft-serve",
|
|
||||||
"creationTimestamp": null
|
|
||||||
},
|
|
||||||
"spec": {
|
|
||||||
"template": {
|
|
||||||
"metadata": {
|
|
||||||
"name": "soft-serve-secret",
|
|
||||||
"namespace": "soft-serve",
|
|
||||||
"creationTimestamp": null
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"encryptedData": {
|
|
||||||
"admin_key": "AgCnn/nI29wwvcFQmqh/J5fPa3r4BDwLwesyE+EVC3lWFGVb7tdqysEfTgBg/KCtIRlj5nTicLNFd02iS0VARA78h736tWwZSNQDiolJNYGmSKrMvPzNgeA+wuKZJ6ybMpmun/4T7OZ2WeMYRwp50mk2H29SRLBYq1p0r8uzbg4UzgUXqBoqP4ON7OZsG4Gov9otZk8cUS6S75fWvisLNKLa5gw4t5vrDRroibYx1euW1kJ4neLUtE5Un/BKR+wqaPHpQYr3+X1cIXy3ozWz2OEoKekBgDq4ckyuL57T9f7Zw5bThT+9Om0ja/52wKAFAudppkvUXPkdRx08H97FgNGECyA7y0Zy6SmcHV0z19rWPZvmWtDtXzVeznhsjFGjPQeZBOKzCVW1ayc7OkgFUBbmdoMRSJyMbE9P92gJ14p7o2dIoLxwMomm8t4qysa90nqCDxZSA54ZlYa4KGy+Nn8HZaRp8n7f1+eUGVNYpqkHAVE2OJUSILKIaHVCNjB3ErTC8W/68Pfe3Pq7GYGEowhPxfW+XZGEd+GpPXP3BwcI6sSETl3mBX+x0+tzPrmNEi1W7aZMzHfnv0b5AOIq+jR83yz1UNlJr5AwSxzcBAjQj0PRw9WdCL3at8i160680NsXfBc1uV0SehCLzkjOOhYCfckrn1hoEV/BGT3KaqZlbcQyhdiqvKKRtSiXAqAautmrlZBcdaurGE1ZJIwEyRU8YmtMDggBeKlGeIPx9VCBKKaTRkDW6oDCPibZuTo6NB5d1ChVIHQj5RcG6YQ2vHZ4YdTiLJjGZw13WH2RZN0pqA=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: soft-serve
|
|
||||||
namespace: soft-serve
|
|
||||||
annotations:
|
|
||||||
metallb.universe.tf/loadBalancerIPs: 192.168.2.210
|
|
||||||
spec:
|
|
||||||
type: LoadBalancer
|
|
||||||
ports:
|
|
||||||
- name: "23231"
|
|
||||||
port: 23231
|
|
||||||
targetPort: 23231
|
|
||||||
- name: "23232"
|
|
||||||
port: 23232
|
|
||||||
targetPort: 23232
|
|
||||||
- name: "23233"
|
|
||||||
port: 23233
|
|
||||||
targetPort: 23233
|
|
||||||
- name: "9418"
|
|
||||||
port: 9418
|
|
||||||
targetPort: 9418
|
|
||||||
selector:
|
|
||||||
app: soft-serve
|
|
||||||
Reference in New Issue
Block a user