Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextcloud does not respect namespace in Helm notes. #422

Closed
EvanCarroll opened this issue Aug 2, 2023 · 0 comments
Closed

Nextcloud does not respect namespace in Helm notes. #422

EvanCarroll opened this issue Aug 2, 2023 · 0 comments

Comments

@EvanCarroll
Copy link
Contributor

In this code

  export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ template "nextcloud.name" . }}" -o jsonpath="{.items[0].metadata.name}")
  echo http://127.0.0.1:8080/
  kubectl port-forward $POD_NAME 8080:80

You'll notice only the command that sets the pod name provides --namespace that effectively means the port-forward will not work should read

  kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 8080:80
EvanCarroll added a commit to EvanCarroll/helm that referenced this issue Aug 2, 2023
EvanCarroll added a commit to EvanCarroll/helm that referenced this issue Aug 2, 2023
Signed-off-by: Evan Carroll <me@evancarroll.com>
EvanCarroll added a commit to EvanCarroll/helm that referenced this issue Aug 2, 2023
Signed-off-by: Evan Carroll <me@evancarroll.com>
provokateurin added a commit that referenced this issue Aug 2, 2023
updated helm note to add namespace, closes #422
benyanke pushed a commit to benyanke/helm that referenced this issue Aug 18, 2023
Signed-off-by: Evan Carroll <me@evancarroll.com>
Signed-off-by: Ben Yanke <ben@yanke.io>
raynay-r pushed a commit to raynay-r/nextcloud-helm that referenced this issue Apr 16, 2024
Signed-off-by: Evan Carroll <me@evancarroll.com>
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

No branches or pull requests

1 participant