Skip to content

Conversation

@aminmaghsodi
Copy link

@aminmaghsodi aminmaghsodi commented Sep 14, 2025

We need deployments have their specific namespaces.

if you run commands:
helm show values openebs/openebs > values.yaml
helm template openebs openebs/openebs --namespace openebs -f values.yaml > openebs-generated-values.yaml

You see many blocks (for example this Deployment block) does not have namespace: openebs

We need deployments have their specific namespaces

Signed-off-by: Amin Maghsodi <[email protected]>
@aminmaghsodi aminmaghsodi requested a review from a team as a code owner September 14, 2025 13:33
metadata:
name: {{ template "localpv.fullname" . }}
{{- with .Values.localpv.annotations }}
namespace: {{ .Release.Namespace }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this just default? From your description thought you'd want to pass some other var for the namespace

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it now, for the helm template... could you please also add it to the service account?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aminmaghsodi a gentle ping :)

@niladrih
Copy link
Member

@aminmaghsodi if you execute your helm install command with -n <your-namespace it'd have the same effect. Why do it this way?

@aminmaghsodi
Copy link
Author

aminmaghsodi commented Sep 16, 2025

@niladrih
if you run commands:
helm show values openebs/openebs > values.yaml
helm template openebs openebs/openebs --namespace openebs -f values.yaml > openebs-generated-values.yaml

You see many blocks (e.g. Deployment block) does not have namespace: openebs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants