Skip to content

Commit

Permalink
Hcm bff helm allowedfiles (#2258)
Browse files Browse the repository at this point in the history
* Feat : Added hcm-bff helm chart

* Changed Namespace

* Feat : Added allowed file formats

* Update values.yaml
  • Loading branch information
ashish-egov authored Jan 2, 2024
1 parent 0b2a188 commit 0126cd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ env: |
name: egov-service-host
key: egov-filestore
- name: CONTEXT_PATH
value: "/egov-bff"
value: "/hcm-bff"
- name: EGOV_HOST
valueFrom:
configMapKeyRef:
name: egov-config
key: egov-services-fqdn-name
key: egov-services-fqdn-name
2 changes: 1 addition & 1 deletion deploy-as-code/helm/environments/unified-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ egov-filestore:
aws.s3.url : "https://s3.amazonaws.com"
is-s3-enabled: "true"
minio-enabled: false
allowed-file-formats-map: "{jpg:{'image/jpg','image/jpeg'},jpeg:{'image/jpeg','image/jpg'},png:{'image/png'},pdf:{'application/pdf'},odt:{'application/vnd.oasis.opendocument.text'},ods:{'application/vnd.oasis.opendocument.spreadsheet'},docx:{'application/x-tika-msoffice','application/x-tika-ooxml','application/vnd.oasis.opendocument.text','application/msword'},doc:{'application/x-tika-msoffice','application/x-tika-ooxml','application/vnd.oasis.opendocument.text','application/msword'},dxf:{'text/plain','application/dxf','application/octet-stream','image/vnd.dxf','image/vnd.dxf; format=ascii','image/vnd.dxf; format=binary','image/vnd.dxb'},csv:{'text/plain'},txt:{'text/plain'},xlsx:{'application/x-tika-ooxml','application/x-tika-msoffice','application/vnd.ms-excel'},xls:{'application/x-tika-ooxml','application/x-tika-msoffice','application/vnd.ms-excel'}}"
allowed-file-formats-map: "{jpg:{'image/jpg','image/jpeg'},jpeg:{'image/jpeg','image/jpg'},png:{'image/png'},pdf:{'application/pdf'},odt:{'application/vnd.oasis.opendocument.text'},ods:{'application/vnd.oasis.opendocument.spreadsheet'},docx:{'application/x-tika-msoffice','application/x-tika-ooxml','application/vnd.oasis.opendocument.text','application/msword'},doc:{'application/x-tika-msoffice','application/x-tika-ooxml','application/vnd.oasis.opendocument.text','application/msword'},dxf:{'text/plain','application/dxf','application/octet-stream','image/vnd.dxf','image/vnd.dxf; format=ascii','image/vnd.dxf; format=binary','image/vnd.dxb'},csv:{'text/plain'},txt:{'text/plain'},xlsx:{'application/x-tika-ooxml','application/x-tika-msoffice','application/vnd.ms-excel','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','application/zip'},xls:{'application/x-tika-ooxml','application/x-tika-msoffice','application/vnd.ms-excel'}}"
allowed-file-formats: "jpg,jpeg,png,doc,docx,pdf,odt,ods,text,dxf,xls,xlsx"
filestore-url-validity: 3600
fixed-bucketname: "unified-dev-bucket-s3"
Expand Down

0 comments on commit 0126cd9

Please sign in to comment.