diff options
author | Bruno Sakoto <bruno.sakoto@bell.ca> | 2022-03-14 22:50:52 -0400 |
---|---|---|
committer | Sylvain Desbureaux <sylvain.desbureaux@orange.com> | 2022-03-22 08:35:26 +0000 |
commit | 5470cda865785bd638aab556dfdb127ce97913ef (patch) | |
tree | 4aa4bb17a254047ec9b9650287e8b0a5036d67b9 | |
parent | f91c26bb28e7ee59ccc941647190c18257f23a01 (diff) |
[CPS] Configure roles-wrapper dependency
If needed, RBAC roles are created when deploying cps chart.
This change is coming from the need to deploy cps chart standalone
independently from onap main chart.
A previous change has been made in
https://gerrit.onap.org/r/c/oom/+/126713 and reverted with
https://gerrit.onap.org/r/c/oom/+/126961 for onap main chart
compatibility.
Then this current change supports both integrated and standalone cps
deployments depending on a configurable variable. Default deployment
remains onap integrated one.
Issue-ID: CPS-862
Change-Id: Ic787a8bcf9373f060a91966614a0145dec2a7c90
Signed-off-by: Bruno Sakoto <bruno.sakoto@bell.ca>
-rw-r--r-- | kubernetes/cps/Chart.yaml | 4 | ||||
-rwxr-xr-x | kubernetes/cps/values.yaml | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/kubernetes/cps/Chart.yaml b/kubernetes/cps/Chart.yaml index 5e951d7beb..9052e00058 100644 --- a/kubernetes/cps/Chart.yaml +++ b/kubernetes/cps/Chart.yaml @@ -23,6 +23,10 @@ dependencies: - name: common version: ~10.x-0 repository: '@local' + - name: roles-wrapper + version: ~10.x-0 + repository: '@local' + condition: standaloneDeployment - name: cps-core version: ~10.x-0 repository: '@local' diff --git a/kubernetes/cps/values.yaml b/kubernetes/cps/values.yaml index 6093fa72fa..754b016fe8 100755 --- a/kubernetes/cps/values.yaml +++ b/kubernetes/cps/values.yaml @@ -32,6 +32,9 @@ secrets: passwordPolicy: generate passwordStrengthOverride: basic + +standaloneDeployment: false + global: ingress: virtualhost: |