Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ Two version streams move independently:

### Chart

- **`chart/1.10.0`** — New `deploymentAnnotations` value, rendered onto the
`Deployment` object's own `metadata.annotations`. Until now the chart only
exposed `podAnnotations`, which lands on the pod template — so controllers
that watch the workload metadata had no way in. The motivating case is
Stakater Reloader (`reloader.stakater.com/auto: "true"`): the TLS secret is
mounted with `subPath`, which kubelet never refreshes in place, so a renewed
certificate is only picked up when the pods restart. Without the annotation
the proxy keeps serving the expired certificate after cert-manager rotates
it, and every TLS client fails with `x509: certificate has expired`.
- **`chart/1.9.3`** — Dashboard usability + Go runtime panels.
- `Job` picker now defaults to **All** (`allValue: ".*s3proxy.*"`) and
restricts its dropdown to jobs whose name contains `s3proxy` via the
Expand Down
2 changes: 1 addition & 1 deletion charts/s3proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ maintainers:
annotations:
org.opencontainers.image.source: "https://github.com/intrinsec/s3proxy/"
type: application
version: 1.9.3
version: 1.10.0
appVersion: "1.8.1"
4 changes: 4 additions & 0 deletions charts/s3proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ metadata:
name: {{ include "s3proxy.fullname" . }}
labels:
{{- include "s3proxy.labels" . | nindent 4 }}
{{- with .Values.deploymentAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if not .Values.autoscaling.enabled }}
replicas: {{ .Values.replicaCount }}
Expand Down
1 change: 1 addition & 0 deletions charts/s3proxy/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"type": "object",
"additionalProperties": true
},
"deploymentAnnotations": { "type": "object" },
"podAnnotations": { "type": "object" },
"podLabels": { "type": "object" },
"podSecurityContext": { "type": "object" },
Expand Down
9 changes: 9 additions & 0 deletions charts/s3proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,15 @@ valsSecret: {}
# secretKey: ref+vault://s3proxy/secrets/secret-key
# encryptKey: ref+vault://s3proxy/secrets/encrypt-key

# Annotations set on the Deployment object itself (not the pod template).
# Required by controllers that watch the workload metadata, e.g. Stakater
# Reloader, which restarts the pods when the TLS secret is renewed:
# deploymentAnnotations:
# reloader.stakater.com/auto: "true"
# The cert secret is mounted with subPath, so kubelet never refreshes it
# in-place — a pod restart is the only way to pick up a renewed certificate.
deploymentAnnotations: {}

podAnnotations: {}
podLabels: {}

Expand Down
Loading