55 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
cops:
 | 
						|
  controllers:
 | 
						|
    main:
 | 
						|
      type: deployment
 | 
						|
      replicas: 1
 | 
						|
      strategy: Recreate
 | 
						|
      revisionHistoryLimit: 3
 | 
						|
      containers:
 | 
						|
        main:
 | 
						|
          image:
 | 
						|
            repository: ghcr.io/linuxserver/cops
 | 
						|
            tag: 2.7.3@sha256:851287267de1a243cff00f03c1df2353f38041c2ea12fe43307f80c06f9b227d
 | 
						|
            pullPolicy: IfNotPresent
 | 
						|
          env:
 | 
						|
            - name: PGID
 | 
						|
              value: "1000"
 | 
						|
            - name: PUID
 | 
						|
              value: "1000"
 | 
						|
            - name: TZ
 | 
						|
              value: US/Central
 | 
						|
          resources:
 | 
						|
            requests:
 | 
						|
              cpu: 100m
 | 
						|
              memory: 128Mi
 | 
						|
  serviceAccount:
 | 
						|
    create: true
 | 
						|
  service:
 | 
						|
    main:
 | 
						|
      controller: main
 | 
						|
      ports:
 | 
						|
        http:
 | 
						|
          port: 80
 | 
						|
          targetPort: 80
 | 
						|
          protocol: HTTP
 | 
						|
  persistence:
 | 
						|
    config:
 | 
						|
      storageClass: ceph-block
 | 
						|
      accessMode: ReadWriteOnce
 | 
						|
      size: 5Gi
 | 
						|
      retain: true
 | 
						|
      advancedMounts:
 | 
						|
        main:
 | 
						|
          main:
 | 
						|
            - path: /config
 | 
						|
              readOnly: false
 | 
						|
    books:
 | 
						|
      existingClaim: cops-nfs-storage
 | 
						|
      advancedMounts:
 | 
						|
        main:
 | 
						|
          main:
 | 
						|
            - path: /books
 | 
						|
              readOnly: true
 | 
						|
cloudflared:
 | 
						|
  existingSecretName: cops-cloudflared-secret
 |