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

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

Open
gengwg opened this issue Jul 9, 2023 · 0 comments
Open

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

gengwg opened this issue Jul 9, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@gengwg
Copy link

gengwg commented Jul 9, 2023

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"
@sozercan sozercan added the help wanted Extra attention is needed label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants