Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
System
Search
Commits
3e0c2033
Commit
3e0c2033
authored
Mar 16, 2021
by
Alok Joshi
Browse files
make policy integration a runtime config
parent
361de32a
Pipeline
#31976
failed with stages
in 36 minutes and 26 seconds
Changes
4
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
devops/azure/chart/helm-config.yaml
View file @
3e0c2033
...
...
@@ -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
devops/azure/chart/templates/deployment.yaml
View file @
3e0c2033
...
...
@@ -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
...
...
devops/azure/chart/values.yaml
View file @
3e0c2033
...
...
@@ -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
provider/search-azure/src/main/resources/application.properties
View file @
3e0c2033
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment