CHORE(crafty): remove crafty application
- Delete crafty folder and all related files - Remove from kustomization.yaml
This commit is contained in:
@@ -1,40 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: crafty
|
|
||||||
namespace: argocd
|
|
||||||
finalizers:
|
|
||||||
- resources-finalizer.argocd.argoproj.io
|
|
||||||
spec:
|
|
||||||
project: default
|
|
||||||
sources:
|
|
||||||
- repoURL: https://drewburr-labs.github.io/helm-charts
|
|
||||||
chart: craftycontroller
|
|
||||||
targetRevision: 0.1.7
|
|
||||||
helm:
|
|
||||||
valueFiles:
|
|
||||||
- $values/crafty/helm-values.yaml
|
|
||||||
- repoURL: https://github.com/K3S-HOME/applications.git
|
|
||||||
targetRevision: main
|
|
||||||
ref: values
|
|
||||||
- repoURL: https://github.com/K3S-HOME/applications.git
|
|
||||||
targetRevision: main
|
|
||||||
path: crafty
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: crafty
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
retry:
|
|
||||||
limit: 5
|
|
||||||
backoff:
|
|
||||||
duration: 5s
|
|
||||||
factor: 2
|
|
||||||
maxDuration: 3m
|
|
||||||
managedNamespaceMetadata:
|
|
||||||
labels:
|
|
||||||
goldilocks.fairwinds.com/enabled: 'true'
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
# craftycontroller Helm chart values
|
|
||||||
# Minecraft server manager - https://craftycontrol.com/
|
|
||||||
|
|
||||||
fullnameOverride: crafty
|
|
||||||
|
|
||||||
image:
|
|
||||||
repository: registry.gitlab.com/crafty-controller/crafty-4
|
|
||||||
tag: latest
|
|
||||||
pullPolicy: Always
|
|
||||||
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 35m
|
|
||||||
memory: 128Mi
|
|
||||||
limits:
|
|
||||||
memory: 192Mi
|
|
||||||
|
|
||||||
# Health checks with startupProbe for slow initialization
|
|
||||||
startupProbe:
|
|
||||||
httpGet:
|
|
||||||
path: /
|
|
||||||
port: https
|
|
||||||
scheme: HTTPS
|
|
||||||
periodSeconds: 10
|
|
||||||
failureThreshold: 30
|
|
||||||
|
|
||||||
livenessProbe:
|
|
||||||
initialDelaySeconds: 0
|
|
||||||
periodSeconds: 10
|
|
||||||
httpGet:
|
|
||||||
path: /
|
|
||||||
port: https
|
|
||||||
scheme: HTTPS
|
|
||||||
|
|
||||||
readinessProbe:
|
|
||||||
initialDelaySeconds: 0
|
|
||||||
periodSeconds: 10
|
|
||||||
httpGet:
|
|
||||||
path: /
|
|
||||||
port: https
|
|
||||||
scheme: HTTPS
|
|
||||||
|
|
||||||
# Use existing PVCs (don't create new ones by omitting requests)
|
|
||||||
persistence:
|
|
||||||
crafty-app-config:
|
|
||||||
enabled: false # Using additionalVolumes for existing PVC
|
|
||||||
crafty-servers:
|
|
||||||
enabled: true
|
|
||||||
# No requests = don't create PVC, use existing one
|
|
||||||
|
|
||||||
# Mount existing crafty-config PVC
|
|
||||||
additionalVolumes:
|
|
||||||
- name: crafty-config
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: crafty-config
|
|
||||||
|
|
||||||
additionalVolumeMounts:
|
|
||||||
- name: crafty-config
|
|
||||||
mountPath: /crafty/app/config
|
|
||||||
|
|
||||||
# Services
|
|
||||||
services:
|
|
||||||
https:
|
|
||||||
type: ClusterIP
|
|
||||||
ports:
|
|
||||||
- name: https
|
|
||||||
port: 8443
|
|
||||||
protocol: TCP
|
|
||||||
- name: dynmap
|
|
||||||
port: 8123
|
|
||||||
protocol: TCP
|
|
||||||
# Minecraft service defined in manifests/minecraft-service.yaml (LoadBalancer)
|
|
||||||
minecraft:
|
|
||||||
type: ClusterIP
|
|
||||||
ports:
|
|
||||||
- name: minecraft
|
|
||||||
port: 25565
|
|
||||||
protocol: TCP
|
|
||||||
|
|
||||||
# Security context
|
|
||||||
podSecurityContext:
|
|
||||||
fsGroup: 0
|
|
||||||
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
||||||
runAsUser: 1000
|
|
||||||
runAsGroup: 0
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
||||||
kind: Kustomization
|
|
||||||
resources:
|
|
||||||
- manifests/pvc.yaml
|
|
||||||
- manifests/minecraft-service.yaml
|
|
||||||
- manifests/serverstransport.yaml
|
|
||||||
- manifests/ingress.yaml
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: IngressRoute
|
|
||||||
metadata:
|
|
||||||
name: crafty-ingress
|
|
||||||
namespace: crafty
|
|
||||||
spec:
|
|
||||||
entryPoints:
|
|
||||||
- websecure
|
|
||||||
routes:
|
|
||||||
- match: Host(`crafty0213.kro.kr`)
|
|
||||||
kind: Rule
|
|
||||||
services:
|
|
||||||
- name: crafty-https
|
|
||||||
port: 8443
|
|
||||||
scheme: https
|
|
||||||
serversTransport: crafty-insecure
|
|
||||||
tls:
|
|
||||||
secretName: crafty-tls
|
|
||||||
---
|
|
||||||
apiVersion: cert-manager.io/v1
|
|
||||||
kind: Certificate
|
|
||||||
metadata:
|
|
||||||
name: crafty-tls
|
|
||||||
namespace: crafty
|
|
||||||
spec:
|
|
||||||
secretName: crafty-tls
|
|
||||||
issuerRef:
|
|
||||||
name: letsencrypt-prod
|
|
||||||
kind: ClusterIssuer
|
|
||||||
dnsNames:
|
|
||||||
- crafty0213.kro.kr
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: crafty-minecraft
|
|
||||||
namespace: crafty
|
|
||||||
labels:
|
|
||||||
app: crafty
|
|
||||||
spec:
|
|
||||||
type: LoadBalancer
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/name: craftycontroller
|
|
||||||
app.kubernetes.io/instance: crafty
|
|
||||||
ports:
|
|
||||||
- name: bedrock
|
|
||||||
port: 19132
|
|
||||||
targetPort: 19132
|
|
||||||
protocol: UDP
|
|
||||||
- name: minecraft-1
|
|
||||||
port: 25565
|
|
||||||
targetPort: 25565
|
|
||||||
protocol: TCP
|
|
||||||
- name: minecraft-2
|
|
||||||
port: 25566
|
|
||||||
targetPort: 25566
|
|
||||||
protocol: TCP
|
|
||||||
- name: minecraft-3
|
|
||||||
port: 25567
|
|
||||||
targetPort: 25567
|
|
||||||
protocol: TCP
|
|
||||||
- name: minecraft-4
|
|
||||||
port: 25568
|
|
||||||
targetPort: 25568
|
|
||||||
protocol: TCP
|
|
||||||
- name: minecraft-5
|
|
||||||
port: 25569
|
|
||||||
targetPort: 25569
|
|
||||||
protocol: TCP
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: crafty-servers
|
|
||||||
namespace: crafty
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
storageClassName: local-path
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 5Gi
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: crafty-config
|
|
||||||
namespace: crafty
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
storageClassName: local-path
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 1Gi
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: ServersTransport
|
|
||||||
metadata:
|
|
||||||
name: crafty-insecure
|
|
||||||
namespace: crafty
|
|
||||||
spec:
|
|
||||||
insecureSkipVerify: true
|
|
||||||
@@ -10,5 +10,4 @@ resources:
|
|||||||
- umami/argocd.yaml
|
- umami/argocd.yaml
|
||||||
- headlamp/argocd.yaml
|
- headlamp/argocd.yaml
|
||||||
- immich/argocd.yaml
|
- immich/argocd.yaml
|
||||||
- crafty/argocd.yaml
|
|
||||||
- mas/argocd.yaml
|
- mas/argocd.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user