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

feat (kubernetes-client) : Add DSL entrypoints for Kubernetes 1.28.2 resources (#5401) #5475

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

rohanKanojia
Copy link
Member

@rohanKanojia rohanKanojia commented Sep 25, 2023

Description

Fix #5401

Follow up to #5472

Add KubernetesClient DSL entrypoints for these resources:

  • admissionregistration.k8s.io/v1beta1 ValidatingAdmissionPolicy client.admissionRegistration().v1beta1().validatingAdmissionPolicies()
  • admissionregistration.k8s.io/v1beta1 ValidatingAdmissionPolicyBinding client.admissionRegistration().v1beta1().validatingAdmissionPolicyBindings()
  • authentication.k8s.io/v1 SelfSubjectReview client.authentication().v1().selfSubjectReviews()

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change
  • Chore (non-breaking change which doesn't affect codebase;
    test, version modification, documentation, etc.)

Checklist

  • Code contributed by me aligns with current project license: Apache 2.0
  • I Added CHANGELOG entry regarding this change
  • I have implemented unit tests to cover my changes
  • I have added/updated the javadocs and other documentation accordingly
  • No new bugs, code smells, etc. in SonarCloud report
  • I tested my code in Kubernetes
  • I tested my code in OpenShift

…resources (fabric8io#5401)

Add KubernetesClient DSL entrypoints for these resources:
- admissionregistration.k8s.io/v1beta1 ValidatingAdmissionPolicy `client.admissionRegistration().v1beta1().validatingAdmissionPolicies()`
- admissionregistration.k8s.io/v1beta1 ValidatingAdmissionPolicyBinding `client.admissionRegistration().v1beta1().validatingAdmissionPolicyBindings()`
- authentication.k8s.io/v1 SelfSubjectReview `client.authentication().v1().selfSubjectReviews()`

Signed-off-by: Rohan Kumar <[email protected]>
@rohanKanojia rohanKanojia marked this pull request as ready for review September 25, 2023 10:19
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.20.1) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@manusa manusa added this to the 6.9.0 milestone Sep 25, 2023
@manusa manusa merged commit 081e8a4 into fabric8io:main Sep 25, 2023
19 of 20 checks passed
@rohanKanojia rohanKanojia deleted the pr/issue5401 branch September 25, 2023 15:39
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.

Upgrade Fabric8 Kubernetes Model to Kubernetes v1.28
3 participants