Skip to content

Commit

Permalink
add missing import, re-generate examples
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wiesinger <[email protected]>
  • Loading branch information
mowies authored and arttor committed Mar 15, 2023
1 parent 8642244 commit 81ba5a2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/app/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
containers:
- env:
- name: KUBERNETES_CLUSTER_DOMAIN
value: {{ .Values.kubernetesClusterDomain }}
value: {{ quote .Values.kubernetesClusterDomain }}
image: {{ .Values.fluentdElasticsearch.fluentdElasticsearch.image.repository }}:{{
.Values.fluentdElasticsearch.fluentdElasticsearch.image.tag | default .Chart.AppVersion
}}
Expand Down
4 changes: 2 additions & 2 deletions examples/app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
key: VAR2
name: {{ include "app.fullname" . }}-my-secret-vars
- name: KUBERNETES_CLUSTER_DOMAIN
value: {{ .Values.kubernetesClusterDomain }}
value: {{ quote .Values.kubernetesClusterDomain }}
image: {{ .Values.myapp.app.image.repository }}:{{ .Values.myapp.app.image.tag
| default .Chart.AppVersion }}
livenessProbe:
Expand Down Expand Up @@ -73,7 +73,7 @@ spec:
- --v=10
env:
- name: KUBERNETES_CLUSTER_DOMAIN
value: {{ .Values.kubernetesClusterDomain }}
value: {{ quote .Values.kubernetesClusterDomain }}
image: {{ .Values.myapp.proxySidecar.image.repository }}:{{ .Values.myapp.proxySidecar.image.tag
| default .Chart.AppVersion }}
name: proxy-sidecar
Expand Down
8 changes: 4 additions & 4 deletions examples/operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
- --v=10
env:
- name: KUBERNETES_CLUSTER_DOMAIN
value: {{ .Values.kubernetesClusterDomain }}
value: {{ quote .Values.kubernetesClusterDomain }}
image: {{ .Values.controllerManager.kubeRbacProxy.image.repository }}:{{ .Values.controllerManager.kubeRbacProxy.image.tag
| default .Chart.AppVersion }}
name: kube-rbac-proxy
Expand All @@ -53,9 +53,9 @@ spec:
key: VAR1
name: {{ include "operator.fullname" . }}-secret-vars
- name: VAR2
value: {{ .Values.controllerManager.manager.env.var2 }}
value: {{ quote .Values.controllerManager.manager.env.var2 }}
- name: VAR3_MY_ENV
value: {{ .Values.controllerManager.manager.env.var3MyEnv }}
value: {{ quote .Values.controllerManager.manager.env.var3MyEnv }}
- name: VAR4
valueFrom:
configMapKeyRef:
Expand All @@ -71,7 +71,7 @@ spec:
divisor: "0"
resource: limits.cpu
- name: KUBERNETES_CLUSTER_DOMAIN
value: {{ .Values.kubernetesClusterDomain }}
value: {{ quote .Values.kubernetesClusterDomain }}
image: {{ .Values.controllerManager.manager.image.repository }}:{{ .Values.controllerManager.manager.image.tag
| default .Chart.AppVersion }}
imagePullPolicy: {{ .Values.controllerManager.manager.imagePullPolicy }}
Expand Down
1 change: 1 addition & 0 deletions pkg/processor/deployment/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/arttor/helmify/pkg/cluster"
"github.com/arttor/helmify/pkg/processor"
"github.com/arttor/helmify/pkg/processor/imagePullSecrets"
securityContext "github.com/arttor/helmify/pkg/processor/security-context"

"github.com/arttor/helmify/pkg/helmify"
yamlformat "github.com/arttor/helmify/pkg/yaml"
Expand Down

0 comments on commit 81ba5a2

Please sign in to comment.