Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal
paas
drupalSite-operator
Commits
21e7c03a
Commit
21e7c03a
authored
Feb 16, 2021
by
Konstantinos Samaras-Tsakiris
Browse files
Hotfix no omitempty required field
parent
e91d3b41
Pipeline
#2321467
failed with stages
in 3 minutes and 32 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
api/v1alpha1/drupalsite_types.go
View file @
21e7c03a
...
...
@@ -68,7 +68,7 @@ type Environment struct {
// QoSClass specifies the website's performance and availability requirements
// +kubebuilder:validation:Enum:=critical;eco;standard
// +kubebuilder:validation:Required
QoSClass
`json:"qosClass
,omitempty
"`
QoSClass
`json:"qosClass"`
// DBODClass requests a specific kind of DBOD resources for the website. If omitted, it is derived from QoSClass.
// +optional
DBODClass
`json:"dbodClass,omitempty"`
...
...
config/crd/bases/drupal.webservices.cern.ch_drupalsites.yaml
View file @
21e7c03a
...
...
@@ -84,6 +84,7 @@ spec:
type
:
string
required
:
-
name
-
qosClass
type
:
object
publish
:
description
:
Publish defines if the site has to be published or not
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment