Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions components/octavia/octavia-mariadb-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,22 @@ spec:
retryInterval: 5s
---
apiVersion: k8s.mariadb.com/v1alpha1
kind: Database
metadata:
name: octavia-persistence
namespace: openstack
spec:
name: "octavia_persistence"
# If you want the database to be created with a different name than the resource name
# name: data-custom
mariaDbRef:
name: mariadb # name of the MariaDB kind
waitForIt: true
characterSet: utf8
collate: utf8_general_ci
retryInterval: 5s
---
apiVersion: k8s.mariadb.com/v1alpha1
kind: User
metadata:
name: octavia
Expand Down Expand Up @@ -50,3 +66,21 @@ spec:
grantOption: true
host: "%"
retryInterval: 5s
---
apiVersion: k8s.mariadb.com/v1alpha1
kind: Grant
metadata:
name: octavia-grant-persistence
namespace: openstack
spec:
mariaDbRef:
name: mariadb # name of the MariaDB kind
waitForIt: true
privileges:
- "ALL"
database: "octavia_persistence"
table: "*"
username: octavia
grantOption: true
host: "%"
retryInterval: 5s
2 changes: 2 additions & 0 deletions components/octavia/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ conf:
ovn:
ovn_nb_connection: tcp:ovn-ovsdb-nb.openstack.svc.cluster.local:6641
ovn_sb_connection: tcp:ovn-ovsdb-sb.openstack.svc.cluster.local:6642
task_flow:
jobboard_enabled: false

dependencies:
dynamic:
Expand Down
Loading