Skip to content

Commit

Permalink
Fix: added missing nindent arg in imagePullSecrets (#394)
Browse files Browse the repository at this point in the history
* added missing nindent arg in imagePullSecrets

* added missing nindent arg in imagePullSecrets

* bumped chart version

---------

Co-authored-by: Jan Nemcik <[email protected]>
  • Loading branch information
nemcikjan and johnike15 authored Dec 18, 2024
1 parent 1d92797 commit eaa397f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/kor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: kor
description: A Kubernetes Helm Chart to discover orphaned resources using kor
type: application
version: 0.1.15
version: 0.1.16
appVersion: "0.5.7"
maintainers:
- name: "yonahd"
Expand Down
2 changes: 1 addition & 1 deletion charts/kor/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kor

![Version: 0.1.15](https://img.shields.io/badge/Version-0.1.15-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.7](https://img.shields.io/badge/AppVersion-0.5.7-informational?style=flat-square)
![Version: 0.1.16](https://img.shields.io/badge/Version-0.1.16-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.7](https://img.shields.io/badge/AppVersion-0.5.7-informational?style=flat-square)

A Kubernetes Helm Chart to discover orphaned resources using kor

Expand Down
10 changes: 5 additions & 5 deletions charts/kor/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ metadata:
{{- include "kor.labels" . | nindent 4 }}
app: {{ .Values.prometheusExporter.name }}
spec:
{{- with .Values.prometheusExporter.deployment.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent }}
{{- end }}
replicas: {{ .Values.prometheusExporter.deployment.replicaCount | default 1 }}
selector:
matchLabels:
Expand All @@ -20,7 +16,11 @@ spec:
labels:
{{- include "kor.labels" . | nindent 8 }}
app: {{ .Values.prometheusExporter.name }}
spec:
spec:
{{- with .Values.prometheusExporter.deployment.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "kor.serviceAccountName" . }}
containers:
- name: "{{ .Values.prometheusExporter.name }}-container"
Expand Down

0 comments on commit eaa397f

Please sign in to comment.