Skip to content

Error: no Auth Provider found for name "oidc" #60

@gengwg

Description

@gengwg

We utilize Dex for OIDC authentication via LDAP. it doesn't seem to be functioning for our situation. I manually copied the generated YAML and applied it using kubectl, which works. so no problem with the generated yaml, looks some bug with this tool.

$ k kubectl-ai "create an nginx deployment with 3 replicas. use image harbor.my.com/my/nginx:1.21.4-alpine."
✨ Attempting to apply the following manifest:

apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
spec:
  replicas: 3
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: harbor.my.com/my/nginx:1.21.4-alpine
        ports:
        - containerPort: 80
✔ Apply
Error: no Auth Provider found for name "oidc"

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions