operator: Remove default value from replicationFactor field (#7711)

pull/7682/head^2
Gerard Vanloo 3 years ago committed by GitHub
parent 9eefae10fd
commit b147e6ccba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      operator/CHANGELOG.md
  2. 3
      operator/apis/loki/v1/lokistack_types.go
  3. 5
      operator/bundle/manifests/loki.grafana.com_lokistacks.yaml
  4. 5
      operator/config/crd/bases/loki.grafana.com_lokistacks.yaml

@ -1,5 +1,6 @@
## Main
- [7711](https://github.com/grafana/loki/pull/7711) **Red-GV**: Remove default value from replicationFactor field
- [7617](https://github.com/grafana/loki/pull/7617) **Red-GV**: Modify ingestionRate for respective shirt size
- [7592](https://github.com/grafana/loki/pull/7592) **aminesnow**: Update API docs generation using gen-crd-api-reference-docs
- [7448](https://github.com/grafana/loki/pull/7448) **periklis**: Add TLS support for compactor delete client

@ -707,9 +707,8 @@ type LokiStackSpec struct {
// +optional
// +kubebuilder:validation:Optional
// +kubebuilder:validation:Minimum:=1
// +kubebuilder:default:=1
// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:number",displayName="Replication Factor"
ReplicationFactor int32 `json:"replicationFactor"`
ReplicationFactor int32 `json:"replicationFactor,omitempty"`
// Rules defines the spec for the ruler component
//

@ -52,7 +52,7 @@ spec:
metadata:
type: object
spec:
description: LokiStackSpec defines the desired state of LokiStack
description: LokiStack CR spec field.
properties:
limits:
description: Limits defines the limits to be applied to log stream
@ -314,7 +314,6 @@ spec:
type: boolean
type: object
replicationFactor:
default: 1
description: ReplicationFactor defines the policy for log stream replication.
format: int32
minimum: 1
@ -1135,7 +1134,7 @@ spec:
- storageClassName
type: object
status:
description: LokiStackStatus defines the observed state of LokiStack
description: LokiStack CR spec Status.
properties:
components:
description: Components provides summary of all Loki pod status grouped

@ -35,7 +35,7 @@ spec:
metadata:
type: object
spec:
description: LokiStackSpec defines the desired state of LokiStack
description: LokiStack CR spec field.
properties:
limits:
description: Limits defines the limits to be applied to log stream
@ -297,7 +297,6 @@ spec:
type: boolean
type: object
replicationFactor:
default: 1
description: ReplicationFactor defines the policy for log stream replication.
format: int32
minimum: 1
@ -1118,7 +1117,7 @@ spec:
- storageClassName
type: object
status:
description: LokiStackStatus defines the observed state of LokiStack
description: LokiStack CR spec Status.
properties:
components:
description: Components provides summary of all Loki pod status grouped

Loading…
Cancel
Save