Deploys Nextcloud with an FPM-alpine image and Caddy sidecar for web serving. Integrates an external CloudNativePG cluster for PostgreSQL database. Utilizes an external Valkey instance for caching. Configures S3-compatible object storage for file data. Includes an initialization job to create admin and Valkey secrets. Sets up Ingress for external access with TLS via cert-manager.
21 lines
477 B
YAML
21 lines
477 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
annotations:
|
|
a8r.io/repository: ssh://git@git.tr1ceracop.de:222/gitea_admin/k8s-and-chill.git
|
|
labels:
|
|
app.kubernetes.io/instance: nextcloud
|
|
app.kubernetes.io/name: valkey
|
|
name: nextcloud-valkey
|
|
namespace: nextcloud
|
|
spec:
|
|
ports:
|
|
- name: valkey
|
|
port: 6379
|
|
protocol: TCP
|
|
targetPort: valkey
|
|
selector:
|
|
app.kubernetes.io/instance: nextcloud
|
|
app.kubernetes.io/name: valkey
|
|
type: ClusterIP
|