-
Notifications
You must be signed in to change notification settings - Fork 600
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ruben Vargas <[email protected]>
- Loading branch information
1 parent
c331a91
commit 5dbf71f
Showing
9 changed files
with
2,279 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM scratch | ||
|
||
# Core bundle labels. | ||
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 | ||
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ | ||
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ | ||
LABEL operators.operatorframework.io.bundle.package.v1=tempo-operator | ||
LABEL operators.operatorframework.io.bundle.channels.v1=alpha | ||
LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.27.0 | ||
LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 | ||
LABEL operators.operatorframework.io.metrics.project_layout=go.kubebuilder.io/v3 | ||
|
||
# Labels for testing. | ||
LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1 | ||
LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/ | ||
|
||
# Copy files to locations specified by labels. | ||
COPY ./manifests /manifests/ | ||
COPY ./metadata /metadata/ | ||
COPY ./tests/scorecard /tests/scorecard/ |
23 changes: 23 additions & 0 deletions
23
...perator/0.5.0/manifests/tempo-operator-controller-manager-metrics-service_v1_service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/managed-by: operator-lifecycle-manager | ||
app.kubernetes.io/name: tempo-operator | ||
app.kubernetes.io/part-of: tempo-operator | ||
control-plane: controller-manager | ||
name: tempo-operator-controller-manager-metrics-service | ||
spec: | ||
ports: | ||
- name: https | ||
port: 8443 | ||
protocol: TCP | ||
targetPort: https | ||
selector: | ||
app.kubernetes.io/managed-by: operator-lifecycle-manager | ||
app.kubernetes.io/name: tempo-operator | ||
app.kubernetes.io/part-of: tempo-operator | ||
control-plane: controller-manager | ||
status: | ||
loadBalancer: {} |
59 changes: 59 additions & 0 deletions
59
operators/tempo-operator/0.5.0/manifests/tempo-operator-manager-config_v1_configmap.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
apiVersion: v1 | ||
data: | ||
controller_manager_config.yaml: | | ||
apiVersion: config.tempo.grafana.com/v1alpha1 | ||
kind: ProjectConfig | ||
distribution: community | ||
health: | ||
healthProbeBindAddress: :8081 | ||
metrics: | ||
bindAddress: 127.0.0.1:8080 | ||
webhook: | ||
port: 9443 | ||
leaderElection: | ||
leaderElect: true | ||
resourceName: 8b886b0f.grafana.com | ||
# leaderElectionReleaseOnCancel defines if the leader should step down volume | ||
# when the Manager ends. This requires the binary to immediately end when the | ||
# Manager is stopped, otherwise, this setting is unsafe. Setting this significantly | ||
# speeds up voluntary leader transitions as the new leader don't have to wait | ||
# LeaseDuration time first. | ||
# In the default scaffold provided, the program ends immediately after | ||
# the manager stops, so would be fine to enable this option. However, | ||
# if you are doing or is intended to do any operation such as perform cleanups | ||
# after the manager stops then its usage might be unsafe. | ||
# leaderElectionReleaseOnCancel: true | ||
images: | ||
tempo: docker.io/grafana/tempo:2.2.3 | ||
tempoQuery: docker.io/grafana/tempo-query:main-2e5e27a | ||
tempoGateway: quay.io/observatorium/api:main-2023-10-13-a92611b | ||
tempoGatewayOpa: quay.io/observatorium/opa-openshift:main-2023-10-13-13d8960 | ||
featureGates: | ||
openshift: | ||
openshiftRoute: false | ||
servingCertsService: false | ||
prometheusOperator: false | ||
httpEncryption: true | ||
grpcEncryption: true | ||
tlsProfile: Modern | ||
builtInCertManagement: | ||
enabled: true | ||
# CA certificate validity: 5 years | ||
caValidity: 43830h | ||
# CA certificate refresh at 80% of validity | ||
caRefresh: 35064h | ||
# Target certificate validity: 90d | ||
certValidity: 2160h | ||
# Target certificate refresh at 80% of validity | ||
certRefresh: 1728h | ||
observability: | ||
metrics: | ||
createServiceMonitors: false | ||
createPrometheusRules: false | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
app.kubernetes.io/managed-by: operator-lifecycle-manager | ||
app.kubernetes.io/name: tempo-operator | ||
app.kubernetes.io/part-of: tempo-operator | ||
name: tempo-operator-manager-config |
14 changes: 14 additions & 0 deletions
14
...5.0/manifests/tempo-operator-metrics-reader_rbac.authorization.k8s.io_v1_clusterrole.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/managed-by: operator-lifecycle-manager | ||
app.kubernetes.io/name: tempo-operator | ||
app.kubernetes.io/part-of: tempo-operator | ||
name: tempo-operator-metrics-reader | ||
rules: | ||
- nonResourceURLs: | ||
- /metrics | ||
verbs: | ||
- get |
21 changes: 21 additions & 0 deletions
21
operators/tempo-operator/0.5.0/manifests/tempo-operator-webhook-service_v1_service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/managed-by: operator-lifecycle-manager | ||
app.kubernetes.io/name: tempo-operator | ||
app.kubernetes.io/part-of: tempo-operator | ||
name: tempo-operator-webhook-service | ||
spec: | ||
ports: | ||
- port: 443 | ||
protocol: TCP | ||
targetPort: 9443 | ||
selector: | ||
app.kubernetes.io/managed-by: operator-lifecycle-manager | ||
app.kubernetes.io/name: tempo-operator | ||
app.kubernetes.io/part-of: tempo-operator | ||
control-plane: controller-manager | ||
status: | ||
loadBalancer: {} |
Oops, something went wrong.