diff options
| author | 2024-05-16 20:15:45 +0100 | |
|---|---|---|
| committer | 2024-05-16 20:25:38 +0100 | |
| commit | 1d773f8b93d0ab63f0b9b933dbdda58b748e1303 (patch) | |
| tree | 526c9af76c63508897bc2049760c1342fabcf5f3 /kubernetes/namespaces/web/pinnwand-lovelace/deployment.yaml | |
| parent | Add lovelace credentials to blackbox secrets (diff) | |
Remove temporary testing deployment of pinnwand
Diffstat (limited to 'kubernetes/namespaces/web/pinnwand-lovelace/deployment.yaml')
| -rw-r--r-- | kubernetes/namespaces/web/pinnwand-lovelace/deployment.yaml | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/kubernetes/namespaces/web/pinnwand-lovelace/deployment.yaml b/kubernetes/namespaces/web/pinnwand-lovelace/deployment.yaml deleted file mode 100644 index 23bb420..0000000 --- a/kubernetes/namespaces/web/pinnwand-lovelace/deployment.yaml +++ /dev/null @@ -1,57 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: pinnwand-lovelace - namespace: web -spec: - replicas: 1 - selector: - matchLabels: - app: pinnwand-lovelace - template: - metadata: - labels: - app: pinnwand-lovelace - spec: - initContainers: - - name: init-service - image: busybox:latest - command: ["wget", "https://raw.githubusercontent.com/python-discord/branding/main/logos/badge/badge_512x172.png", "-O", "/tmp/logo.png"] - volumeMounts: - - name: pinnwand-lovelace-logo - mountPath: /tmp/ - containers: - - name: pinnwand-lovelace - image: ghcr.io/python-discord/pinnwand:latest-psql - command: ["venv/bin/python3", "-m", "pinnwand", "-vvvvvvvv", "--configuration-path", "/config/config.toml", "http"] - imagePullPolicy: Always - resources: - requests: - cpu: 5m - memory: 100Mi - limits: - cpu: 100m - memory: 200Mi - ports: - - containerPort: 8000 - envFrom: - - secretRef: - name: pinnwand-lovelace-postgres-connection - securityContext: - readOnlyRootFilesystem: true - volumeMounts: - - name: pinnwand-lovelace-config - mountPath: /config/ - - name: pinnwand-lovelace-logo - mountPath: /usr/app/pinnwand/static/logo.png - subPath: logo.png - volumes: - - name: pinnwand-lovelace-logo - emptyDir: {} - - name: pinnwand-lovelace-config - configMap: - name: pinnwand-lovelace-config - securityContext: - fsGroup: 2000 - runAsUser: 1000 - runAsNonRoot: true |