Skip to content

Commit

Permalink
fix: add missing DB labels in DB secrets, fixes RHOAIENG-12126 (opend…
Browse files Browse the repository at this point in the history
  • Loading branch information
dhirajsb authored and rareddy committed Oct 1, 2024
1 parent f357322 commit 1fe96da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/samples/mysql/mysql-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ items:
- apiVersion: v1
kind: Secret
metadata:
labels:
app.kubernetes.io/name: model-registry-db
app.kubernetes.io/instance: model-registry-db
app.kubernetes.io/part-of: model-registry-db
app.kubernetes.io/managed-by: kustomize
annotations:
template.openshift.io/expose-database_name: '{.data[''database-name'']}'
template.openshift.io/expose-password: '{.data[''database-password'']}'
Expand Down
5 changes: 5 additions & 0 deletions config/samples/postgres/postgres-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ items:
- apiVersion: v1
kind: Secret
metadata:
labels:
app.kubernetes.io/name: model-registry-db
app.kubernetes.io/instance: model-registry-db
app.kubernetes.io/part-of: model-registry-db
app.kubernetes.io/managed-by: kustomize
annotations:
template.openshift.io/expose-database_name: '{.data[''database-name'']}'
template.openshift.io/expose-password: '{.data[''database-password'']}'
Expand Down

0 comments on commit 1fe96da

Please sign in to comment.