Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Helm-Service deployment fails when enabling Remote Control Plane #11

Open
OmarNour14 opened this issue May 24, 2023 · 0 comments
Open

Comments

@OmarNour14
Copy link

Description:

When deploying the helm service with the latest version. And setting the remoteControlPlane.Enabled value = true
The helm-service deployment fails.

Error Message:

Error: INSTALLATION FAILED: template: helm-service/templates/tests/test-api-connection.yaml:6:14: executing "helm-service/templates/tests/test-api-connection.yaml" at <include "keptn.common.labels.standard" .>: error calling include: template: no template "keptn.common.labels.standard" associated with template "gotpl"

Steps to re-produce the error

  1. $ HELM_SERVICE_VERSION=0.18.1
  2. $ helm install helm-service https://github.com/keptn-contrib/helm-service/releases/download/$HELM_SERVICE_VERSION/helm-service-$HELM_SERVICE_VERSION.tgz -n keptn --create-namespace --set remoteControlPlane.enabled=true --set remoteControlPlane.api.hostname="<HOST_NAME>" --set remoteControlPlane.api.token=<API_KEY>

Cause

I've noticed that the test-api-connection.yaml is using {{- include "keptn.common.labels.standard" . | nindent 4 }}
and the template file containing the "keptn.common.labels.standard" template is not present

Fix

  • Adding the common template
  • Replacing {{- include "keptn.common.labels.standard" . | nindent 4 }} with {{- include "helm-service.labels" . | nindent 4 }}
@OmarNour14 OmarNour14 changed the title Helm-Service Deployment fails when enabling Remote Control Plane Helm-Service deployment fails when enabling Remote Control Plane May 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant