diff --git a/Chart.yaml b/Chart.yaml index d19dde0..48d8b6a 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -6,4 +6,4 @@ keywords: - confidential-computing - confidential-containers name: sandboxed-containers -version: 0.0.1 +version: 0.2.0 diff --git a/README.md b/README.md index 250ba4e..8ae5944 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # sandboxed-containers -![Version: 0.0.1](https://img.shields.io/badge/Version-0.0.1-informational?style=flat-square) +![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) A Helm chart to provide an opinionated deployment of Sandboxed Containers in a validated pattern @@ -23,8 +23,6 @@ Along side this is a small number of imperative jobs which can be seen in the co | global.clusterPlatform | string | `""` | | | global.secretStore.backend | string | `""` | | | sandbox.sshKey | string | `"secret/data/global/sshKey"` | | -| secretStore.kind | string | `""` | | -| secretStore.name | string | `""` | | ---------------------------------------------- Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) diff --git a/templates/ssh-key-eso.yaml b/templates/ssh-key-eso.yaml index 7d13ab4..5c5a2a2 100644 --- a/templates/ssh-key-eso.yaml +++ b/templates/ssh-key-eso.yaml @@ -1,4 +1,4 @@ -{{- if and (ne .Values.global.secretStore.backend "none") (eq .Values.global.clusterPlatform "Azure") }} +{{- if and (dig "coco" "enableSSHDebug" false .Values.global) (ne (.Values.global.secretStore.backend | default "none") "none") (eq (.Values.global.clusterPlatform | default "") "Azure") }} --- apiVersion: "external-secrets.io/v1beta1" kind: ExternalSecret @@ -19,4 +19,4 @@ spec: dataFrom: - extract: key: {{ .Values.sandbox.sshKey }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/values.yaml b/values.yaml index 50a5cbf..1f46102 100644 --- a/values.yaml +++ b/values.yaml @@ -4,19 +4,10 @@ # Global values used by this chart (overridden by values-global.yaml) global: - clusterPlatform: "" # Cluster platform: "Azure" or "AWS" + clusterPlatform: "" secretStore: - # Secret store backend, typically overridden by values-global.yaml backend: "" -# Secret store configuration (overridden by values-global.yaml) -secretStore: - name: "" - kind: "" - # Sandbox-specific configuration sandbox: sshKey: secret/data/global/sshKey - # These variables today limit to one cluster - # revise using imperative framework to infer from cluster vars - # Strongly advised to override in values-global.yaml or values-{cluster-group}.yaml \ No newline at end of file