Skip to content

Commit

Permalink
Small MySQLServer samples update (#1641)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthchr authored Jul 13, 2021
1 parent ad0d3e6 commit 4cf831f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1alpha2/mysqlserver_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type MySQLServerSpec struct {

// +kubebuilder:validation:MinLength=1
// AdminSecret is the name of a Kubernetes secret containing the username and password of the
// MySQLServer administrator account. When specified, the username and password fields of this
// MySQLServer administrator account. When specified, the `username` and `password` fields of this
// secret will be included in the generated secret associated with this MySQLServer.
// If AdminSecret is specified but a secret with the given name is not found in the same namespace
// as the MySQLServer, then reconciliation will block until the secret is created.
Expand Down
4 changes: 4 additions & 0 deletions config/samples/azure_v1alpha2_mysqlserver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ spec:
serverVersion: "8.0"
sslEnforcement: Enabled
createMode: Default # Possible values include: Default, Replica, PointInTimeRestore (not implemented), GeoRestore (not implemented)
# Optional admin secret name. If the admin secret is specified the `username` and `password` fields of the secret will be used to set
# the administrator username and password. If adminSecret is not provided, ASO will generate an administrator account
# and password.
# adminSecret: my-admin-secret
sku:
name: GP_Gen5_4 # tier + family + cores eg. - B_Gen4_1, GP_Gen5_4
tier: GeneralPurpose # possible values - 'Basic', 'GeneralPurpose', 'MemoryOptimized'
Expand Down

0 comments on commit 4cf831f

Please sign in to comment.