-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for mariadb * Update ocp_utils dependency * Change TrustyAIService to use DB instead of PVC * Revert "Ensure observations are registered by Trusty when sending data (#29)" This reverts commit 75f58a3. * Reapply "Ensure observations are registered by Trusty when sending data (#29)" This reverts commit 8fc8c49. * Update poetry.lock * Set modelmesh tag to fast
- Loading branch information
Showing
7 changed files
with
341 additions
and
23 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
# TODO: Replace with wrapper resource | ||
kind: MariadbOperator | ||
apiVersion: helm.mariadb.mmontes.io/v1alpha1 | ||
metadata: | ||
name: mariadb-operator | ||
namespace: openshift-operators | ||
spec: | ||
affinity: {} | ||
certController: | ||
affinity: {} | ||
caValidity: 35064h | ||
certValidity: 8766h | ||
enabled: true | ||
extrArgs: [] | ||
extraVolumeMounts: [] | ||
extraVolumes: [] | ||
ha: | ||
enabled: false | ||
replicas: 3 | ||
image: | ||
pullPolicy: IfNotPresent | ||
repository: ghcr.io/mariadb-operator/mariadb-operator | ||
tag: '' | ||
imagePullSecrets: [] | ||
lookaheadValidity: 2160h | ||
nodeSelector: {} | ||
podAnnotations: {} | ||
podSecurityContext: {} | ||
requeueDuration: 5m | ||
resources: {} | ||
securityContext: {} | ||
serviceAccount: | ||
annotations: {} | ||
automount: true | ||
enabled: true | ||
extraLabels: {} | ||
name: '' | ||
serviceMonitor: | ||
additionalLabels: {} | ||
enabled: true | ||
interval: 30s | ||
scrapeTimeout: 25s | ||
tolerations: [] | ||
clusterName: cluster.local | ||
extrArgs: [] | ||
extraVolumeMounts: [] | ||
extraVolumes: [] | ||
fullnameOverride: '' | ||
ha: | ||
enabled: false | ||
replicas: 3 | ||
image: | ||
pullPolicy: IfNotPresent | ||
repository: ghcr.io/mariadb-operator/mariadb-operator | ||
tag: '' | ||
imagePullSecrets: [] | ||
logLevel: INFO | ||
metrics: | ||
enabled: false | ||
serviceMonitor: | ||
additionalLabels: {} | ||
enabled: true | ||
interval: 30s | ||
scrapeTimeout: 25s | ||
nameOverride: '' | ||
nodeSelector: {} | ||
podAnnotations: {} | ||
podSecurityContext: {} | ||
rbac: | ||
enabled: true | ||
resources: {} | ||
securityContext: {} | ||
serviceAccount: | ||
annotations: {} | ||
automount: true | ||
enabled: true | ||
extraLabels: {} | ||
name: '' | ||
tolerations: [] | ||
webhook: | ||
affinity: {} | ||
annotations: {} | ||
cert: | ||
caPath: /tmp/k8s-webhook-server/certificate-authority | ||
certManager: | ||
duration: '' | ||
enabled: false | ||
issuerRef: {} | ||
renewBefore: '' | ||
path: /tmp/k8s-webhook-server/serving-certs | ||
secretAnnotations: {} | ||
extrArgs: [] | ||
extraVolumeMounts: [] | ||
extraVolumes: [] | ||
ha: | ||
enabled: false | ||
replicas: 3 | ||
hostNetwork: false | ||
image: | ||
pullPolicy: IfNotPresent | ||
repository: ghcr.io/mariadb-operator/mariadb-operator | ||
tag: '' | ||
imagePullSecrets: [] | ||
nodeSelector: {} | ||
podAnnotations: {} | ||
podSecurityContext: {} | ||
port: 10250 | ||
resources: {} | ||
securityContext: {} | ||
serviceAccount: | ||
annotations: {} | ||
automount: true | ||
enabled: true | ||
extraLabels: {} | ||
name: '' | ||
serviceMonitor: | ||
additionalLabels: {} | ||
enabled: true | ||
interval: 30s | ||
scrapeTimeout: 25s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# TODO: Replace with wrapper resource | ||
kind: MariaDB | ||
apiVersion: k8s.mariadb.com/v1alpha1 | ||
metadata: | ||
name: mariadb | ||
namespace: test-namespace | ||
spec: | ||
connection: | ||
secretName: mariadb-conn | ||
secretTemplate: | ||
key: dsn | ||
database: trustyai_database | ||
galera: | ||
enabled: false | ||
metrics: | ||
enabled: false | ||
passwordSecretKeyRef: | ||
generate: true | ||
key: password | ||
name: mariadb-metrics | ||
myCnf: | | ||
[mariadb] | ||
bind-address=* | ||
default_storage_engine=InnoDB | ||
binlog_format=row | ||
innodb_autoinc_lock_mode=2 | ||
innodb_buffer_pool_size=1024M | ||
max_allowed_packet=256M | ||
passwordSecretKeyRef: | ||
generate: false | ||
key: databasePassword | ||
name: db-credentials | ||
primaryConnection: | ||
secretName: mariadb-conn-primary | ||
secretTemplate: | ||
key: dsn | ||
primaryService: | ||
type: ClusterIP | ||
replicas: 1 | ||
rootPasswordSecretKeyRef: | ||
generate: false | ||
key: databasePassword | ||
name: db-credentials | ||
secondaryConnection: | ||
secretName: mariadb-conn-secondary | ||
secretTemplate: | ||
key: dsn | ||
secondaryService: | ||
type: ClusterIP | ||
service: | ||
type: ClusterIP | ||
storage: | ||
size: 1Gi | ||
updateStrategy: | ||
type: ReplicasFirstPrimaryLast | ||
username: quarkus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.