Ramilito / kubectl.nvim

Apache License 2.0
107 stars 4 forks source link

bug: clash with mini.files #90

Open idelice opened 2 weeks ago

idelice commented 2 weeks ago

Prerequisites

Steps to produce

  1. toggle plugin on
  2. navigate to services
  3. press "d" (describe) on postgresql

Actual

mini.files toggles on

Expected

mini.files shouldn't pop-up

This is pretty weird, I must say. It only happens for the postgresql service i've running 😆

Ramilito commented 2 weeks ago

That's so weird, I actually had a similar problem a while back where I had to add a space to the filetype name or netrw would open! I can't reproduce that atm though, will try to install postgress and see if that brings it back

Ramilito commented 2 weeks ago

Do you mind sharing the service yaml so I don't have to install the whole helm chart 😅

idelice commented 2 weeks ago
apiVersion: v1
kind: Service
metadata:
  name: {{ include "postgres.fullname" . }}
  labels:
    {{- include "postgres.labels" . | nindent 4 }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.port }}
      targetPort: http
      protocol: TCP
      name: http
  selector:
    {{- include "postgres.selectorLabels" . | nindent 4 }}
idelice commented 2 weeks ago
Name:              postgres
Namespace:         dev-ibrahim
Labels:            app.kubernetes.io/instance=postgres
                   app.kubernetes.io/managed-by=Helm
                   app.kubernetes.io/name=postgres
                   app.kubernetes.io/version=1.16.0
                   helm.sh/chart=postgres-0.1.0
Annotations:       meta.helm.sh/release-name: postgres
                   meta.helm.sh/release-namespace: dev-ibrahim
Selector:          app.kubernetes.io/instance=postgres,app.kubernetes.io/name=postgres
Type:              ClusterIP
IP Family Policy:  SingleStack
IP Families:       IPv4
IP:                321.134
IPs:               321.134
Port:              http  80/TCP
TargetPort:        http/TCP
Endpoints:         123:5432
Session Affinity:  None
Events:            <none>
Ramilito commented 4 days ago

Is this still happening? I haven't been able to reproduce and was hoping this resolved itself tbh 😅