Skip to content

Commit

Permalink
api: re-add the v1beta1 CSRA
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
  • Loading branch information
stevekuznetsov committed Jan 24, 2024
1 parent 1e1fef7 commit 63537e8
Show file tree
Hide file tree
Showing 17 changed files with 1,206 additions and 0 deletions.
34 changes: 34 additions & 0 deletions api/hypershift/v1beta1/certificatesigningrequestapproval_types.go
@@ -0,0 +1,34 @@
package v1beta1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// +genclient
// +kubebuilder:resource:path=certificatesigningrequestapprovals,shortName=csra;csras,scope=Namespaced
// +kubebuilder:object:root=true
// +kubebuilder:storageversion

// CertificateSigningRequestApproval defines the desired state of CertificateSigningRequestApproval
type CertificateSigningRequestApproval struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`

Spec CertificateSigningRequestApprovalSpec `json:"spec,omitempty"`
Status CertificateSigningRequestApprovalStatus `json:"status,omitempty"`
}

// CertificateSigningRequestApprovalSpec defines the desired state of CertificateSigningRequestApproval
type CertificateSigningRequestApprovalSpec struct{}

// CertificateSigningRequestApprovalStatus defines the observed state of CertificateSigningRequestApproval
type CertificateSigningRequestApprovalStatus struct{}

// +kubebuilder:object:root=true

// CertificateSigningRequestApprovalList contains a list of CertificateSigningRequestApprovals.
type CertificateSigningRequestApprovalList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []CertificateSigningRequestApproval `json:"items"`
}
89 changes: 89 additions & 0 deletions api/hypershift/v1beta1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions client/applyconfiguration/utils.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 63537e8

Please sign in to comment.