Skip to content

Commit

Permalink
Merge pull request #114 from sinto-aot/master
Browse files Browse the repository at this point in the history
Added Language in forms-flow-web
  • Loading branch information
amal-k-soman-aot authored Oct 21, 2024
2 parents 54196c5 + ee0d3d8 commit c93d9bd
Show file tree
Hide file tree
Showing 24 changed files with 32 additions and 22 deletions.
4 changes: 2 additions & 2 deletions Notes.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 🚨 Important Notice: Upgrade Impact on forms-flow-ai-charts (Helm) v7.1.1
# 🚨 Important Notice: Upgrade Impact on forms-flow-ai-charts (Helm) v7.1.2

## Key Points:

1. **Database Backup**: The latest upgrade (v7.1.1) will affect existing data. Please ensure you backup your database before proceeding with the upgrade.
1. **Database Backup**: The latest upgrade (v7.1.2) will affect existing data. Please ensure you backup your database before proceeding with the upgrade.

2. **Environment Changes**: Changes to the environment variables will not affect the deployment unless there are modifications to the database.

Expand Down
2 changes: 1 addition & 1 deletion charts/forms-flow-admin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ apiVersion: v2
name: forms-flow-admin
tags: forms-flow-admin
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
version: v7.1.1
version: v7.1.2
2 changes: 1 addition & 1 deletion charts/forms-flow-ai/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.x.x
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
1 change: 1 addition & 0 deletions charts/forms-flow-ai/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ mongodb:
- ReadWriteOnce
size: 8Gi
mountPath: /bitnami/mongodb
storageClass: ""
serviceAccount:
create: true

Expand Down
2 changes: 1 addition & 1 deletion charts/forms-flow-analytics/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
apiVersion: v2
name: forms-flow-analytics
tags: forms-flow-analytics
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
apiVersion: v2
name: forms-flow-api
tags: forms-flow-api
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-bpm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: v2
name: forms-flow-bpm
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-data-analysis/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
apiVersion: v2
name: forms-flow-data-analysis
tags: forms-flow-data-analysis
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-documents-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
apiVersion: v2
name: forms-flow-documents-api
tags: forms-flow-documents-api
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-forms/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: v2
name: forms-flow-forms
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-idm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2
name: forms-flow-idm
version: v7.1.1
version: v7.1.2
dependencies:
- name: keycloak
version: 19.1.0
Expand Down
2 changes: 1 addition & 1 deletion charts/forms-flow-ssl/forms-flow-admin/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: forms-flow-admin
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-ssl/forms-flow-analytics/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: forms-flow-analytics
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-ssl/forms-flow-api/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: forms-flow-api
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-ssl/forms-flow-bpm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: forms-flow-bpm
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-ssl/forms-flow-data-analysis/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: forms-flow-data-analysis
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-ssl/forms-flow-documents-api/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: forms-flow-documents-api
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-ssl/forms-flow-forms/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: forms-flow-forms
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-ssl/forms-flow-idm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: forms-flow-idm
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-ssl/forms-flow-web/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: v2
name: forms-flow-web
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
2 changes: 1 addition & 1 deletion charts/forms-flow-web/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: v2
name: forms-flow-web
version: v7.1.1
version: v7.1.2
icon: "https://raw.githubusercontent.com/AOT-Technologies/forms-flow-ai/develop/.images/logo.png"
5 changes: 4 additions & 1 deletion charts/forms-flow-web/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ data:
ENABLE_DASHBOARDS_MODULE: "true"
ENABLE_PROCESSES_MODULE: "true"
ENABLE_APPLICATIONS_MODULE: "true"
REACT_APP_LANGUAGE: "{{tpl .Values.Language .}}"

---
apiVersion: v1
kind: ConfigMap
Expand Down Expand Up @@ -63,5 +65,6 @@ data:
"REACT_APP_ENABLE_CHATBOT": "${REACT_APP_ENABLE_CHATBOT}",
"REACT_APP_CHATBOT_URL": "${REACT_APP_CHATBOT_URL}",
"REACT_APP_ENABLE_LOW_CODE_DESIGNER": "${ENABLE_LOW_CODE_DESIGNER}",
"REACT_APP_KEYCLOAK_URL_HTTP_RELATIVE_PATH": "${KEYCLOAK_URL_HTTP_RELATIVE_PATH}"
"REACT_APP_KEYCLOAK_URL_HTTP_RELATIVE_PATH": "${KEYCLOAK_URL_HTTP_RELATIVE_PATH}",
"REACT_APP_LANGUAGE": "${REACT_APP_LANGUAGE}"
}
5 changes: 5 additions & 0 deletions charts/forms-flow-web/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,11 @@ spec:
configMapKeyRef:
key: KEYCLOAK_URL_HTTP_RELATIVE_PATH
name: "{{ .Values.formsflow.configmap }}"
- name: REACT_APP_LANGUAGE
valueFrom:
configMapKeyRef:
key: REACT_APP_LANGUAGE
name: "{{ .Chart.Name }}"

image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
lifecycle:
Expand Down
1 change: 1 addition & 0 deletions charts/forms-flow-web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ config_path: /usr/share/nginx/html/config/
webclient: "{{.Chart.Name}}"
webname: formsflow
UserAccesPermissions: ""
Language: ""

0 comments on commit c93d9bd

Please sign in to comment.