Skip to content

Commit 353a68f

Browse files
committed
Add documemntatioon direct into the CRD
Signed-off-by: Ruben Vargas <[email protected]>
1 parent 88ea2e2 commit 353a68f

10 files changed

+41
-14
lines changed

.chloggen/ingest_tls_openshift.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ issues: [963]
1414
# These lines will be padded with 2 spaces and then inserted directly into the document.
1515
# Use pipe (|) for multiline entries.
1616
subtext: |
17-
On OpenShift when operator config `DistributorServingCertsService` is enabled and the following TempoStack CR is used.
17+
On OpenShift when operator config `servingCertsService` is enabled and the following TempoStack CR is used.
1818
The operator provisions OpenShift serving certificates for the distributor ingest APIs
1919
```
2020
apiVersion: tempo.grafana.com/v1alpha1

apis/tempo/v1alpha1/tempostack_types.go

+3
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,9 @@ type TempoDistributorSpec struct {
493493
//
494494
// +optional
495495
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="TLS"
496+
//
497+
// If openshift feature flag `servingCertsService` is enabled and TLS is enabled but no
498+
// certName or caName is specified, OpenShift service serving certificates will be used.
496499
TLS TLSSpec `json:"tls,omitempty"`
497500
}
498501

bundle/community/manifests/tempo-operator.clusterserviceversion.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ metadata:
7474
capabilities: Deep Insights
7575
categories: Logging & Tracing,Monitoring
7676
containerImage: ghcr.io/grafana/tempo-operator/tempo-operator:v0.11.1
77-
createdAt: "2024-07-08T10:12:34Z"
77+
createdAt: "2024-07-09T01:46:53Z"
7878
description: Create and manage deployments of Tempo, a high-scale distributed
7979
tracing backend.
8080
operatorframework.io/cluster-monitoring: "true"
@@ -850,7 +850,10 @@ spec:
850850
the calculated resources derived from total
851851
displayName: Resources
852852
path: template.distributor.resources
853-
- description: TLS defines TLS configuration for distributor receivers
853+
- description: "TLS defines TLS configuration for distributor receivers \n If
854+
openshift feature flag `servingCertsService` is enabled and TLS is enabled
855+
but no certName or caName is specified, OpenShift service serving certificates
856+
will be used."
854857
displayName: TLS
855858
path: template.distributor.tls
856859
- description: CA is the name of a ConfigMap containing a CA certificate (service-ca.crt).

bundle/community/manifests/tempo.grafana.com_tempostacks.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -710,8 +710,12 @@ spec:
710710
x-kubernetes-list-type: atomic
711711
type: object
712712
tls:
713-
description: TLS defines TLS configuration for distributor
714-
receivers
713+
description: |-
714+
TLS defines TLS configuration for distributor receivers
715+
716+
717+
If openshift feature flag `servingCertsService` is enabled and TLS is enabled but no
718+
certName or caName is specified, OpenShift service serving certificates will be used.
715719
properties:
716720
caName:
717721
description: |-

bundle/openshift/manifests/tempo-operator.clusterserviceversion.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ metadata:
7474
capabilities: Deep Insights
7575
categories: Logging & Tracing,Monitoring
7676
containerImage: ghcr.io/grafana/tempo-operator/tempo-operator:v0.11.1
77-
createdAt: "2024-07-08T10:12:32Z"
77+
createdAt: "2024-07-09T01:46:51Z"
7878
description: Create and manage deployments of Tempo, a high-scale distributed
7979
tracing backend.
8080
operatorframework.io/cluster-monitoring: "true"
@@ -850,7 +850,10 @@ spec:
850850
the calculated resources derived from total
851851
displayName: Resources
852852
path: template.distributor.resources
853-
- description: TLS defines TLS configuration for distributor receivers
853+
- description: "TLS defines TLS configuration for distributor receivers \n If
854+
openshift feature flag `servingCertsService` is enabled and TLS is enabled
855+
but no certName or caName is specified, OpenShift service serving certificates
856+
will be used."
854857
displayName: TLS
855858
path: template.distributor.tls
856859
- description: CA is the name of a ConfigMap containing a CA certificate (service-ca.crt).

bundle/openshift/manifests/tempo.grafana.com_tempostacks.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -710,8 +710,12 @@ spec:
710710
x-kubernetes-list-type: atomic
711711
type: object
712712
tls:
713-
description: TLS defines TLS configuration for distributor
714-
receivers
713+
description: |-
714+
TLS defines TLS configuration for distributor receivers
715+
716+
717+
If openshift feature flag `servingCertsService` is enabled and TLS is enabled but no
718+
certName or caName is specified, OpenShift service serving certificates will be used.
715719
properties:
716720
caName:
717721
description: |-

config/crd/bases/tempo.grafana.com_tempostacks.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -706,8 +706,12 @@ spec:
706706
x-kubernetes-list-type: atomic
707707
type: object
708708
tls:
709-
description: TLS defines TLS configuration for distributor
710-
receivers
709+
description: |-
710+
TLS defines TLS configuration for distributor receivers
711+
712+
713+
If openshift feature flag `servingCertsService` is enabled and TLS is enabled but no
714+
certName or caName is specified, OpenShift service serving certificates will be used.
711715
properties:
712716
caName:
713717
description: |-

config/manifests/community/bases/tempo-operator.clusterserviceversion.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,10 @@ spec:
779779
the calculated resources derived from total
780780
displayName: Resources
781781
path: template.distributor.resources
782-
- description: TLS defines TLS configuration for distributor receivers
782+
- description: "TLS defines TLS configuration for distributor receivers \n If
783+
openshift feature flag `servingCertsService` is enabled and TLS is enabled
784+
but no certName or caName is specified, OpenShift service serving certificates
785+
will be used."
783786
displayName: TLS
784787
path: template.distributor.tls
785788
- description: CA is the name of a ConfigMap containing a CA certificate (service-ca.crt).

config/manifests/openshift/bases/tempo-operator.clusterserviceversion.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,10 @@ spec:
779779
the calculated resources derived from total
780780
displayName: Resources
781781
path: template.distributor.resources
782-
- description: TLS defines TLS configuration for distributor receivers
782+
- description: "TLS defines TLS configuration for distributor receivers \n If
783+
openshift feature flag `servingCertsService` is enabled and TLS is enabled
784+
but no certName or caName is specified, OpenShift service serving certificates
785+
will be used."
783786
displayName: TLS
784787
path: template.distributor.tls
785788
- description: CA is the name of a ConfigMap containing a CA certificate (service-ca.crt).

docs/spec/tempo.grafana.com_tempostacks.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ spec: # TempoStackSpec defines the desired st
104104
cpu: "500m"
105105
memory: "1Gi"
106106
tolerations: {} # Tolerations defines component-specific pod tolerations.
107-
tls: # TLS defines TLS configuration for distributor receivers
107+
tls: # TLS defines TLS configuration for distributor receivers If openshift feature flag `servingCertsService` is enabled and TLS is enabled but no certName or caName is specified, OpenShift service serving certificates will be used.
108108
enabled: false # Enabled defines if TLS is enabled.
109109
caName: "" # CA is the name of a ConfigMap containing a CA certificate (service-ca.crt). It needs to be in the same namespace as the Tempo custom resource.
110110
certName: "" # Cert is the name of a Secret containing a certificate (tls.crt) and private key (tls.key). It needs to be in the same namespace as the Tempo custom resource.

0 commit comments

Comments
 (0)