Skip to content

Commit

Permalink
Added imagePullSecrets.
Browse files Browse the repository at this point in the history
  • Loading branch information
linus-berg committed Sep 14, 2024
1 parent b53dd85 commit baca342
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/apc/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.4
version: 0.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/apc/templates/acm/acm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- ip: {{ .ip | quote }}
hostnames:
{{- range .hostnames }}
- {{ . | quote }}
- {{ . | quote }}
{{- end }}
{{- end }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/apc/templates/api/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- ip: {{ .ip | quote }}
hostnames:
{{- range .hostnames }}
- {{ . | quote }}
- {{ . | quote }}
{{- end }}
{{- end }}
{{- end }}
Expand Down
8 changes: 7 additions & 1 deletion charts/apc/templates/apm/apm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@ spec:
apc/version: {{ $.Values.apc.version }}
checksum/config: {{ include (print $.Template.BasePath "/common-configmap.yaml") $ | sha256sum }}
spec:
{{- if .imagePullSecrets }}
imagePullSecrets:
{{- range .imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
{{- if $.Values.hosts }}
hostAliases:
{{- range $.Values.hosts }}
- ip: {{ .ip | quote }}
hostnames:
{{- range .hostnames }}
- {{ . | quote }}
- {{ . | quote }}
{{- end }}
{{- end }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion charts/apc/templates/ingestion/ingestion-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
- ip: {{ .ip | quote }}
hostnames:
{{- range .hostnames }}
- {{ . | quote }}
- {{ . | quote }}
{{- end }}
{{- end }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/apc/values.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ processors:
image: "ghcr.io/linus-berg/apc/apm/npm"
tag: *apc_version
replicas: 1
imagePullSecrets:
- test
env:
- name: TEST
value: BLEH
Expand Down

0 comments on commit baca342

Please sign in to comment.