generated from onedr0p/cluster-template
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create immich.yaml #352
Merged
Create immich.yaml #352
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- kubernetes/apps Kustomization: flux-system/cluster-apps Kustomization: flux-system/cups-server
+++ kubernetes/apps Kustomization: flux-system/cluster-apps Kustomization: flux-system/cups-server
@@ -32,11 +32,11 @@
name: cluster-user-secrets
optional: true
prune: true
retryInterval: 1m
sourceRef:
kind: GitRepository
- name: home-kubernetes
+ name: home-ops
targetNamespace: office
timeout: 5m
wait: false
--- kubernetes/apps Kustomization: flux-system/cluster-apps Kustomization: flux-system/immich
+++ kubernetes/apps Kustomization: flux-system/cluster-apps Kustomization: flux-system/immich
@@ -0,0 +1,43 @@
+---
+apiVersion: kustomize.toolkit.fluxcd.io/v1
+kind: Kustomization
+metadata:
+ labels:
+ kustomize.toolkit.fluxcd.io/name: cluster-apps
+ kustomize.toolkit.fluxcd.io/namespace: flux-system
+ substitution.flux.home.arpa/enabled: 'true'
+ name: immich
+ namespace: flux-system
+spec:
+ commonMetadata:
+ labels:
+ app.kubernetes.io/name: immich
+ decryption:
+ provider: sops
+ secretRef:
+ name: sops-age
+ dependsOn:
+ - name: postgres-cluster
+ - name: dragonfly-cluster
+ - name: external-secrets-stores
+ interval: 60m
+ path: ./kubernetes/apps/office/immich/app
+ postBuild:
+ substituteFrom:
+ - kind: ConfigMap
+ name: cluster-settings
+ - kind: Secret
+ name: cluster-secrets
+ - kind: ConfigMap
+ name: cluster-user-settings
+ optional: true
+ - kind: Secret
+ name: cluster-user-secrets
+ optional: true
+ prune: true
+ sourceRef:
+ kind: GitRepository
+ name: home-ops
+ targetNamespace: office
+ wait: true
+
--- kubernetes/apps/office/cups-server/app Kustomization: flux-system/cups-server HelmRelease: office/cups
+++ kubernetes/apps/office/cups-server/app Kustomization: flux-system/cups-server HelmRelease: office/cups
@@ -1,82 +0,0 @@
----
-apiVersion: helm.toolkit.fluxcd.io/v2
-kind: HelmRelease
-metadata:
- labels:
- app.kubernetes.io/name: cups-server
- kustomize.toolkit.fluxcd.io/name: cups-server
- kustomize.toolkit.fluxcd.io/namespace: flux-system
- name: cups
- namespace: office
-spec:
- chart:
- spec:
- chart: app-template
- interval: 15m
- sourceRef:
- kind: HelmRepository
- name: bjw-s
- namespace: flux-system
- version: 1.5.1
- install:
- createNamespace: true
- remediation:
- retries: 3
- interval: 15m
- maxHistory: 2
- uninstall:
- keepHistory: false
- upgrade:
- cleanupOnFail: true
- remediation:
- retries: 3
- values:
- env:
- TZ: Europe/Berlin
- image:
- repository: docker.io/olbat/cupsd
- tag: stable-2024-08-09@sha256:da6bcbac3990df8376bfacebddaca22d6ba49962d829dbb787a3e25c26aaa5e8
- ingress:
- main:
- annotations:
- hajimari.io/enable: 'true'
- hajimari.io/icon: print
- enabled: true
- hosts:
- - host: print...PLACEHOLDER..
- paths:
- - path: /
- pathType: Prefix
- ingressClassName: internal
- tls:
- - hosts:
- - print...PLACEHOLDER..
- persistence:
- config:
- enabled: true
- mountPath: /etc/cups/cupsd.conf
- name: cupsd-conf
- readOnly: true
- subPath: cupsd.conf
- type: configMap
- dbus:
- enabled: true
- hostPath: /var/run/dbus
- mountPath: /var/run/dbus
- type: hostPath
- podAnnotations:
- secret.reloader.stakater.com/reload: cups
- service:
- main:
- annotations:
- io.cilium/lb-ipam-ips: 192.168.2.110
- externalTrafficPolicy: Cluster
- ports:
- http:
- port: 631
- udp:
- enabled: true
- port: 631
- protocol: UDP
- type: LoadBalancer
- |
volschin
force-pushed
the
immich
branch
3 times, most recently
from
August 17, 2024 11:10
b4583d0
to
5ad8b63
Compare
… kubernetes/apps/office/immich/app/kustomization.yaml
--- HelmRelease: office/cups Service: office/cups
+++ HelmRelease: office/cups Service: office/cups
@@ -1,28 +0,0 @@
----
-apiVersion: v1
-kind: Service
-metadata:
- name: cups
- labels:
- app.kubernetes.io/service: cups
- app.kubernetes.io/instance: cups
- app.kubernetes.io/managed-by: Helm
- app.kubernetes.io/name: cups
- annotations:
- io.cilium/lb-ipam-ips: 192.168.2.110
-spec:
- type: LoadBalancer
- externalTrafficPolicy: Cluster
- ports:
- - port: 631
- targetPort: http
- protocol: TCP
- name: http
- - port: 631
- targetPort: udp
- protocol: UDP
- name: udp
- selector:
- app.kubernetes.io/instance: cups
- app.kubernetes.io/name: cups
-
--- HelmRelease: office/cups Deployment: office/cups
+++ HelmRelease: office/cups Deployment: office/cups
@@ -1,80 +0,0 @@
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: cups
- labels:
- app.kubernetes.io/instance: cups
- app.kubernetes.io/managed-by: Helm
- app.kubernetes.io/name: cups
-spec:
- revisionHistoryLimit: 3
- replicas: 1
- strategy:
- type: Recreate
- selector:
- matchLabels:
- app.kubernetes.io/name: cups
- app.kubernetes.io/instance: cups
- template:
- metadata:
- annotations:
- secret.reloader.stakater.com/reload: cups
- labels:
- app.kubernetes.io/name: cups
- app.kubernetes.io/instance: cups
- spec:
- serviceAccountName: default
- automountServiceAccountToken: true
- dnsPolicy: ClusterFirst
- enableServiceLinks: true
- containers:
- - name: cups
- image: docker.io/olbat/cupsd:stable-2024-08-09@sha256:da6bcbac3990df8376bfacebddaca22d6ba49962d829dbb787a3e25c26aaa5e8
- imagePullPolicy: null
- env:
- - name: TZ
- value: Europe/Berlin
- ports:
- - name: http
- containerPort: 631
- protocol: TCP
- - name: udp
- containerPort: 631
- protocol: UDP
- volumeMounts:
- - name: config
- mountPath: /etc/cups/cupsd.conf
- subPath: cupsd.conf
- readOnly: true
- - name: dbus
- mountPath: /var/run/dbus
- livenessProbe:
- failureThreshold: 3
- initialDelaySeconds: 0
- periodSeconds: 10
- tcpSocket:
- port: 631
- timeoutSeconds: 1
- readinessProbe:
- failureThreshold: 3
- initialDelaySeconds: 0
- periodSeconds: 10
- tcpSocket:
- port: 631
- timeoutSeconds: 1
- startupProbe:
- failureThreshold: 30
- initialDelaySeconds: 0
- periodSeconds: 5
- tcpSocket:
- port: 631
- timeoutSeconds: 1
- volumes:
- - name: config
- configMap:
- name: cupsd-conf
- - name: dbus
- hostPath:
- path: /var/run/dbus
-
--- HelmRelease: office/cups Ingress: office/cups
+++ HelmRelease: office/cups Ingress: office/cups
@@ -1,29 +0,0 @@
----
-apiVersion: networking.k8s.io/v1
-kind: Ingress
-metadata:
- name: cups
- labels:
- app.kubernetes.io/instance: cups
- app.kubernetes.io/managed-by: Helm
- app.kubernetes.io/name: cups
- annotations:
- hajimari.io/enable: 'true'
- hajimari.io/icon: print
-spec:
- ingressClassName: internal
- tls:
- - hosts:
- - print...PLACEHOLDER..
- rules:
- - host: print...PLACEHOLDER..
- http:
- paths:
- - path: /
- pathType: Prefix
- backend:
- service:
- name: cups
- port:
- number: 631
- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.