to automate the product deployment on K8s cluster we are using replicated pods which are being installed at the begining. and to autofill the app configs we have created below configmaps: /host/etc/replicated.conf /host/etc/settings.conf /host/etc/license.rli
below is the content of replicated.conf configmap:
{
“BypassPreflightChecks”: true,
“DaemonAuthenticationType”: “password”,
“DaemonAuthenticationPassword”: “${ReplicatedAdminSecret}”,
“ImportSettingsFrom”: “/host/etc/settings.conf”,
“LicenseFileLocation”: “/host/etc/license.rli”,
“LogLevel”: “debug”,
“ReleaseSequence”: 4171,
“TlsBootstrapType”: “self-signed”
}
when we are deploying the replicated pods its able to read the replicated.conf configmap but not settings.conf and license.rli. we are getting below error:
ERRO 2020-03-24T11:19:40+00:00 daemon/daemon.go:387 License bootstrap failed: license file does not exist at location /host/etc/license.rli
would appreciate any guidance or suggestion on this.
first we are creating an infra resources for our product stack with help of Cloudformation templates. in this we are deploying Replicated through lambda on EKS cluster.
to make it automated for every new deployments or new env setup. we are creating a config map for replicated.conf, settings.conf and license.rli. and mounting them to replicated pods.
strange behavior is replicated pods able to read replicated.conf which is mounted from configmaps. but not settings.conf and license.rli