monorepo lab stuff, init zen

This commit is contained in:
iofq 2025-12-27 22:26:02 -06:00
parent cfc15bba89
commit 645e09f9dd
54 changed files with 67498 additions and 406 deletions

View file

@ -0,0 +1,6 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: soft-serve
resources:
# - ss-deployment.yaml

View file

@ -0,0 +1,64 @@
---
apiVersion: v1
kind: Namespace
metadata:
name: soft-serve
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: soft-serve-pvc
namespace: soft-serve
spec:
accessModes:
- ReadWriteOnce
storageClassName: local-path
resources:
requests:
storage: 5Gi
---
apiVersion: v1
kind: Service
metadata:
name: soft-serve-svc
namespace: soft-serve
spec:
selector:
app: soft-serve
ports:
- protocol: TCP
port: 22
targetPort: 23231
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: soft-serve
namespace: soft-serve
spec:
selector:
matchLabels:
app: soft-serve
replicas: 1
template:
metadata:
labels:
app: soft-serve
spec:
containers:
- name: soft-serve
image: charmcli/soft-serve:v0.10.0
imagePullPolicy: Always
ports:
- containerPort: 23231
volumeMounts:
- name: soft-serve-data
mountPath: /soft-serve
env:
- name: SOFT_SERVE_INITIAL_ADMIN_KEYS
value: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHM4Zr0PFN7QdOG2aJ+nuzRCK6caulrpY6bphA1Ppl8Y e@t14"
volumes:
- name: soft-serve-data
persistentVolumeClaim:
claimName: soft-serve-pvc