Skip to content

Commit 5abac98

Browse files
feat: optional ssh debug when debug configuration is setup (#7)
* feat: remove ssh key Signed-off-by: Chris Butler <chris.butler@redhat.com> * feat: optional SSH debug key injection for podvm * fix: nil-safe check for enableSSHDebug in template * chore: version bump Signed-off-by: Chris Butler <chris.butler@redhat.com> * chore: version bump Signed-off-by: Chris Butler <chris.butler@redhat.com> * fix: version bump Signed-off-by: Chris Butler <chris.butler@redhat.com> * fix: helm linting issues Signed-off-by: Chris Butler <chris.butler@redhat.com> --------- Signed-off-by: Chris Butler <chris.butler@redhat.com> Co-authored-by: Beraldo Leal <bleal@redhat.com>
1 parent 0adb849 commit 5abac98

4 files changed

Lines changed: 5 additions & 16 deletions

File tree

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ keywords:
66
- confidential-computing
77
- confidential-containers
88
name: sandboxed-containers
9-
version: 0.0.1
9+
version: 0.2.0

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sandboxed-containers
22

3-
![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square)
3+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square)
44

55
A Helm chart to provide an opinionated deployment of Sandboxed Containers in a validated pattern
66

@@ -23,8 +23,6 @@ Along side this is a small number of imperative jobs which can be seen in the co
2323
| global.clusterPlatform | string | `""` | |
2424
| global.secretStore.backend | string | `""` | |
2525
| sandbox.sshKey | string | `"secret/data/global/sshKey"` | |
26-
| secretStore.kind | string | `""` | |
27-
| secretStore.name | string | `""` | |
2826

2927
----------------------------------------------
3028
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)

templates/ssh-key-eso.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (ne .Values.global.secretStore.backend "none") (eq .Values.global.clusterPlatform "Azure") }}
1+
{{- if and (dig "coco" "enableSSHDebug" false .Values.global) (ne (.Values.global.secretStore.backend | default "none") "none") (eq (.Values.global.clusterPlatform | default "") "Azure") }}
22
---
33
apiVersion: "external-secrets.io/v1beta1"
44
kind: ExternalSecret
@@ -19,4 +19,4 @@ spec:
1919
dataFrom:
2020
- extract:
2121
key: {{ .Values.sandbox.sshKey }}
22-
{{- end }}
22+
{{- end }}

values.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,10 @@
44

55
# Global values used by this chart (overridden by values-global.yaml)
66
global:
7-
clusterPlatform: "" # Cluster platform: "Azure" or "AWS"
7+
clusterPlatform: ""
88
secretStore:
9-
# Secret store backend, typically overridden by values-global.yaml
109
backend: ""
1110

12-
# Secret store configuration (overridden by values-global.yaml)
13-
secretStore:
14-
name: ""
15-
kind: ""
16-
1711
# Sandbox-specific configuration
1812
sandbox:
1913
sshKey: secret/data/global/sshKey
20-
# These variables today limit to one cluster
21-
# revise using imperative framework to infer from cluster vars
22-
# Strongly advised to override in values-global.yaml or values-{cluster-group}.yaml

0 commit comments

Comments
 (0)