Skip to content

Commit

Permalink
Update pod-sweeper to allow multi-ns deploy (#22415)
Browse files Browse the repository at this point in the history
* Update pod-sweeper to allow multi-ns deploy

* nit newline
  • Loading branch information
xpuska513 authored Feb 7, 2023
1 parent 93186e7 commit 697b747
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions charts/airbyte-pod-sweeper/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.names.fullname" . }}-sweep-pod-script
namespace: {{ .Values.namespace | default .Release.Namespace }}
labels:
{{- include "airbyte.labels" . | nindent 4 }}

Expand Down
1 change: 1 addition & 0 deletions charts/airbyte-pod-sweeper/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
name: {{ include "common.names.fullname" . }}-pod-sweeper
labels:
{{- include "airbyte.labels" . | nindent 4 }}
namespace: {{ .Values.namespace | default .Release.Namespace }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down
6 changes: 5 additions & 1 deletion charts/airbyte-pod-sweeper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,8 @@ timeToDeletePods:
completed: 120
error: 1440

replicaCount: 1
replicaCount: 1


## namespace [string] namespace to deploy pod-sweeper at
namespace: ""

0 comments on commit 697b747

Please sign in to comment.