Skip to content

Commit

Permalink
Merge pull request #2724 from fgiloux/codegen
Browse files Browse the repository at this point in the history
🐛 Fix typo breaking codegen: crds not stored at the right location
  • Loading branch information
openshift-merge-robot authored Feb 1, 2023
2 parents 53fdaf5 + 780bc64 commit 68175dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/crds/core.kcp.io_logicalclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
versions:
- additionalPrinterColumns:
- description: The current phase (e.g. Scheduling, Initializing, Ready, Deleting)
jsonPath: .metadata.labels['tenancy\.kcp\.dev/phase']
jsonPath: .status.phase
name: Phase
type: string
- description: URL to access the logical cluster
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: apis.kcp.io/v1alpha1
kind: APIResourceSchema
metadata:
creationTimestamp: null
name: v230116-943e458f6.logicalclusters.core.kcp.io
name: v230201-b085a04a.logicalclusters.core.kcp.io
spec:
group: core.kcp.io
names:
Expand All @@ -16,7 +16,7 @@ spec:
versions:
- additionalPrinterColumns:
- description: The current phase (e.g. Scheduling, Initializing, Ready, Deleting)
jsonPath: .metadata.labels['tenancy\.kcp\.dev/phase']
jsonPath: .status.phase
name: Phase
type: string
- description: URL to access the logical cluster
Expand Down
2 changes: 1 addition & 1 deletion hack/update-codegen-crds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ REPO_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)
rbac:roleName=manager-role \
webhook \
paths="./..." \
output:crd:artifacts:config="${REPO_ROOT}"config/crds
output:crd:artifacts:config="${REPO_ROOT}"/config/crds
)

for CRD in "${REPO_ROOT}"/config/crds/*.yaml; do
Expand Down

0 comments on commit 68175dd

Please sign in to comment.