Skip to content
Snippets Groups Projects
Commit 84739a6c authored by Aliaksandr Ramanovich (EPAM)'s avatar Aliaksandr Ramanovich (EPAM) Committed by Marc Burnie [AWS]
Browse files

gc: update bootstrap templates

(cherry picked from commit 4b06380d)
parent 6cc2a0bf
No related branches found
No related tags found
No related merge requests found
Pipeline #283573 skipped
......@@ -139,7 +139,7 @@ baremetal_system_partition_data() {
"sensitive": false,
"value": "${INDEXER_AUGMENTER_ENABLED}"
},
"policy-service-enabled": {
"featureFlag.policy.enabled": {
"sensitive": false,
"value": "${POLICY_SERVICE_ENABLED}"
},
......
......@@ -2,7 +2,7 @@
# FIXME (GONRG-7695): Move elastic properties to additional partition when resolved
gc_system_partition_data() {
DATA_PARTITION_ID_UPPER="${DATA_PARTITION_ID_VALUE^^}"
DATA_PARTITION_ID_UPPER=$(echo "${DATA_PARTITION_ID_VALUE//-/_}" | tr '[:lower:]' '[:upper:]')
cat <<EOF
{
"properties": {
......@@ -78,13 +78,22 @@ gc_system_partition_data() {
"sensitive": false,
"value": "${PROJECT_ID}-system-schema"
},
"system.eds.enabled": {
"system.featureFlag.eds.enabled": {
"sensitive": false,
"value": "${EDS_ENABLED}"
},
"featureFlag.opa.enabled": {
"system.featureFlag.opa.enabled": {
"sensitive": false,
"value": "${POLICY_SERVICE_ENABLED}"
},
"system.featureFlag.policy.enabled": {
"sensitive": false,
"value": "${POLICY_SERVICE_ENABLED}"
},
"system.featureFlag.autocomplete.enabled": {
"sensitive": false,
"value": "${AUTOCOMPLETE_ENABLED}"
>>>>>>> 4b06380d (gc: update bootstrap templates)
}
}
}
......@@ -95,10 +104,6 @@ gc_additional_partition_data() {
cat <<EOF
{
"properties": {
"policy-service-enabled": {
"sensitive": false,
"value": "${POLICY_SERVICE_ENABLED}"
},
"kubernetes-secret-name": {
"sensitive": false,
"value": "eds-${DATA_PARTITION_ID_VALUE}"
......@@ -115,13 +120,21 @@ gc_additional_partition_data() {
"sensitive": false,
"value": "${PROJECT_ID}-${DATA_PARTITION_ID_VALUE}-schema"
},
"eds.enabled": {
"featureFlag.eds.enabled": {
"sensitive": false,
"value": "${EDS_ENABLED}"
},
"featureFlag.opa.enabled": {
"sensitive": false,
"value": "${POLICY_SERVICE_ENABLED}"
},
"featureFlag.policy.enabled": {
"sensitive": false,
"value": "${POLICY_SERVICE_ENABLED}"
},
"featureFlag.autocomplete.enabled": {
"sensitive": false,
"value": "${AUTOCOMPLETE_ENABLED}"
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment