From b469fa83cf1c6e52b19d40a9defdb9d2e4cf9b40 Mon Sep 17 00:00:00 2001 From: Andrea Peruffo Date: Fri, 27 Nov 2020 17:07:55 +0000 Subject: [PATCH] Disable the default secrets creation (#902) --- kubectl-cloudflow/cmd/deploy_command.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kubectl-cloudflow/cmd/deploy_command.go b/kubectl-cloudflow/cmd/deploy_command.go index 6c7935def..9f0b51492 100644 --- a/kubectl-cloudflow/cmd/deploy_command.go +++ b/kubectl-cloudflow/cmd/deploy_command.go @@ -194,7 +194,8 @@ func (opts *deployOptions) deployImpl(cmd *cobra.Command, args []string) { ownerReference := createOrUpdateCloudflowApplication(appClient, applicationSpec) appInputSecret = config.UpdateSecretWithOwnerReference(ownerReference, appInputSecret) - createStreamletSecretsIfMissing(k8sClient, applicationSpec, ownerReference) + // TODO: re-enable once this solution is more stable + // createStreamletSecretsIfMissing(k8sClient, applicationSpec, ownerReference) createOrUpdateAppInputSecret(k8sClient, namespace, appInputSecret) serviceAccount := newCloudflowServiceAccountWithImagePullSecrets(namespace)