mirror of
https://github.com/2martens/cloud-configuration.git
synced 2026-10-17 16:46:51 +02:00
Replaced namespaces with variable
This commit is contained in:
@@ -7,7 +7,7 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-query
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-query
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -34,7 +34,7 @@ spec:
|
||||
values:
|
||||
- thanos-query
|
||||
namespaces:
|
||||
- thanos
|
||||
- {{ .Release.Namespace }}
|
||||
topologyKey: kubernetes.io/hostname
|
||||
weight: 100
|
||||
containers:
|
||||
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-query
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-query
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
ports:
|
||||
- name: grpc
|
||||
|
||||
@@ -8,4 +8,4 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-query
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-query
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-query
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-query
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: http
|
||||
|
||||
@@ -8,7 +8,7 @@ metadata:
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
controller.receive.thanos.io/hashring: default
|
||||
name: thanos-receive-ingestor-default
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
clusterIP: None
|
||||
ports:
|
||||
|
||||
@@ -9,7 +9,7 @@ metadata:
|
||||
controller.receive.thanos.io: thanos-receive-controller
|
||||
controller.receive.thanos.io/hashring: default
|
||||
name: thanos-receive-ingestor-default
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
minReadySeconds: 0
|
||||
replicas: 1
|
||||
@@ -44,7 +44,7 @@ spec:
|
||||
values:
|
||||
- thanos-receive-ingestor-default
|
||||
namespaces:
|
||||
- thanos
|
||||
- {{ .Release.Namespace }}
|
||||
topologyKey: kubernetes.io/hostname
|
||||
weight: 100
|
||||
- podAffinityTerm:
|
||||
@@ -59,7 +59,7 @@ spec:
|
||||
values:
|
||||
- thanos-receive-ingestor-default
|
||||
namespaces:
|
||||
- thanos
|
||||
- {{ .Release.Namespace }}
|
||||
topologyKey: topology.kubernetes.io/zone
|
||||
weight: 100
|
||||
containers:
|
||||
|
||||
@@ -8,4 +8,4 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-receive
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-receive-ingestor
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-receive
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-receive-ingestor
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: http
|
||||
|
||||
@@ -4,4 +4,4 @@ data:
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: hashring-config
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-receive
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-receive-router
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-receive
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-receive-router
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
ports:
|
||||
- name: grpc
|
||||
|
||||
@@ -8,4 +8,4 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-receive
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-receive-router
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-store
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-store
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
clusterIP: None
|
||||
ports:
|
||||
|
||||
@@ -8,4 +8,4 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-store
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-store
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-store
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-store
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
endpoints:
|
||||
- port: http
|
||||
|
||||
@@ -7,7 +7,7 @@ metadata:
|
||||
app.kubernetes.io/name: thanos-store
|
||||
app.kubernetes.io/version: v0.31.0
|
||||
name: thanos-store
|
||||
namespace: thanos
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
@@ -39,7 +39,7 @@ spec:
|
||||
values:
|
||||
- thanos-store
|
||||
namespaces:
|
||||
- thanos
|
||||
- {{ .Release.Namespace }}
|
||||
topologyKey: kubernetes.io/hostname
|
||||
weight: 100
|
||||
containers:
|
||||
|
||||
Reference in New Issue
Block a user