From 2e96df2a211c8a5a8db8f490e7dedd7b1735a942 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 15 Apr 2024 14:38:10 +0100 Subject: Move ghost to web namespace --- .../namespaces/default/ghost/deployment.yaml | 42 ---------------------- 1 file changed, 42 deletions(-) delete mode 100644 kubernetes/namespaces/default/ghost/deployment.yaml (limited to 'kubernetes/namespaces/default/ghost/deployment.yaml') diff --git a/kubernetes/namespaces/default/ghost/deployment.yaml b/kubernetes/namespaces/default/ghost/deployment.yaml deleted file mode 100644 index 9ead2c8..0000000 --- a/kubernetes/namespaces/default/ghost/deployment.yaml +++ /dev/null @@ -1,42 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: ghost -spec: - replicas: 1 - strategy: - type: Recreate - selector: - matchLabels: - app: ghost - template: - metadata: - labels: - app: ghost - spec: - securityContext: - fsGroup: 2000 - runAsUser: 1000 - runAsNonRoot: true - containers: - - name: ghost - image: ghost:5.78-alpine - imagePullPolicy: Always - ports: - - containerPort: 2368 - env: - - name: url - value: https://blog.pythondiscord.com - - name: database__client - value: sqlite3 - - name: database__connection__filename - value: /var/lib/ghost/content/data/ghost.db - volumeMounts: - - mountPath: /var/lib/ghost/content - name: ghost-data - securityContext: - readOnlyRootFilesystem: true - volumes: - - name: ghost-data - persistentVolumeClaim: - claimName: ghost-storage -- cgit v1.2.3