Question

IFS Cloud/DocMan - error in defining fileshare

  • 1 March 2024
  • 2 replies
  • 45 views

Userlevel 5
Badge +11

Hello,

while configuring File share on IFS Cloud/DocMan. after entering required values in ifscloud-values

ifsStorageSmbCredentials:

name: ifs-storage-smb-credentials

data:

- key:

     username value: ifs

- key:

    password value: ifs123

- key:

   domain value: MYDOMAIN

and running installer, getting following error

upgrade.go:502: [debug] resetting values to the chart's original version
Error: UPGRADE FAILED: template: ifs-cloud/charts/ifscore/templates/secrets.yaml:108:82: executing "ifs-cloud/charts/ifscore/templates/secrets.yaml" at <b64enc>: wrong type for value; expected string; got []interface {}
helm.go:84: [debug] template: ifs-cloud/charts/ifscore/templates/secrets.yaml:108:82: executing "ifs-cloud/charts/ifscore/templates/secrets.yaml" at <b64enc>: wrong type for value; expected string; got []interface {}
UPGRADE FAILED
main.newUpgradeCmd.func2
        helm.sh/helm/v3/cmd/helm/upgrade.go:201
github.com/spf13/cobra.(*Command).execute
        github.com/spf13/cobra@v1.5.0/command.go:872
github.com/spf13/cobra.(*Command).ExecuteC
        github.com/spf13/cobra@v1.5.0/command.go:990
github.com/spf13/cobra.(*Command).Execute
        github.com/spf13/cobra@v1.5.0/command.go:918
main.main
        helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
        runtime/proc.go:250
runtime.goexit
        runtime/asm_amd64.s:1571
SEVERE: Failed to install ifs-cloud

 

KIndly advise

Regards


2 replies

Userlevel 7
Badge +30

That setup has nothing to do with Docman and everything to do with setting up IFS Cloud File Storage. We will move this question to the framework section.

Userlevel 2
Badge +6

have you actually edited the yaml file correctly?

https://docs.ifs.com/techdocs/23r2/070_remote_deploy/400_installation_options/120_file_storage_for_remote/122_installation_guide/#configure_smb_share_path

ifscore:

secrets:

... ...

ifsStorageSmbCredentials:

name: ifs-storage-smb-credentials

data:

  - key: username

value: ifs

  - key: password

  value: ifs123

  - key: domain

  value: MYDOMAIN

Reply