38 lines
		
	
	
		
			798 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			798 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
apiVersion: apps/v1
 | 
						|
kind: Deployment
 | 
						|
metadata:
 | 
						|
  name: actualbudget
 | 
						|
  labels:
 | 
						|
    app: actualbudget
 | 
						|
spec:
 | 
						|
  selector:
 | 
						|
    matchLabels:
 | 
						|
      app: actualbudget
 | 
						|
  replicas: 1
 | 
						|
  template:
 | 
						|
    metadata:
 | 
						|
      labels:
 | 
						|
        app: actualbudget
 | 
						|
    spec:
 | 
						|
      containers:
 | 
						|
        - name: actualbudget
 | 
						|
          image: actualbudget
 | 
						|
          imagePullPolicy: Always
 | 
						|
          env:
 | 
						|
            - name: TZ
 | 
						|
              value: Europe/Berlin
 | 
						|
          envFrom:
 | 
						|
            - secretRef:
 | 
						|
                name: actualbudget-oidc
 | 
						|
          volumeMounts:
 | 
						|
            - name: data
 | 
						|
              mountPath: /data
 | 
						|
          ports:
 | 
						|
            - containerPort: 5006
 | 
						|
              name: http
 | 
						|
              protocol: TCP
 | 
						|
      volumes:
 | 
						|
        - name: data
 | 
						|
          persistentVolumeClaim:
 | 
						|
            claimName: data
 |