Commit e67fa699 authored by David McKay's avatar David McKay

chore: reduce scale for testing and cleanup labels

parent d68abbdb
...@@ -3,12 +3,11 @@ apiVersion: policy/v1beta1 ...@@ -3,12 +3,11 @@ apiVersion: policy/v1beta1
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
name: {{ template "influxdb-enterprise.fullname" . }}-meta-pdb name: {{ template "influxdb-enterprise.fullname" . }}-meta-pdb
namespace: {{ .Release.Namespace }}
labels: labels:
{{- include "influxdb-enterprise.labels" . | nindent 4 }} {{- include "influxdb-enterprise.labels" . | nindent 4 }}
spec: spec:
selector: selector:
matchLabels: matchLabels:
app.kubernetes.io/managed-by: {{ .Release.Service }}
influxdb.influxdata.com/component: meta influxdb.influxdata.com/component: meta
{{- include "influxdb-enterprise.selectorLabels" . | nindent 4 }}
{{ toYaml .Values.meta.podDisruptionBudget | indent 2 }} {{ toYaml .Values.meta.podDisruptionBudget | indent 2 }}
...@@ -4,7 +4,6 @@ metadata: ...@@ -4,7 +4,6 @@ metadata:
name: {{ template "influxdb-enterprise.fullname" . }}-meta name: {{ template "influxdb-enterprise.fullname" . }}-meta
labels: labels:
influxdb.influxdata.com/component: meta influxdb.influxdata.com/component: meta
influxdb.influxdata.com/role: follower
{{- include "influxdb-enterprise.labels" . | nindent 4 }} {{- include "influxdb-enterprise.labels" . | nindent 4 }}
spec: spec:
type: ClusterIP type: ClusterIP
...@@ -19,5 +18,4 @@ spec: ...@@ -19,5 +18,4 @@ spec:
name: http name: http
selector: selector:
influxdb.influxdata.com/component: meta influxdb.influxdata.com/component: meta
influxdb.influxdata.com/role: follower
{{- include "influxdb-enterprise.selectorLabels" . | nindent 4 }} {{- include "influxdb-enterprise.selectorLabels" . | nindent 4 }}
...@@ -11,7 +11,6 @@ spec: ...@@ -11,7 +11,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
influxdb.influxdata.com/component: meta influxdb.influxdata.com/component: meta
influxdb.influxdata.com/role: follower
{{- include "influxdb-enterprise.selectorLabels" . | nindent 6 }} {{- include "influxdb-enterprise.selectorLabels" . | nindent 6 }}
template: template:
metadata: metadata:
...@@ -21,7 +20,6 @@ spec: ...@@ -21,7 +20,6 @@ spec:
{{- end }} {{- end }}
labels: labels:
influxdb.influxdata.com/component: meta influxdb.influxdata.com/component: meta
influxdb.influxdata.com/role: follower
{{- include "influxdb-enterprise.selectorLabels" . | nindent 8 }} {{- include "influxdb-enterprise.selectorLabels" . | nindent 8 }}
spec: spec:
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
......
...@@ -42,7 +42,7 @@ bootstrap: ...@@ -42,7 +42,7 @@ bootstrap:
# configMap: ddl-dml # configMap: ddl-dml
meta: meta:
replicas: 3 replicas: 1
image: {} image: {}
# override: true # override: true
# pullPolicy: IfNotPresent # pullPolicy: IfNotPresent
...@@ -72,7 +72,7 @@ meta: ...@@ -72,7 +72,7 @@ meta:
## Persist data to a persistent volume ## Persist data to a persistent volume
## ##
persistence: persistence:
enabled: true enabled: false
## A manually managed Persistent Volume and Claim ## A manually managed Persistent Volume and Claim
## Requires persistence.enabled: true ## Requires persistence.enabled: true
## If defined, PVC must be created manually before volume will be bound ## If defined, PVC must be created manually before volume will be bound
...@@ -86,8 +86,8 @@ meta: ...@@ -86,8 +86,8 @@ meta:
## ##
# storageClass: "-" # storageClass: "-"
# annotations: # annotations:
accessMode: ReadWriteOnce # accessMode: ReadWriteOnce
size: 8Gi # size: 8Gi
# Pick one # Pick one
podDisruptionBudget: podDisruptionBudget:
# maxUnavailable: 2 # maxUnavailable: 2
...@@ -103,7 +103,7 @@ meta: ...@@ -103,7 +103,7 @@ meta:
data: data:
replicas: 3 replicas: 1
image: {} image: {}
# override: true # override: true
# pullPolicy: IfNotPresent # pullPolicy: IfNotPresent
...@@ -125,7 +125,7 @@ data: ...@@ -125,7 +125,7 @@ data:
## Persist data to a persistent volume ## Persist data to a persistent volume
## ##
persistence: persistence:
enabled: true enabled: false
## A manually managed Persistent Volume and Claim ## A manually managed Persistent Volume and Claim
## Requires persistence.enabled: true ## Requires persistence.enabled: true
## If defined, PVC must be created manually before volume will be bound ## If defined, PVC must be created manually before volume will be bound
...@@ -139,8 +139,8 @@ data: ...@@ -139,8 +139,8 @@ data:
## ##
# storageClass: "-" # storageClass: "-"
# annotations: # annotations:
accessMode: ReadWriteOnce # accessMode: ReadWriteOnce
size: 8Gi # size: 8Gi
https: https:
enabled: true enabled: true
# The `useCertManager` option, when set to true, will # The `useCertManager` option, when set to true, will
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment