Skip to content

Commit

Permalink
rhobs: remove receive controller service and probes (#633)
Browse files Browse the repository at this point in the history
* remove recceive controller service and probes

Signed-off-by: Thibault Mange <[email protected]>

* fix

Signed-off-by: Thibault Mange <[email protected]>

---------

Signed-off-by: Thibault Mange <[email protected]>
  • Loading branch information
thibaultmg authored Oct 27, 2023
1 parent 22dbe3b commit db9360d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 44 deletions.
3 changes: 1 addition & 2 deletions mimic.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package main
import (
"github.com/bwplotka/mimic"
cfgobservatorium "github.com/rhobs/configuration/configuration/observatorium"
services "github.com/rhobs/configuration/services_go"
)

func main() {
Expand All @@ -16,6 +15,6 @@ func main() {
cfgobservatorium.GenerateRBAC(gen.With(".tmp", "tenants"))

// Generate the manifests for all observatorium instances.
services.Generate(gen.With("services"))
// services.Generate(gen.With("services"))

}
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,11 @@ objects:
fieldPath: metadata.namespace
image: quay.io/observatorium/thanos-receive-controller:main-2023-09-22-f168dd7
imagePullPolicy: IfNotPresent
livenessProbe: {}
name: observatorium-thanos-receive-controller
ports:
- containerPort: 8080
name: http
protocol: TCP
readinessProbe: {}
resources:
limits:
cpu: 24Mi
Expand Down Expand Up @@ -139,31 +137,13 @@ objects:
name: observatorium-thanos-receive-controller
namespace: rhobs
roleRef:
apiGroup: rbac.authorization.k8s.io/v1
apiGroup: rbac.authorization.k8s.io
kind: Role
name: observatorium-thanos-receive-controller
subjects:
- kind: ServiceAccount
name: observatorium-thanos-receive-controller
namespace: rhobs
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: kubernetes-controller
app.kubernetes.io/instance: observatorium
app.kubernetes.io/name: thanos-receive-controller
app.kubernetes.io/part-of: observatorium
app.kubernetes.io/version: main-2023-09-22-f168dd7
name: observatorium-thanos-receive-controller
namespace: rhobs
spec:
selector:
app.kubernetes.io/component: kubernetes-controller
app.kubernetes.io/instance: observatorium
app.kubernetes.io/name: thanos-receive-controller
app.kubernetes.io/part-of: observatorium
- apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,11 @@ objects:
fieldPath: metadata.namespace
image: quay.io/observatorium/thanos-receive-controller:main-2023-09-22-f168dd7
imagePullPolicy: IfNotPresent
livenessProbe: {}
name: observatorium-thanos-receive-controller
ports:
- containerPort: 8080
name: http
protocol: TCP
readinessProbe: {}
resources:
limits:
cpu: 24Mi
Expand Down Expand Up @@ -139,31 +137,13 @@ objects:
name: observatorium-thanos-receive-controller
namespace: rhobs
roleRef:
apiGroup: rbac.authorization.k8s.io/v1
apiGroup: rbac.authorization.k8s.io
kind: Role
name: observatorium-thanos-receive-controller
subjects:
- kind: ServiceAccount
name: observatorium-thanos-receive-controller
namespace: rhobs
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app.kubernetes.io/component: kubernetes-controller
app.kubernetes.io/instance: observatorium
app.kubernetes.io/name: thanos-receive-controller
app.kubernetes.io/part-of: observatorium
app.kubernetes.io/version: main-2023-09-22-f168dd7
name: observatorium-thanos-receive-controller
namespace: rhobs
spec:
selector:
app.kubernetes.io/component: kubernetes-controller
app.kubernetes.io/instance: observatorium
app.kubernetes.io/name: thanos-receive-controller
app.kubernetes.io/part-of: observatorium
- apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down

0 comments on commit db9360d

Please sign in to comment.