Skip to content

Commit 82b54e1

Browse files
committed
fix(helm): drop hardcoded secret namespace
1 parent 7362334 commit 82b54e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/k8s-ssh-bastion/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: v1
22
appVersion: 0.4.1
33
description: A Helm chart for k8s bastion
44
name: k8s-ssh-bastion
5-
version: 0.5.0
5+
version: 0.5.1

charts/k8s-ssh-bastion/templates/jobs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
- |
1818
cd /etc/ssh
1919
for key_type in rsa ecdsa ed25519; do
20-
if kubectl -n k8s-bastion get secrets {{ .Release.Name }}-${key_type} -o name; then
20+
if kubectl get secrets {{ .Release.Name }}-${key_type} -o name; then
2121
continue
2222
fi
2323
lengh=4096

0 commit comments

Comments
 (0)