Skip to content

Commit

Permalink
Merge pull request #431 from fmount/no_debug
Browse files Browse the repository at this point in the history
Do not expose debug section anymore
  • Loading branch information
openshift-merge-bot[bot] authored Feb 2, 2024
2 parents 961f905 + 7e76ada commit 007aeec
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 394 deletions.
6 changes: 0 additions & 6 deletions api/bases/glance.openstack.org_glanceapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ spec:
databaseUser:
default: glance
type: string
debug:
properties:
service:
default: false
type: boolean
type: object
extraMounts:
items:
properties:
Expand Down
9 changes: 0 additions & 9 deletions api/bases/glance.openstack.org_glances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ spec:
cronJob:
default: false
type: boolean
dbSync:
default: false
type: boolean
type: object
extraMounts:
items:
Expand Down Expand Up @@ -825,12 +822,6 @@ spec:
items:
type: string
type: array
debug:
properties:
service:
default: false
type: boolean
type: object
networkAttachments:
items:
type: string
Expand Down
5 changes: 0 additions & 5 deletions api/v1beta1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,6 @@ type GlanceAPITemplate struct {
// NodeSelector to target subset of worker nodes running this service
NodeSelector map[string]string `json:"nodeSelector,omitempty"`

// +kubebuilder:validation:Optional
// Debug - enable debug for different deploy stages. If an init container is used, it runs and the
// actual action pod gets started with sleep infinity
Debug GlanceAPIDebug `json:"debug,omitempty"`

// +kubebuilder:validation:Optional
// Pvc - Storage claim for file-backed Glance
Pvc string `json:"pvc,omitempty"`
Expand Down
4 changes: 0 additions & 4 deletions api/v1beta1/glance_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,6 @@ type PasswordSelector struct {

// GlanceDebug defines the observed state of GlanceAPIDebug
type GlanceDebug struct {
// +kubebuilder:validation:Optional
// +kubebuilder:default=false
// DBSync enable debug
DBSync bool `json:"dbSync"`
// +kubebuilder:validation:Optional
// +kubebuilder:default=false
// CronJob enable debug
Expand Down
8 changes: 0 additions & 8 deletions api/v1beta1/glanceapi_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,6 @@ type GlanceAPISpec struct {
ImageCacheSize string `json:"imageCacheSize"`
}

// GlanceAPIDebug defines the observed state of GlanceAPIDebug
type GlanceAPIDebug struct {
// +kubebuilder:validation:Optional
// +kubebuilder:default=false
// Service enable debug
Service bool `json:"service"`
}

// GlanceAPIStatus defines the observed state of GlanceAPI
type GlanceAPIStatus struct {
// ReadyCount of glance API instances
Expand Down
16 changes: 0 additions & 16 deletions api/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions config/crd/bases/glance.openstack.org_glanceapis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ spec:
databaseUser:
default: glance
type: string
debug:
properties:
service:
default: false
type: boolean
type: object
extraMounts:
items:
properties:
Expand Down
9 changes: 0 additions & 9 deletions config/crd/bases/glance.openstack.org_glances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ spec:
cronJob:
default: false
type: boolean
dbSync:
default: false
type: boolean
type: object
extraMounts:
items:
Expand Down Expand Up @@ -825,12 +822,6 @@ spec:
items:
type: string
type: array
debug:
properties:
service:
default: false
type: boolean
type: object
networkAttachments:
items:
type: string
Expand Down
Loading

0 comments on commit 007aeec

Please sign in to comment.