Skip to content

Commit 5fe9df5

Browse files
authored
Merge pull request #177 from xrstf/fix-indent
fix indentation in api-syncagent Helm chart
2 parents 7846499 + 8bdf515 commit 5fe9df5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/api-syncagent/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: api-syncagent
33
description: A Kubernetes agent to synchronize APIs and their objects between Kubernetes clusters and kcp.
44

55
# version information
6-
version: 0.4.3
6+
version: 0.4.4
77
appVersion: "v0.4.2"
88

99
# optional metadata

charts/api-syncagent/templates/deployment.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ spec:
2828
imagePullSecrets:
2929
{{- include "imagePullSecrets" . | trim | nindent 8 }}
3030
{{- end }}
31+
{{- if .Values.hostAliases.enabled }}
32+
hostAliases:
33+
{{- toYaml .Values.hostAliases.values | nindent 8 }}
34+
{{- end }}
3135
containers:
3236
- name: agent
3337
args:
@@ -75,10 +79,6 @@ spec:
7579
capabilities:
7680
drop:
7781
- ALL
78-
{{- if .Values.hostAliases.enabled }}
79-
hostAliases:
80-
{{- toYaml .Values.hostAliases.values | nindent 12 }}
81-
{{- end }}
8282
volumeMounts:
8383
- name: kcp-kubeconfig
8484
mountPath: /etc/api-syncagent/kcp

0 commit comments

Comments
 (0)