Skip to content

Commit

Permalink
add grafana/tempo-operator
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <[email protected]>
  • Loading branch information
sebhoss committed Mar 7, 2024
1 parent 476e477 commit f8eac3f
Show file tree
Hide file tree
Showing 29 changed files with 5,179 additions and 965 deletions.
4 changes: 4 additions & 0 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,10 @@ Files: crd-catalog/grafana/loki/*
Copyright: The grafana/loki Authors
License: AGPL-3.0-only

Files: crd-catalog/grafana/tempo-operator/*
Copyright: The grafana/tempo-operator Authors
License: AGPL-3.0-only

Files: crd-catalog/gravitational/teleport/*
Copyright: The gravitational/teleport Authors
License: Apache-2.0
Expand Down
8 changes: 8 additions & 0 deletions code-generator/src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1350,6 +1350,14 @@ pub const CRD_V1_SOURCES: &'static [UpstreamSource] = &[
"https://github.com/grafana/loki/blob/main/operator/config/crd/bases/loki.grafana.com_rulerconfigs.yaml",
],
},
UpstreamSource {
project_name: "grafana/tempo-operator",
license: AGPL_V3_ONLY,
urls: &[
"https://github.com/grafana/tempo-operator/blob/main/config/crd/bases/tempo.grafana.com_tempomonolithics.yaml",
"https://github.com/grafana/tempo-operator/blob/main/config/crd/bases/tempo.grafana.com_tempostacks.yaml",
],
},
UpstreamSource {
project_name: "gravitational/teleport",
license: APACHE_V2,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--derive=PartialEq

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--derive=PartialEq
1,186 changes: 1,186 additions & 0 deletions crd-catalog/grafana/tempo-operator/tempo.grafana.com/v1alpha1/tempostacks.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions kube-custom-resources-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ sts_min_io = []
stunner_l7mp_io = []
submariner_io = []
templates_gatekeeper_sh = []
tempo_grafana_com = []
temporal_io = []
tests_testkube_io = []
theketch_io = []
Expand Down
8 changes: 8 additions & 0 deletions kube-custom-resources-rs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2707,6 +2707,12 @@ apiVersion `templates.gatekeeper.sh/v1alpha1`:
apiVersion `templates.gatekeeper.sh/v1beta1`:
- `ConstraintTemplate`
## tempo_grafana_com
apiVersion `tempo.grafana.com/v1alpha1`:
- `TempoMonolithic`
- `TempoStack`
## temporal_io
apiVersion `temporal.io/v1beta1`:
Expand Down Expand Up @@ -3516,6 +3522,8 @@ pub mod stunner_l7mp_io;
pub mod submariner_io;
#[cfg(feature = "templates_gatekeeper_sh")]
pub mod templates_gatekeeper_sh;
#[cfg(feature = "tempo_grafana_com")]
pub mod tempo_grafana_com;
#[cfg(feature = "temporal_io")]
pub mod temporal_io;
#[cfg(feature = "tests_testkube_io")]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// WARNING: generated by kopium - manual changes will be overwritten
// kopium command: kopium --docs --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/amazoncloudintegrations.yaml --derive=PartialEq
// kopium command: kopium --docs --derive=Copy --filename=./crd-catalog/tigera/operator/operator.tigera.io/v1/amazoncloudintegrations.yaml --derive=PartialEq
// kopium version: 0.16.5

use kube::CustomResource;
use serde::{Serialize, Deserialize};

/// AmazonCloudIntegrationSpec defines the desired state of AmazonCloudIntegration
#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, PartialEq)]
#[derive(CustomResource, Serialize, Deserialize, Clone, Debug, Copy, PartialEq)]
#[kube(group = "operator.tigera.io", version = "v1", kind = "AmazonCloudIntegration", plural = "amazoncloudintegrations")]
#[kube(status = "AmazonCloudIntegrationStatus")]
#[kube(schema = "disabled")]
Expand Down Expand Up @@ -38,14 +38,14 @@ pub struct AmazonCloudIntegrationSpec {
}

/// AmazonCloudIntegrationSpec defines the desired state of AmazonCloudIntegration
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
#[derive(Serialize, Deserialize, Clone, Debug, Copy, PartialEq)]
pub enum AmazonCloudIntegrationDefaultPodMetadataAccess {
Allowed,
Denied,
}

/// AmazonCloudIntegrationStatus defines the observed state of AmazonCloudIntegration
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
#[derive(Serialize, Deserialize, Clone, Debug, Copy, PartialEq)]
pub struct AmazonCloudIntegrationStatus {
/// Conditions represents the latest observed set of conditions for the component. A component may be one or more of Ready, Progressing, Degraded or other customer types.
#[serde(default, skip_serializing_if = "Option::is_none")]
Expand All @@ -58,7 +58,7 @@ pub struct AmazonCloudIntegrationStatus {
/// Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example,
/// type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
/// // other fields }
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
#[derive(Serialize, Deserialize, Clone, Debug, Copy, PartialEq)]
pub struct AmazonCloudIntegrationStatusConditions {
/// lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
#[serde(rename = "lastTransitionTime")]
Expand All @@ -80,7 +80,7 @@ pub struct AmazonCloudIntegrationStatusConditions {
/// Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example,
/// type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: "Available", "Progressing", and "Degraded" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
/// // other fields }
#[derive(Serialize, Deserialize, Clone, Debug, PartialEq)]
#[derive(Serialize, Deserialize, Clone, Debug, Copy, PartialEq)]
pub enum AmazonCloudIntegrationStatusConditionsStatus {
True,
False,
Expand Down
Loading

0 comments on commit f8eac3f

Please sign in to comment.