diff --git a/PROJECT b/PROJECT index 458fb71..0628b98 100644 --- a/PROJECT +++ b/PROJECT @@ -16,5 +16,5 @@ resources: domain: getontime.no group: ontime kind: Stage - version: v1alpha1 + version: v1 version: "3" diff --git a/config/crd/bases/ontime.getontime.no_stages.yaml b/config/crd/bases/ontime.getontime.no_stages.yaml index 11b8ce5..d65eb7d 100644 --- a/config/crd/bases/ontime.getontime.no_stages.yaml +++ b/config/crd/bases/ontime.getontime.no_stages.yaml @@ -12,7 +12,7 @@ spec: singular: stage scope: Namespaced versions: - - name: v1alpha1 + - name: v1 schema: openAPIV3Schema: description: Stage is the Schema for the stages API diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index d827a16..aed7c41 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -29,7 +29,7 @@ rules: - create ## -## Rules for ontime.getontime.no/v1alpha1, Kind: Stage +## Rules for ontime.getontime.no/v1, Kind: Stage ## - apiGroups: - ontime.getontime.no diff --git a/config/samples/kustomization.yaml b/config/samples/kustomization.yaml index ad5dbc1..fa5b6a8 100644 --- a/config/samples/kustomization.yaml +++ b/config/samples/kustomization.yaml @@ -1,4 +1,4 @@ ## Append samples of your project ## resources: -- ontime_v1alpha1_stage.yaml +- ontime_v1_stage.yaml # +kubebuilder:scaffold:manifestskustomizesamples diff --git a/config/samples/ontime_v1alpha1_stage.yaml b/config/samples/ontime_v1_stage.yaml similarity index 70% rename from config/samples/ontime_v1alpha1_stage.yaml rename to config/samples/ontime_v1_stage.yaml index c106d58..78af8ec 100644 --- a/config/samples/ontime_v1alpha1_stage.yaml +++ b/config/samples/ontime_v1_stage.yaml @@ -1,4 +1,4 @@ -apiVersion: ontime.getontime.no/v1alpha1 +apiVersion: ontime.getontime.no/v1 kind: Stage metadata: name: stage-sample diff --git a/watches.yaml b/watches.yaml index 01d9344..f62f277 100644 --- a/watches.yaml +++ b/watches.yaml @@ -1,6 +1,6 @@ # Use the 'create api' subcommand to add watches to this file. - group: ontime.getontime.no - version: v1alpha1 + version: v1 kind: Stage chart: helm-charts/stage # +kubebuilder:scaffold:watch