Commit 21e7c03a authored by Konstantinos Samaras-Tsakiris's avatar Konstantinos Samaras-Tsakiris
Browse files

Hotfix no omitempty required field

parent e91d3b41
Pipeline #2321467 failed with stages
in 3 minutes and 32 seconds
......@@ -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"`
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment