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

fix: create and update auth secret for endpoint in graphql server #333

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

bjwswang
Copy link
Collaborator

@bjwswang bjwswang commented Dec 6, 2023

Signed-off-by: bjwswang [email protected]

Changelogs:

  1. Add auth input in endpoint input
  2. Make create/update auth secret a common function
  3. add some missing fields in graphql server

What type of PR is this?

What this PR does / why we need it

Which issue(s) this PR fixes

Fixes #

Special notes for your reviewer

}

// MakeAuthSecretName returns a secret name based on its base name and owner's kind
func MakeAuthSecretName(base string, ownerKind string) string {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@Abirdcfly @0xff-dev we can move some common definitions,functions under this package

Signed-off-by: bjwswang <[email protected]>

Changelogs:

1. extract common funcs into pkg/common
2. add some missing fields in graphql server
3. set correct client secret in graphql server
@bjwswang bjwswang merged commit 055a57d into kubeagi:main Dec 7, 2023
8 checks passed
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.

1 participant