Skip to content

Commit

Permalink
Helm changes for ndb-operator v0.0.6 release (#113)
Browse files Browse the repository at this point in the history
* testing creating helm chart

* update charts for release

* fix image details

* change readme

* remove tag

* modify changelog

* address review
  • Loading branch information
shenoypritika authored Jul 28, 2023
1 parent 823d390 commit 64b7e88
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 15 deletions.
10 changes: 5 additions & 5 deletions charts/ndb-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: ndb-operator
description: A Helm chart for Nutanix Database Kubernetes Operator
type: application
version: 0.0.5
appVersion: "v0.0.5"
version: 0.0.6
appVersion: "v0.0.6"
maintainers:
- name: akshmish
email: [email protected]
Expand All @@ -21,9 +21,9 @@ icon: https://www.nutanix.com/content/dam/nutanix/global/icons/products/svg/Nuta
annotations:
artifacthub.io/changes: |
- kind: added
description: "MSSQL Provisioning"
- kind: added
description: "Ability to provide profile information"
description: "Ability to provide Time Machine / SLA information"
- kind: fixed
description: "Error handling and minor bug fixes"
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/license: Apache-2.0
artifacthub.io/maintainers: |
Expand Down
4 changes: 2 additions & 2 deletions charts/ndb-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ spec:
compute:
id: ""
name: ""
# A Software profile is a mandatory input for closed-source engines: MSSQL & Oracle
# A Software profile is a mandatory input for closed-source engines: MSSQL
software:
name: ""
id: ""
Expand Down Expand Up @@ -129,7 +129,7 @@ The following table lists the configurable parameters of the NDB operator chart
| `replicaCount` | Number of replicas of the NDB Operator controller pods | `1` |
| `image.repository` | Image for NDB Operator controller | `ghcr.io/nutanix-cloud-native/ndb-operator/controller` |
| `image.pullPolicy` | Image pullPolicy | `IfNotPresent` |
| `image.tag` | Image tag | `v0.0.5, defaults to Chart.appVersion if removed` |
| `image.tag` | Image tag | `""` |
| `imagePullSecrets` | ImagePullSecrets list | `[]` |
| `nameOverride` | To override the name of the operator chart | `""` |
| `fullnameOverride` | To override the full name of the operator chart | `""` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ spec:
type: string
databaseNames:
default:
- alpha
- beta
- database_one
- database_two
- database_three
description: Name of the database to be provisiond in the database
instance
items:
Expand All @@ -77,28 +78,35 @@ spec:
properties:
id:
type: string
versionId:
name:
type: string
type: object
dbParam:
properties:
id:
type: string
versionId:
name:
type: string
type: object
dbParamInstance:
properties:
id:
type: string
name:
type: string
type: object
network:
properties:
id:
type: string
versionId:
name:
type: string
type: object
software:
properties:
id:
type: string
versionId:
name:
type: string
type: object
type: object
Expand All @@ -107,6 +115,69 @@ spec:
description: Size of the database instance
minimum: 10
type: integer
timeMachine:
default: {}
description: Information related to time machine that is to be
associated with this database
properties:
dailySnapshotTime:
default: "04:05:06"
description: Daily snapshot time in HH:MM:SS (24 hour format)
format: ^(2[0-3]|[01][0-9]):[0-5][0-9]:[0-5][0-9]$
type: string
description:
type: string
logCatchUpFrequency:
default: 30
description: Log catch up frequency in minutes
enum:
- 15
- 30
- 60
- 90
- 120
type: integer
monthlySnapshotDay:
default: 15
description: Day of the month for monthly snapshot
maximum: 28
minimum: 1
type: integer
name:
type: string
quarterlySnapshotMonth:
default: Jan
description: Start month for the quarterly snapshot Jan =>
Jan, Apr, Jul, Oct. Feb => Feb, May, Aug, Nov. Mar => Mar,
Jun, Sep, Dec.
enum:
- Jan
- Feb
- Mar
type: string
sla:
default: NONE
description: Name of the SLA to be used
type: string
snapshotsPerDay:
default: 1
description: Number of snapshots per day
maximum: 6
minimum: 1
type: integer
weeklySnapshotDay:
default: FRIDAY
description: Day of the week for weekly snapshot
enum:
- MONDAY
- TUESDAY
- WEDNESDAY
- THURSDAY
- FRIDAY
- SATURDAY
- SUNDAY
type: string
type: object
timezone:
default: UTC
type: string
Expand All @@ -116,6 +187,7 @@ spec:
- mysql
- postgres
- mongodb
- mssql
type: string
required:
- credentialSecret
Expand Down Expand Up @@ -158,14 +230,17 @@ spec:
type: string
status:
type: string
type:
type: string
required:
- dbServerId
- id
- ipAddress
- status
- type
type: object
type: object
served: true
storage: true
subresources:
status: {}
status: {}
2 changes: 1 addition & 1 deletion charts/ndb-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ image:
repository: ghcr.io/nutanix-cloud-native/ndb-operator/controller
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v0.0.5"
tag: ""

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 64b7e88

Please sign in to comment.