Skip to content

Commit

Permalink
Move CustomResourceDefinitionSchemaVersion to a separate file
Browse files Browse the repository at this point in the history
Signed-off-by: Michi Mutsuzaki <michi@isovalent.com>
  • Loading branch information
michi-covalent committed Sep 14, 2023
1 parent f058d55 commit 8c16273
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
6 changes: 0 additions & 6 deletions pkg/k8s/apis/cilium.io/v1alpha1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ import (
)

const (
// CustomResourceDefinitionSchemaVersion is semver-conformant version of CRD schema
// Used to determine if CRD needs to be updated in cluster
//
// Developers: Bump patch for each change in the CRD schema.
CustomResourceDefinitionSchemaVersion = "0.12.3"

CRDVersion = "v1alpha1"

// TPCRDName is the full name of the TracingPolicy CRD.
Expand Down
10 changes: 10 additions & 0 deletions pkg/k8s/apis/cilium.io/v1alpha1/version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Tetragon

package v1alpha1

// CustomResourceDefinitionSchemaVersion is semver-conformant version of CRD schema
// Used to determine if CRD needs to be updated in cluster
//
// Developers: Bump patch for each change in the CRD schema.
const CustomResourceDefinitionSchemaVersion = "0.12.3"

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.

0 comments on commit 8c16273

Please sign in to comment.