Commit 3e0c2033 authored by Alok Joshi's avatar Alok Joshi
Browse files

make policy integration a runtime config

parent 361de32a
Pipeline #31976 failed with stages
in 36 minutes and 26 seconds
......@@ -12,3 +12,6 @@ image:
repository: #{container-registry}#.azurecr.io
branch: #{ENVIRONMENT_NAME}#
tag: #{Build.SourceVersion}#
policy:
enabled: #{IS_POLICY_ENABLED}#
\ No newline at end of file
......@@ -103,6 +103,8 @@ spec:
value: debug
- name: partition_service_endpoint
value: http://partition/api/partition/v1
- name: is_policy_enabled
value: {{ .Values.policy.enabled }}
- name: policy_service_endpoint
value: http://policy-service/api/policy/v1
- name: azure_istioauth_enabled
......
......@@ -19,3 +19,6 @@ image:
repository: community.opengroup.org:5555/osdu/platform/system/search-service
branch: master
tag: latest
policy:
enabled: false
\ No newline at end of file
......@@ -77,5 +77,5 @@ management.health.elasticsearch.enabled=false
management.health.azure-key-vault.enabled=false
# Policy service properties
service.policy.enabled=false
service.policy.enabled=${is_policy_enabled}
POLICY_API=${policy_service_endpoint}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment