70 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			YAML
		
	
	
	
			
		
		
	
	
			70 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			YAML
		
	
	
	
# Default values for postgres-operator-ui.
 | 
						|
# This is a YAML-formatted file.
 | 
						|
# Declare variables to be passed into your templates.
 | 
						|
 | 
						|
replicaCount: 1
 | 
						|
 | 
						|
# configure ui image
 | 
						|
image:
 | 
						|
  registry: registry.opensource.zalan.do
 | 
						|
  repository: acid/postgres-operator-ui
 | 
						|
  tag: v1.6.0
 | 
						|
  pullPolicy: "IfNotPresent"
 | 
						|
 | 
						|
# Optionally specify an array of imagePullSecrets.
 | 
						|
# Secrets must be manually created in the namespace.
 | 
						|
# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
 | 
						|
# imagePullSecrets:
 | 
						|
#   - name: 
 | 
						|
 | 
						|
rbac:
 | 
						|
  # Specifies whether RBAC resources should be created
 | 
						|
  create: true
 | 
						|
 | 
						|
serviceAccount:
 | 
						|
  # Specifies whether a ServiceAccount should be created
 | 
						|
  create: true
 | 
						|
  # The name of the ServiceAccount to use.
 | 
						|
  # If not set and create is true, a name is generated using the fullname template
 | 
						|
  name:
 | 
						|
 | 
						|
# configure UI pod resources
 | 
						|
resources:
 | 
						|
  limits:
 | 
						|
    cpu: 200m
 | 
						|
    memory: 200Mi
 | 
						|
  requests:
 | 
						|
    cpu: 100m
 | 
						|
    memory: 100Mi
 | 
						|
 | 
						|
# configure UI ENVs
 | 
						|
envs:
 | 
						|
  # IMPORTANT: While operator chart and UI chart are idendependent, this is the interface between
 | 
						|
  # UI and operator API. Insert the service name of the operator API here!
 | 
						|
  operatorApiUrl: "http://postgres-operator:8080"
 | 
						|
  operatorClusterNameLabel: "cluster-name"
 | 
						|
  resourcesVisible: "False"
 | 
						|
  targetNamespace: "default"
 | 
						|
 | 
						|
# configure UI service
 | 
						|
service:
 | 
						|
  type: "ClusterIP"
 | 
						|
  port: "80"
 | 
						|
  # If the type of the service is NodePort a port can be specified using the nodePort field
 | 
						|
  # If the nodePort field is not specified, or if it has no value, then a random port is used
 | 
						|
  # nodePort: 32521
 | 
						|
 | 
						|
# configure UI ingress. If needed: "enabled: true"
 | 
						|
ingress:
 | 
						|
  enabled: false
 | 
						|
  annotations: {}
 | 
						|
    # kubernetes.io/ingress.class: nginx
 | 
						|
    # kubernetes.io/tls-acme: "true"
 | 
						|
  hosts:
 | 
						|
    - host: ui.example.org
 | 
						|
      paths: [""]
 | 
						|
  tls: []
 | 
						|
  #  - secretName: ui-tls
 | 
						|
  #    hosts:
 | 
						|
  #      - ui.exmaple.org
 |