Waiting for the transport certificates (/mnt/elastic-internal/transport-certificates/elasticsearch-sample-es-default-0.tls.key)

I want to debug es, so i commented on the following code in cmd/manager/main.go. But pod stop at init container (elastic-internal-init-filesystem).

      if operator.HasRole(operator.NamespaceOperator, roles) {
		//if err = apmserver.Add(mgr, params); err != nil {
		//	log.Error(err, "unable to create controller", "controller", "ApmServer")
		//	os.Exit(1)
		//}
		if err = elasticsearch.Add(mgr, params); err != nil {
			log.Error(err, "unable to create controller", "controller", "Elasticsearch")
			os.Exit(1)
		}
		//if err = kibana.Add(mgr, params); err != nil {
		//	log.Error(err, "unable to create controller", "controller", "Kibana")
		//	os.Exit(1)
		//}
		//if err = asesassn.Add(mgr, params); err != nil {
		//	log.Error(err, "unable to create controller", "controller", "ApmServerElasticsearchAssociation")
		//	os.Exit(1)
		//}
		//if err = kbassn.Add(mgr, params); err != nil {
		//	log.Error(err, "unable to create controller", "controller", "KibanaAssociation")
		//	os.Exit(1)
		//}
	}

Logs:

Starting init script
...
'/usr/share/elasticsearch/bin/x-pack' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack'
'/usr/share/elasticsearch/bin/x-pack/certgen' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/certgen'
'/usr/share/elasticsearch/bin/x-pack/users' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/users'
'/usr/share/elasticsearch/bin/x-pack/saml-metadata.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/saml-metadata.bat'
'/usr/share/elasticsearch/bin/x-pack/sql-cli.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/sql-cli.bat'
'/usr/share/elasticsearch/bin/x-pack/croneval' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/croneval'
'/usr/share/elasticsearch/bin/x-pack/certutil' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/certutil'
'/usr/share/elasticsearch/bin/x-pack/sql-cli' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/sql-cli'
'/usr/share/elasticsearch/bin/x-pack/migrate.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/migrate.bat'
'/usr/share/elasticsearch/bin/x-pack/certutil.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/certutil.bat'
'/usr/share/elasticsearch/bin/x-pack/setup-passwords' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/setup-passwords'
'/usr/share/elasticsearch/bin/x-pack/setup-passwords.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/setup-passwords.bat'
'/usr/share/elasticsearch/bin/x-pack/certgen.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/certgen.bat'
'/usr/share/elasticsearch/bin/x-pack/croneval.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/croneval.bat'
'/usr/share/elasticsearch/bin/x-pack/syskeygen.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/syskeygen.bat'
'/usr/share/elasticsearch/bin/x-pack/saml-metadata' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/saml-metadata'
'/usr/share/elasticsearch/bin/x-pack/syskeygen' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/syskeygen'
'/usr/share/elasticsearch/bin/x-pack/migrate' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/migrate'
'/usr/share/elasticsearch/bin/x-pack/users.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack/users.bat'
'/usr/share/elasticsearch/bin/x-pack-env' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-env'
'/usr/share/elasticsearch/bin/x-pack-env.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-env.bat'
'/usr/share/elasticsearch/bin/x-pack-security-env' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-security-env'
'/usr/share/elasticsearch/bin/x-pack-security-env.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-security-env.bat'
'/usr/share/elasticsearch/bin/x-pack-watcher-env' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-watcher-env'
'/usr/share/elasticsearch/bin/x-pack-watcher-env.bat' -> '/mnt/elastic-internal/elasticsearch-bin-local/x-pack-watcher-env.bat'
Files copy duration: 0 sec.
chowning /usr/share/elasticsearch/data to elasticsearch:elasticsearch
ownership of '/usr/share/elasticsearch/data' retained as elasticsearch:elasticsearch
chowning /usr/share/elasticsearch/logs to elasticsearch:elasticsearch
changed ownership of '/usr/share/elasticsearch/logs' from root:root to elasticsearch:elasticsearch
chown duration: 0 sec.
waiting for the transport certificates (/mnt/elastic-internal/transport-certificates/elasticsearch-sample-es-default-0.tls.key)

what should i do?

Already answered on Github: https://github.com/elastic/cloud-on-k8s/issues/2169
(no need to create threads in both places).

ok, thanks!