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/name: thanos-query
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-query
|
name: thanos-query
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -34,7 +34,7 @@ spec:
|
|||||||
values:
|
values:
|
||||||
- thanos-query
|
- thanos-query
|
||||||
namespaces:
|
namespaces:
|
||||||
- thanos
|
- {{ .Release.Namespace }}
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
weight: 100
|
weight: 100
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-query
|
app.kubernetes.io/name: thanos-query
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-query
|
name: thanos-query
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: grpc
|
- name: grpc
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-query
|
app.kubernetes.io/name: thanos-query
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-query
|
name: thanos-query
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-query
|
app.kubernetes.io/name: thanos-query
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-query
|
name: thanos-query
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- port: http
|
- port: http
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ metadata:
|
|||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
controller.receive.thanos.io/hashring: default
|
controller.receive.thanos.io/hashring: default
|
||||||
name: thanos-receive-ingestor-default
|
name: thanos-receive-ingestor-default
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ metadata:
|
|||||||
controller.receive.thanos.io: thanos-receive-controller
|
controller.receive.thanos.io: thanos-receive-controller
|
||||||
controller.receive.thanos.io/hashring: default
|
controller.receive.thanos.io/hashring: default
|
||||||
name: thanos-receive-ingestor-default
|
name: thanos-receive-ingestor-default
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
minReadySeconds: 0
|
minReadySeconds: 0
|
||||||
replicas: 1
|
replicas: 1
|
||||||
@@ -44,7 +44,7 @@ spec:
|
|||||||
values:
|
values:
|
||||||
- thanos-receive-ingestor-default
|
- thanos-receive-ingestor-default
|
||||||
namespaces:
|
namespaces:
|
||||||
- thanos
|
- {{ .Release.Namespace }}
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
weight: 100
|
weight: 100
|
||||||
- podAffinityTerm:
|
- podAffinityTerm:
|
||||||
@@ -59,7 +59,7 @@ spec:
|
|||||||
values:
|
values:
|
||||||
- thanos-receive-ingestor-default
|
- thanos-receive-ingestor-default
|
||||||
namespaces:
|
namespaces:
|
||||||
- thanos
|
- {{ .Release.Namespace }}
|
||||||
topologyKey: topology.kubernetes.io/zone
|
topologyKey: topology.kubernetes.io/zone
|
||||||
weight: 100
|
weight: 100
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-receive
|
app.kubernetes.io/name: thanos-receive
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-receive-ingestor
|
name: thanos-receive-ingestor
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-receive
|
app.kubernetes.io/name: thanos-receive
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-receive-ingestor
|
name: thanos-receive-ingestor
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- port: http
|
- port: http
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ data:
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: hashring-config
|
name: hashring-config
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-receive
|
app.kubernetes.io/name: thanos-receive
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-receive-router
|
name: thanos-receive-router
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-receive
|
app.kubernetes.io/name: thanos-receive
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-receive-router
|
name: thanos-receive-router
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- name: grpc
|
- name: grpc
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-receive
|
app.kubernetes.io/name: thanos-receive
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-receive-router
|
name: thanos-receive-router
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-store
|
app.kubernetes.io/name: thanos-store
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-store
|
name: thanos-store
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -8,4 +8,4 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-store
|
app.kubernetes.io/name: thanos-store
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-store
|
name: thanos-store
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-store
|
app.kubernetes.io/name: thanos-store
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-store
|
name: thanos-store
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
endpoints:
|
endpoints:
|
||||||
- port: http
|
- port: http
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ metadata:
|
|||||||
app.kubernetes.io/name: thanos-store
|
app.kubernetes.io/name: thanos-store
|
||||||
app.kubernetes.io/version: v0.31.0
|
app.kubernetes.io/version: v0.31.0
|
||||||
name: thanos-store
|
name: thanos-store
|
||||||
namespace: thanos
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
@@ -39,7 +39,7 @@ spec:
|
|||||||
values:
|
values:
|
||||||
- thanos-store
|
- thanos-store
|
||||||
namespaces:
|
namespaces:
|
||||||
- thanos
|
- {{ .Release.Namespace }}
|
||||||
topologyKey: kubernetes.io/hostname
|
topologyKey: kubernetes.io/hostname
|
||||||
weight: 100
|
weight: 100
|
||||||
containers:
|
containers:
|
||||||
|
|||||||
Reference in New Issue
Block a user