Skip to content

Commit

Permalink
feat: Updated sample secret following review (#4811)
Browse files Browse the repository at this point in the history
Updated sample secret following review

Signed-off-by: Theodor Mihalache <[email protected]>
  • Loading branch information
tmihalac authored Dec 4, 2024
1 parent 2c5a6b5 commit dc9f825
Showing 1 changed file with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
apiVersion: v1
kind: Secret
metadata:
name: postgres-secret
namespace: test
stringData:
postgres-secret-parameters: |
path: postgresql+psycopg://postgres:[email protected]:55001/feast
cache_ttl_seconds: 60
sqlalchemy_config_kwargs:
echo: false
pool_pre_ping: true
postgres: |
host: 127.0.0.1
port: 55001
database: feast
db_schema: public
user: postgres
password: mysecretpassword
---
apiVersion: feast.dev/v1alpha1
kind: FeatureStore
metadata:
Expand All @@ -12,31 +32,11 @@ spec:
type: postgres
secretRef:
name: postgres-secret
secretKeyName: postgres-secret-parameters # optional
registry:
local:
persistence:
store:
type: sql
secretRef:
name: postgres-secret
secretKeyName: postgres-secret-parameters # optional
---
apiVersion: v1
kind: Secret
metadata:
name: postgres-secret
stringData:
postgres-secret-parameters: |
path: postgresql+postgresql://postgres:[email protected]:55001/feast
cache_ttl_seconds: 60
sqlalchemy_config_kwargs:
echo: false
pool_pre_ping: true
postgres: |
host: 127.0.0.1
port: 55001
database: feast
db_schema: public
user: postgres
password: mysecretpassword
secretKeyName: postgres-secret-parameters # optional, will use store.type by default as the SecretKeyName if none is specified, in this case that's "sql"

0 comments on commit dc9f825

Please sign in to comment.