[AAF] Allow to choose which subcomponents to run 81/122081/10
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 21 Jun 2021 15:52:25 +0000 (17:52 +0200)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Fri, 2 Jul 2021 06:11:54 +0000 (06:11 +0000)
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 <sylvain.desbureaux@orange.com>
Change-Id: I6e0fde7b2b413762158c58de94b933182203d9f1

kubernetes/aaf/requirements.yaml
kubernetes/aaf/values.yaml

index 5e1f33f..e5dd29a 100644 (file)
@@ -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
index 9d032b5..ee86a2f 100644 (file)
@@ -96,3 +96,12 @@ ingress:
 persistence: {}
 
 resources: {}
+
+aaf-authz:
+  enabled: true
+aaf-hello:
+  enabled: false
+aaf-sms:
+  enabled: true
+aaf-sshsm:
+  enabled: false