Hi,
we tried to do a fresh install from an initial Build_Home via PowerShell command:
.\installer.cmd --values ..\..\..\config\ifscloud-values.yaml --values solutionset.yaml --set dbInstaller.sysPassword=example
.However, this fails because there is an issue with the Helm chart template(see log below).
The installation process gets the ifs-cloud-212.2.0.tgz (incl. the secrets.yaml file) from the repository and will temporarily stored in folder C:\Users\ifs\AppData\Local\Temp\helm\repository.
Ifscloud-values.yaml and main_config.json have been prepared as far as described in the documentation.
Maybe the error is due to a missing parameter in Ifscloud-values.yaml?
############ Ifscloud-values.yaml #################
selfSignedCertificateFile: ..\..\..\config\certs\ifsRoot.pfx
selfSignedPassword: xxxxxxxx
# Repository and credentials to helm repo where charts are stored
helmRepo: https://ifscloud.jfrog.io/artifactory/helm
helmUser: xxx
helmPwd: xxx
logFileLocation: ..\..\..\logs\ifscloudinstaller
global:
namespace: devtest
customerCode: cust2
environmentType: dev
replicas: 1
systemUrl: k8s.test.com
containerRegistry: ifscloud.jfrog.io/docker/
imageCredentials:
username: xxxxxxxxxxxx
password: xxxxxxxxxxxx
scale: 10
replicas: 1
ifscore:
secrets:
jdbcUrl:
name: ifs-jdbc-url
data: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=x.x.x.x)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pdb)))
passwords:
ifsiamAdminPw:
name: ifsiam-admin-pw
data: xxxxxxxx
ifsadminPassword:
name: ifsadmin-pw
data: xxxxxxxx
ifsiamPassword:
name: ifsiam-password
data: xxxxxxxx
ifssysPassword:
name: ifssys-password
data: xxxxxxxx
ifsappmonitorPw:
name: ifsappmonitor-pw
data: xxxxxxxx
ifsmonPassword:
name: ifsmon-password
data: xxxxxxxx
ifsreadonlysuppPw:
name: ifsreadonlysupp-pw
data: xxxxxxxx
ifsappproxy:
accessLogEnabled: false
ifsappodata:
replicas: 2
ifsappdoc:
replicas: 0
dbInstaller:
ifsappPassword: example
############# end of Ifscloud-values.yaml ########################
log excerpt
/Wed Jul 27 22:21:03 CEST 2022] - INFO: Generating symmetric-key. This will only be persisted if the secret, 'symmetric-key' does not exist.
lWed Jul 27 22:21:03 CEST 2022] - INFO: Installing ifs-cloud
nWed Jul 27 22:21:03 CEST 2022] - INFO: Using chart ifscloud/ifs-cloud --version 212.2.0
rWed Jul 27 22:21:03 CEST 2022] - INFO: Doing a dry-run ..
tWed Jul 27 22:21:04 CEST 2022] - SEVERE: Failed to install ifs-cloud
/Wed Jul 27 22:21:04 CEST 2022] - SEVERE: Failed to install ifs-cloud. Collected logs from command:
"ifscloud" has been added to your repositories
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "ifscloud" chart repository
Update Complete. ⎈Happy Helming!⎈
INFO: Installing ifs-cloud
INFO: Using chart ifscloud/ifs-cloud --version 212.2.0
INFO: Doing a dry-run ..
INFO: Running helm upgrade
history.go:53: Ndebug] getting history for release ifs-cloud
Release "ifs-cloud" does not exist. Installing it now.
install.go:172: Rdebug] Original chart version: "212.2.0"
install.go:189: ydebug] CHART PATH: C:\Users\ifs\AppData\Local\Temp\helm\repository\ifs-cloud-212.2.0.tgz
Error: template: ifs-cloud/charts/ifscore/templates/secrets.yaml:6:55: executing "ifs-cloud/charts/ifscore/templates/secrets.yaml" at <.name>: nil pointer evaluating interface {}.name
helm.go:94: rdebug] template: ifs-cloud/charts/ifscore/templates/secrets.yaml:6:55: executing "ifs-cloud/charts/ifscore/templates/secrets.yaml" at <.name>: nil pointer evaluating interface {}.name
SEVERE: Failed to install ifs-cloud
uWed Jul 27 22:21:04 CEST 2022] - SEVERE: Validation failed.