From bbc369afb40e32a7c9b37998fda719f1506c7eb0 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Thu, 1 Apr 2021 15:27:28 +0100 Subject: [PATCH] Removed photoprism --- manifests/photoprism_chart.yaml | 163 -------------------------------- 1 file changed, 163 deletions(-) delete mode 100644 manifests/photoprism_chart.yaml diff --git a/manifests/photoprism_chart.yaml b/manifests/photoprism_chart.yaml deleted file mode 100644 index b0d6325..0000000 --- a/manifests/photoprism_chart.yaml +++ /dev/null @@ -1,163 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - name: photoprism ---- - -kind: PersistentVolumeClaim -apiVersion: v1 -metadata: - name: photoprism-storage - namespace: photoprism -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 20Gi - ---- - -apiVersion: helm.fluxcd.io/v1 -kind: HelmRelease -metadata: - name: photoprism - namespace: photoprism -spec: - chart: - repository: https://p80n.github.io/photoprism-helm/ - name: photoprism - version: 1.0.0 - maxHistory: 5 - values: - image: - tag: "20200729" - config: - PHOTOPRISM_DEBUG: false - PHOTOPRISM_PUBLIC: true - PHOTOPRISM_READONLY: true - PHOTOPRISM_SITE_URL: https://photos.cluster.fun - PHOTOPRISM_SITE_TITLE: Photos - PHOTOPRISM_SITE_CAPTION: "" - persistence: - enabled: true - cachePath: /data/cache - originalsPath: /data/originals - storagePath: /data/storage - volumeMounts: - - name: storage - mountPath: /data - volumes: - - name: storage - persistentVolumeClaim: - claimName: photoprism-storage - resources: - requests: - memory: 500Mi - ---- - -apiVersion: apps/v1 -kind: Deployment -metadata: - name: photoprism-auth - namespace: photoprism - labels: - app: photoprism-auth -spec: - replicas: 1 - selector: - matchLabels: - app: photoprism-auth - template: - metadata: - labels: - app: photoprism-auth - spec: - containers: - - args: - - --cookie-secure=false - - --provider=oidc - - --provider-display-name=Auth0 - - --upstream=http://photoprism-photoprism.photoprism.svc.cluster.local - - --http-address=$(HOST_IP):8080 - - --redirect-url=https://photos.cluster.fun/oauth2/callback - - --email-domain=marcusnoble.co.uk - - --pass-basic-auth=false - - --pass-access-token=false - - --oidc-issuer-url=https://marcusnoble.eu.auth0.com/ - - --cookie-secret=KDGD6rrK6cBmryyZ4wcJ9xAUNW9AQN - env: - - name: HOST_IP - valueFrom: - fieldRef: - apiVersion: v1 - fieldPath: status.podIP - - name: OAUTH2_PROXY_CLIENT_ID - valueFrom: - secretKeyRef: - key: username - name: photoprism-auth - - name: OAUTH2_PROXY_CLIENT_SECRET - valueFrom: - secretKeyRef: - key: password - name: photoprism-auth - image: quay.io/oauth2-proxy/oauth2-proxy:v5.1.1 - name: oauth-proxy - ports: - - containerPort: 8080 - protocol: TCP ---- -apiVersion: v1 -kind: Secret -metadata: - name: photoprism-auth - namespace: photoprism - annotations: - kube-1password: mr6spkkx7n3memkbute6ojaarm - kube-1password/vault: Kubernetes -type: Opaque ---- -apiVersion: v1 -kind: Service -metadata: - name: photoprism-auth - namespace: photoprism - labels: - app: photoprism-auth -spec: - ports: - - name: http - port: 80 - protocol: TCP - targetPort: 8080 - selector: - app: photoprism-auth - type: ClusterIP ---- -apiVersion: extensions/v1beta1 -kind: Ingress -metadata: - name: photoprism-auth - namespace: photoprism - labels: - app: photoprism-auth - annotations: - cert-manager.io/cluster-issuer: letsencrypt - traefik.ingress.kubernetes.io/frontend-entry-points: http,https - traefik.ingress.kubernetes.io/redirect-entry-point: https - traefik.ingress.kubernetes.io/redirect-permanent: "true" -spec: - tls: - - hosts: - - photos.cluster.fun - secretName: photoprism-ingress - rules: - - host: photos.cluster.fun - http: - paths: - - path: / - backend: - serviceName: photoprism-auth - servicePort: 80