From 2bbc4029830296f2e730c5580d675c7afcf21629 Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Mon, 21 Jun 2021 17:52:25 +0200 Subject: [AAF] Allow to choose which subcomponents to run AAF has 4 sub components underneath: - AAF Authz (for generating, signing the certificates) - AAF Hello (example on how to use AAF Authz) - AAF SMS (for storing sensible values in Vault) - AAF SSHMS (for using TPM devices) This commits allows to choose which components will be used by default. As SSHMS is not updated for a while and AAF Hello is an example, we also disable them. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux Change-Id: I6e0fde7b2b413762158c58de94b933182203d9f1 --- kubernetes/aaf/requirements.yaml | 10 ++++++++++ kubernetes/aaf/values.yaml | 9 +++++++++ 2 files changed, 19 insertions(+) diff --git a/kubernetes/aaf/requirements.yaml b/kubernetes/aaf/requirements.yaml index 5e1f33fa36..e5dd29adc4 100644 --- a/kubernetes/aaf/requirements.yaml +++ b/kubernetes/aaf/requirements.yaml @@ -19,30 +19,40 @@ dependencies: - name: aaf-cass version: ~8.x-0 repository: 'file://components/aaf-cass' + condition: aaf-authz.enabled - name: aaf-cm version: ~8.x-0 repository: 'file://components/aaf-cm' + condition: aaf-authz.enabled - name: aaf-fs version: ~8.x-0 repository: 'file://components/aaf-fs' + condition: aaf-authz.enabled - name: aaf-gui version: ~8.x-0 repository: 'file://components/aaf-gui' + condition: aaf-authz.enabled - name: aaf-hello version: ~8.x-0 repository: 'file://components/aaf-hello' + condition: aaf-hello.enabled - name: aaf-locate version: ~8.x-0 repository: 'file://components/aaf-locate' + condition: aaf-authz.enabled - name: aaf-oauth version: ~8.x-0 repository: 'file://components/aaf-oauth' + condition: aaf-authz.enabled - name: aaf-service version: ~8.x-0 repository: 'file://components/aaf-service' + condition: aaf-authz.enabled - name: aaf-sms version: ~8.x-0 repository: 'file://components/aaf-sms' + condition: aaf-sms.enabled - name: aaf-sshsm version: ~8.x-0 repository: 'file://components/aaf-sshsm' + condition: aaf-sshsm.enabled diff --git a/kubernetes/aaf/values.yaml b/kubernetes/aaf/values.yaml index 9d032b599a..ee86a2f0ca 100644 --- a/kubernetes/aaf/values.yaml +++ b/kubernetes/aaf/values.yaml @@ -96,3 +96,12 @@ ingress: persistence: {} resources: {} + +aaf-authz: + enabled: true +aaf-hello: + enabled: false +aaf-sms: + enabled: true +aaf-sshsm: + enabled: false -- cgit 1.2.3-korg