-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23bc288
commit b5a10c8
Showing
12 changed files
with
2,352 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/ |
25 changes: 25 additions & 0 deletions
25
...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,25 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: | ||
service.beta.openshift.io/serving-cert-secret-name: tempo-operator-metrics | ||
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: openshift | ||
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: true | ||
servingCertsService: true | ||
prometheusOperator: true | ||
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: true | ||
createPrometheusRules: true | ||
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 |
17 changes: 17 additions & 0 deletions
17
...-rolebinding-cluster-monitoring-view_rbac.authorization.k8s.io_v1_clusterrolebinding.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,17 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
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-manager-rolebinding-cluster-monitoring-view | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: cluster-monitoring-view | ||
subjects: | ||
- kind: ServiceAccount | ||
name: tempo-operator-controller-manager | ||
namespace: tempo-operator-system |
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 |
23 changes: 23 additions & 0 deletions
23
...operator/0.5.0/manifests/tempo-operator-prometheus_rbac.authorization.k8s.io_v1_role.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: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
annotations: | ||
include.release.openshift.io/self-managed-high-availability: "true" | ||
include.release.openshift.io/single-node-developer: "true" | ||
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-prometheus | ||
rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- services | ||
- endpoints | ||
- pods | ||
verbs: | ||
- get | ||
- list | ||
- watch |
20 changes: 20 additions & 0 deletions
20
...r/0.5.0/manifests/tempo-operator-prometheus_rbac.authorization.k8s.io_v1_rolebinding.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,20 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
annotations: | ||
include.release.openshift.io/self-managed-high-availability: "true" | ||
include.release.openshift.io/single-node-developer: "true" | ||
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-prometheus | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: Role | ||
name: tempo-operator-prometheus | ||
subjects: | ||
- kind: ServiceAccount | ||
name: prometheus-k8s | ||
namespace: openshift-monitoring |
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.