aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-06-21 17:52:25 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-07-02 06:11:54 +0000
commit2bbc4029830296f2e730c5580d675c7afcf21629 (patch)
treeebd4a5be86ab92eb2caba2c66d2577b3d029b054
parent48deb377b2b636734271f2129699db6c17b948d2 (diff)
[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 <sylvain.desbureaux@orange.com> Change-Id: I6e0fde7b2b413762158c58de94b933182203d9f1
-rw-r--r--kubernetes/aaf/requirements.yaml10
-rw-r--r--kubernetes/aaf/values.yaml9
2 files changed, 19 insertions, 0 deletions
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