Skip to content

Commit c21732b

Browse files
committed
Fix pdb rendering output
1 parent 53c2264 commit c21732b

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.8.1] - 2025-03-17
8+
### Fixed
9+
- Fixed chart pdb rendering
10+
711
## [0.8.0] - 2025-03-17
812
### Added
913
- Add support for topologySpreadConstraints

deploy/charts/harbor-container-webhook/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: harbor-container-webhook
33
description: Webhook to configure pods with harbor proxy cache projects
44
type: application
5-
version: 0.8.0
5+
version: 0.8.1
66
appVersion: "0.8.0"
77
kubeVersion: ">= 1.16.0-0"
88
home: https://github.com/IndeedEng/harbor-container-webhook

deploy/charts/harbor-container-webhook/templates/poddisruptionbudget.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
selector:
1111
matchLabels:
1212
{{- include "harbor-container-webhook.selectorLabels" . | nindent 6 }}
13-
{{- if and .Values.minAvailable (not (hasKey .Values.controller "maxUnavailable")) }}
13+
{{- if and .Values.minAvailable (not (hasKey .Values "maxUnavailable")) }}
1414
minAvailable: {{ .Values.minAvailable }}
1515
{{- else if .Values.maxUnavailable }}
1616
maxUnavailable: {{ .Values.maxUnavailable }}

deploy/charts/harbor-container-webhook/values.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ affinity: {}
6363

6464
topologySpreadConstraints: {}
6565

66+
# only use one of the following two options for the pdb, if replicas > 1:
67+
# minAvailable: 1
68+
# maxUnavailable: 1
69+
70+
# unhealthyPodEvictionPolicy: ""
71+
6672
extraArgs: []
6773
extraEnv: []
6874

0 commit comments

Comments
 (0)