operator: Update example configurations to use demo size (#10606)

pull/10238/head
Robert Jacob 3 years ago committed by GitHub
parent 5415b11468
commit 835d0452d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      operator/apis/loki/v1beta1/lokistack_types.go
  2. 2
      operator/docs/enhancements/retention_support.md
  3. 2
      operator/docs/operator/api.md
  4. 2
      operator/hack/lokistack_dev.yaml
  5. 2
      operator/hack/lokistack_gateway_dev.yaml
  6. 4
      operator/hack/lokistack_gateway_ocp.yaml
  7. 2
      operator/internal/external/k8s/client.go
  8. 2
      operator/internal/manifests/rules_config.go
  9. 2
      operator/internal/validation/lokistack.go

@ -651,7 +651,7 @@ const (
// ConditionReady defines the condition that all components in the Loki deployment are ready.
ConditionReady LokiStackConditionType = "Ready"
// ConditionPending defines the conditioin that some or all components are in pending state.
// ConditionPending defines the condition that some or all components are in pending state.
ConditionPending LokiStackConditionType = "Pending"
// ConditionFailed defines the condition that components in the Loki deployment failed to roll out.

@ -142,7 +142,7 @@ spec:
secret:
name: test
type: s3
storageClassName: gp2
storageClassName: gp3-csi
retention:
deleteDelay:
limits:

@ -5649,7 +5649,7 @@ are degraded or the cluster cannot connect to object storage.</p>
<td><p>ConditionFailed defines the condition that components in the Loki deployment failed to roll out.</p>
</td>
</tr><tr><td><p>&#34;Pending&#34;</p></td>
<td><p>ConditionPending defines the conditioin that some or all components are in pending state.</p>
<td><p>ConditionPending defines the condition that some or all components are in pending state.</p>
</td>
</tr><tr><td><p>&#34;Ready&#34;</p></td>
<td><p>ConditionReady defines the condition that all components in the Loki deployment are ready.</p>

@ -3,7 +3,7 @@ kind: LokiStack
metadata:
name: lokistack-dev
spec:
size: 1x.extra-small
size: 1x.demo
storage:
schemas:
- version: v12

@ -11,7 +11,7 @@ kind: LokiStack
metadata:
name: lokistack-dev
spec:
size: 1x.extra-small
size: 1x.demo
storage:
schemas:
- version: v12

@ -4,7 +4,7 @@ metadata:
name: lokistack-dev
namespace: openshift-logging
spec:
size: 1x.extra-small
size: 1x.demo
storage:
schemas:
- version: v12
@ -12,7 +12,7 @@ spec:
secret:
name: test
type: s3
storageClassName: gp2
storageClassName: gp3-csi
tenants:
mode: openshift-logging
rules:

@ -41,7 +41,7 @@ type StatusWriter interface {
Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.SubResourcePatchOption) error
}
// StatusWriter is a kubernetes status writer interface used internally. It copies functions from
// SubResourceClient is a kubernetes status writer interface used internally. It copies functions from
// sigs.k8s.io/controller-runtime/pkg/client
//
//counterfeiter:generate . SubResourceClient

@ -17,7 +17,7 @@ type RuleName struct {
filename string
}
// RulesConfigMap returns a ConfigMap resource that contains
// RulesConfigMapShards returns a ConfigMap resource that contains
// all loki alerting and recording rules as YAML data.
// If the size of the data is more than 1MB, the ConfigMap will
// be split into multiple shards, and this function will return

@ -88,7 +88,7 @@ func (v *LokiStackValidator) validate(ctx context.Context, obj runtime.Object) e
)
}
func (v LokiStackValidator) validateReplicationSpec(ctx context.Context, stack lokiv1.LokiStackSpec) field.ErrorList {
func (v *LokiStackValidator) validateReplicationSpec(ctx context.Context, stack lokiv1.LokiStackSpec) field.ErrorList {
if stack.Replication == nil {
return nil
}

Loading…
Cancel
Save