Skip to content

Commit f6fd02f

Browse files
authored
Merge pull request #1098 from rackerlabs/octavia-20250723-2
fix(octavia): Add new octavia_persistence database
2 parents a4a49b5 + 03adbe1 commit f6fd02f

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

components/octavia/octavia-mariadb-db.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,22 @@ spec:
1515
retryInterval: 5s
1616
---
1717
apiVersion: k8s.mariadb.com/v1alpha1
18+
kind: Database
19+
metadata:
20+
name: octavia-persistence
21+
namespace: openstack
22+
spec:
23+
name: "octavia_persistence"
24+
# If you want the database to be created with a different name than the resource name
25+
# name: data-custom
26+
mariaDbRef:
27+
name: mariadb # name of the MariaDB kind
28+
waitForIt: true
29+
characterSet: utf8
30+
collate: utf8_general_ci
31+
retryInterval: 5s
32+
---
33+
apiVersion: k8s.mariadb.com/v1alpha1
1834
kind: User
1935
metadata:
2036
name: octavia
@@ -50,3 +66,21 @@ spec:
5066
grantOption: true
5167
host: "%"
5268
retryInterval: 5s
69+
---
70+
apiVersion: k8s.mariadb.com/v1alpha1
71+
kind: Grant
72+
metadata:
73+
name: octavia-grant-persistence
74+
namespace: openstack
75+
spec:
76+
mariaDbRef:
77+
name: mariadb # name of the MariaDB kind
78+
waitForIt: true
79+
privileges:
80+
- "ALL"
81+
database: "octavia_persistence"
82+
table: "*"
83+
username: octavia
84+
grantOption: true
85+
host: "%"
86+
retryInterval: 5s

components/octavia/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ conf:
5050
ovn:
5151
ovn_nb_connection: tcp:ovn-ovsdb-nb.openstack.svc.cluster.local:6641
5252
ovn_sb_connection: tcp:ovn-ovsdb-sb.openstack.svc.cluster.local:6642
53+
task_flow:
54+
jobboard_enabled: false
5355

5456
dependencies:
5557
dynamic:

0 commit comments

Comments
 (0)