UNCLASSIFIED

Commit f7a8eaba authored by Andre Neufville's avatar Andre Neufville
Browse files

Merge branch 'postgres-dir-fix' into 'main'

Resolve "postgres directory not accessible on rke2"

Closes #1

See merge request !11
parents cf2b8ff5 f2f5cd65
Pipeline #157809 passed with stages
in 3 minutes and 3 seconds
apiVersion: v1
name: anchore-engine
version: 1.9.5-bb.1
version: 1.9.5-bb.2
appVersion: 0.8.1
description: Anchore container analysis and policy evaluation engine service
keywords:
......
......@@ -52,13 +52,7 @@ postgresql:
resourcePolicy: nil
size: 20Gi
subPath: "pgdata"
mountPath: /var/lib/pgsql
# Set the PGDATA var to an allowed directory for the IB image
# Match this above for the mountPath and subPath
extraEnv:
- name: PGDATA
value: "/var/lib/pgsql/pgdata"
mountPath: /var/lib/postgresql
# Set the configs to allow listening and connecting from other pods
postgresConfig: {"listen_addresses": "*"}
......@@ -603,18 +597,13 @@ anchore-feeds-db:
# Set to the host and port. eg. mypostgres.myserver.io:5432
externalEndpoint: Null
# Configure size of the persitant volume used with helm managed chart.
# Configure size of the persistent volume used with helm managed chart.
# This should be commented out if using an external endpoint.
persistence:
resourcePolicy: nil
size: 20Gi
mountPath: /var/lib/pgsql
# Set the PGDATA var to an allowed directory for the IB image
# Match this above for the mountPath and subPath
extraEnv:
- name: PGDATA
value: "/var/lib/pgsql/pgdata"
subPath: "pgdata"
mountPath: /var/lib/postgresql
# Set the configs to allow listening and connecting from other pods
postgresConfig: {"listen_addresses": "*"}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment