Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions helm/agents/argo-rollouts/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- define "agent.deploymentSpec" -}}
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.podSecurityContext }}
podSecurityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 2 }}
{{- end }}
7 changes: 1 addition & 6 deletions helm/agents/argo-rollouts/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,4 @@ spec:
compaction: {{- toYaml .Values.compaction | nindent 8 }}
{{- end }}
deployment:
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 8 }}
{{- include "agent.deploymentSpec" . | nindent 6 }}
4 changes: 4 additions & 0 deletions helm/agents/argo-rollouts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ resources:


compaction: {}

podSecurityContext: {}

securityContext: {}
16 changes: 16 additions & 0 deletions helm/agents/cilium-debug/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- define "agent.deploymentSpec" -}}
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.podSecurityContext }}
podSecurityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 2 }}
{{- end }}
7 changes: 1 addition & 6 deletions helm/agents/cilium-debug/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,4 @@ spec:
compaction: {{- toYaml .Values.compaction | nindent 8 }}
{{- end }}
deployment:
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 8 }}
{{- include "agent.deploymentSpec" . | nindent 6 }}
4 changes: 4 additions & 0 deletions helm/agents/cilium-debug/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ resources:
memory: 1Gi

compaction: {}

podSecurityContext: {}

securityContext: {}
16 changes: 16 additions & 0 deletions helm/agents/cilium-manager/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- define "agent.deploymentSpec" -}}
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.podSecurityContext }}
podSecurityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 2 }}
{{- end }}
7 changes: 1 addition & 6 deletions helm/agents/cilium-manager/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,4 @@ spec:
compaction: {{- toYaml .Values.compaction | nindent 8 }}
{{- end }}
deployment:
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 8 }}
{{- include "agent.deploymentSpec" . | nindent 6 }}
4 changes: 4 additions & 0 deletions helm/agents/cilium-manager/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ resources:
memory: 1Gi

compaction: {}

podSecurityContext: {}

securityContext: {}
16 changes: 16 additions & 0 deletions helm/agents/cilium-policy/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- define "agent.deploymentSpec" -}}
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.podSecurityContext }}
podSecurityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 2 }}
{{- end }}
7 changes: 1 addition & 6 deletions helm/agents/cilium-policy/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -524,9 +524,4 @@ spec:
compaction: {{- toYaml .Values.compaction | nindent 8 }}
{{- end }}
deployment:
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 8 }}
{{- include "agent.deploymentSpec" . | nindent 6 }}
4 changes: 4 additions & 0 deletions helm/agents/cilium-policy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ resources:


compaction: {}

podSecurityContext: {}

securityContext: {}
16 changes: 16 additions & 0 deletions helm/agents/helm/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- define "agent.deploymentSpec" -}}
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.podSecurityContext }}
podSecurityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 2 }}
{{- end }}
7 changes: 1 addition & 6 deletions helm/agents/helm/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,4 @@ spec:
compaction: {{- toYaml .Values.compaction | nindent 8 }}
{{- end }}
deployment:
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 8 }}
{{- include "agent.deploymentSpec" . | nindent 6 }}
4 changes: 4 additions & 0 deletions helm/agents/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ resources:


compaction: {}

podSecurityContext: {}

securityContext: {}
16 changes: 16 additions & 0 deletions helm/agents/istio/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- define "agent.deploymentSpec" -}}
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.podSecurityContext }}
podSecurityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 2 }}
{{- end }}
7 changes: 1 addition & 6 deletions helm/agents/istio/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,4 @@ spec:
compaction: {{- toYaml .Values.compaction | nindent 8 }}
{{- end }}
deployment:
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 8 }}
{{- include "agent.deploymentSpec" . | nindent 6 }}
4 changes: 4 additions & 0 deletions helm/agents/istio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ resources:
memory: 1Gi

compaction: {}

podSecurityContext: {}

securityContext: {}
16 changes: 16 additions & 0 deletions helm/agents/k8s/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- define "agent.deploymentSpec" -}}
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.podSecurityContext }}
podSecurityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 2 }}
{{- end }}
7 changes: 1 addition & 6 deletions helm/agents/k8s/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,4 @@ spec:
compaction: {{- toYaml .Values.compaction | nindent 8 }}
{{- end }}
deployment:
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 8 }}
{{- include "agent.deploymentSpec" . | nindent 6 }}
4 changes: 4 additions & 0 deletions helm/agents/k8s/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ resources:
memory: 1Gi

compaction: {}

podSecurityContext: {}

securityContext: {}
16 changes: 16 additions & 0 deletions helm/agents/kgateway/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- define "agent.deploymentSpec" -}}
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.podSecurityContext }}
podSecurityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 2 }}
{{- end }}
7 changes: 1 addition & 6 deletions helm/agents/kgateway/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,4 @@ spec:
compaction: {{- toYaml .Values.compaction | nindent 8 }}
{{- end }}
deployment:
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 8 }}
{{- include "agent.deploymentSpec" . | nindent 6 }}
4 changes: 4 additions & 0 deletions helm/agents/kgateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ resources:
memory: 1Gi

compaction: {}

podSecurityContext: {}

securityContext: {}
16 changes: 16 additions & 0 deletions helm/agents/observability/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- define "agent.deploymentSpec" -}}
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.podSecurityContext }}
podSecurityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 2 }}
{{- end }}
7 changes: 1 addition & 6 deletions helm/agents/observability/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,4 @@ spec:
compaction: {{- toYaml .Values.compaction | nindent 8 }}
{{- end }}
deployment:
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 8 }}
{{- include "agent.deploymentSpec" . | nindent 6 }}
4 changes: 4 additions & 0 deletions helm/agents/observability/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ resources:
memory: 1Gi

compaction: {}

podSecurityContext: {}

securityContext: {}
16 changes: 16 additions & 0 deletions helm/agents/promql/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{{- define "agent.deploymentSpec" -}}
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.podSecurityContext }}
podSecurityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- with .Values.securityContext }}
securityContext:
{{- toYaml . | nindent 2 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 2 }}
{{- end }}
8 changes: 1 addition & 7 deletions helm/agents/promql/templates/agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,4 @@ spec:
compaction: {{- toYaml .Values.compaction | nindent 8 }}
{{- end }}
deployment:
{{- with coalesce (empty .Values.imagePullSecrets | ternary nil .Values.imagePullSecrets) .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 8 }}

{{- include "agent.deploymentSpec" . | nindent 6 }}
4 changes: 4 additions & 0 deletions helm/agents/promql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ resources:
memory: 1Gi

compaction: {}

podSecurityContext: {}

securityContext: {}
Loading