Skip to content

Commit

Permalink
Updated configmap and values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kiran-aot committed Jan 10, 2025
1 parent 1b824a7 commit 73526c8
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 9 deletions.
2 changes: 2 additions & 0 deletions charts/forms-flow-ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ mongodb:
| `ipaas.embed_base_url` | Base URL for embedded services. | `""` |
| `ipaas.api_base_url` | Base URL for API services. | `""` |
| `configure_logs` | Enable or disable logging configuration. | `true` |
| `custom_submission_url` | Base URL for form adapter | `""` |
| `custom_submission_enabled` | Enable or disable form adapter | `false` |

## Forms Flow Component Parameters

Expand Down
4 changes: 2 additions & 2 deletions charts/forms-flow-ai/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ data:
MULTI_TENANCY_ENABLED: "{{ index .Values "forms-flow-web" "EnableMultitenant" }}"
DATA_ANALYSIS_URL: https://{{ tpl (index .Values "forms-flow-web" "ingress" "hostname") . }}/analysis
NODE_ENV: "production"
CUSTOM_SUBMISSION_URL: ""
CUSTOM_SUBMISSION_ENABLED: "false"
CUSTOM_SUBMISSION_URL: "{{ .Values.custom_submission_url }}"
CUSTOM_SUBMISSION_ENABLED: "{{ .Values.custom_submission_enabled }}"
FORMSFLOW_DOC_API_URL: https://{{ tpl (index .Values "forms-flow-web" "ingress" "hostname") . }}/docapi
DRAFT_ENABLED: "{{ .Values.draft_enabled }}"
DRAFT_POLLING_RATE: "15000"
Expand Down
2 changes: 2 additions & 0 deletions charts/forms-flow-ai/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ draft_enabled: "true"
export_pdf_enabled: "false"
elastic_server: "forms-flow-elastic:9200"
redis_url: "redis://redis-exporter:6379/1"
custom_submission_url: ""
custom_submission_enabled: "false"
ipaas:
embedded_api_key: ""
jwt_private_key: ""
Expand Down
7 changes: 7 additions & 0 deletions charts/forms-flow-web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,13 @@ These environment variables will be used to enable EE-specific features in forms
| `autoscaling.targetMemory` | Target memory utilization percentage for autoscaling. | `""` |
| `autoscaling.behavior.scaleUp` | Scaling behavior when scaling up. | `{ stabilizationWindowSeconds: 120, selectPolicy: Max, policies: [] }` |
| `autoscaling.behavior.scaleDown` | Scaling behavior when scaling down. | `{ stabilizationWindowSeconds: 300, selectPolicy: Max, policies: [{ type: Pods, value: 1, periodSeconds: 300 }] }` |
| `enable_forms_module` | Enable or disable tasks module | `true` |
| `enable_tasks_module` | Enable or disable tasks module | `true` |
| `enable_dashboards_module` | Enable or disable dashboards module | `true` |
| `enable_processes_module` | Enable or disable process module | `true` |
| `enable_applications_module` | Enable or disable application module | `true` |
| `public_workflow_enabled` | Enable or disable workflow - public | `false` |
| `opentelemetry_service` | Enable or disable opentelemetry service | `false` |


## Ingress Parameters
Expand Down
14 changes: 7 additions & 7 deletions charts/forms-flow-web/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ data:
KEYCLOAK_CLIENT: "{{ tpl .Values.webclient . }}"
APPLICATION_NAME: "{{ tpl .Values.webname . }}"
USER_ACCESS_PERMISSIONS: "{{ .Values.UserAccesPermissions }}"
PUBLIC_WORKFLOW_ENABLED: "false"
OPENTELEMETRY_SERVICE: "false"
PUBLIC_WORKFLOW_ENABLED: "{{ tpl .Values.web.public_workflow_enabled . }}"
OPENTELEMETRY_SERVICE: "{{ tpl .Values.web.opentelemetry_service . }}"
WEB_BASE_CUSTOM_URL: "{{ tpl .Values.web.base_custom_url . }}"
CUSTOM_THEME_URL: "{{ tpl .Values.web.custom_theme_url . }}"
ENABLE_FORMS_MODULE: "true"
ENABLE_TASKS_MODULE: "true"
ENABLE_DASHBOARDS_MODULE: "true"
ENABLE_PROCESSES_MODULE: "true"
ENABLE_APPLICATIONS_MODULE: "true"
ENABLE_FORMS_MODULE: "{{ tpl .Values.web.enable_forms_module . }}"
ENABLE_TASKS_MODULE: "{{ tpl .Values.web.enable_tasks_module . }}"
ENABLE_DASHBOARDS_MODULE: "{{ tpl .Values.web.enable_dashboards_module . }}"
ENABLE_PROCESSES_MODULE: "{{ tpl .Values.web.enable_processes_module . }}"
ENABLE_APPLICATIONS_MODULE: "{{ tpl .Values.web.enable_applications_module . }}"
REACT_APP_LANGUAGE: "{{ tpl .Values.Language . }}"
REACT_APP_SHOW_PREMIUM_ICON: "{{ tpl .Values.ShowPremiumIcon . }}"
REACT_APP_IS_ENTERPRISE: "{{ tpl .Values.IsEnterPrise . }}"
Expand Down
7 changes: 7 additions & 0 deletions charts/forms-flow-web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,13 @@ analytics:
web:
base_custom_url: ""
custom_theme_url: ""
enable_forms_module: "true"
enable_tasks_module: "true"
enable_dashboards_module: "true"
enable_processes_module: "true"
enable_applications_module: "true"
public_workflow_enabled: "false"
opentelemetry_service: "false"
config_path: /usr/share/nginx/html/config/
webclient: "{{ .Chart.Name }}"
webname: formsflow
Expand Down

0 comments on commit 73526c8

Please sign in to comment.