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: proxy for renaming 3rd party resources #23

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions crds/embedded/cdi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,19 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: cdis.x.virtualization.deckhouse.io
name: dvpinternalcdis.internal.virtualization.deckhouse.io
spec:
group: x.virtualization.deckhouse.io
group: internal.virtualization.deckhouse.io
names:
kind: CDI
listKind: CDIList
plural: cdis
categories:
- dvpinternal
kind: DVPInternalCDI
listKind: DVPInternalCDIList
plural: dvpinternalcdis
shortNames:
- xcdi
- xcdis
singular: cdi
- dvpcdi
- dvpcdis
singular: dvpinternalcdi
scope: Cluster
versions:
- additionalPrinterColumns:
Expand Down
15 changes: 9 additions & 6 deletions crds/embedded/kubevirt.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
# Source:
# https://github.com/kubevirt/kubevirt/releases/download/v1.0.0/kubevirt-operator.yaml
# Changes:
# - 2024.04.16
# - Add prefixes xinternal, XInternal
# - 2023.12.12
# - Add x.virtualization.deckhouse prefix
# - Remove short names.
# - Remove all category, add kubevirt category.

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
labels:
operator.kubevirt.io: ""
name: kubevirts.x.virtualization.deckhouse.io
name: dvpinternalkubevirts.internal.virtualization.deckhouse.io
spec:
group: x.virtualization.deckhouse.io
group: internal.virtualization.deckhouse.io
names:
categories:
- kubevirt
kind: KubeVirt
plural: kubevirts
singular: kubevirt
- dvpinternal
kind: DVPInternalKubeVirt
plural: dvpinternalkubevirts
singular: dvpinternalkubevirt
scope: Namespaced
versions:
- additionalPrinterColumns:
Expand Down
2 changes: 1 addition & 1 deletion images/cdi-apiserver/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
image: {{ $.ImageName }}
fromImage: base-scratch
import:
- artifact: cdi-artifact
- image: cdi-artifact
add: /images/kubevirt/{{ $.ImageName }}:latest
excludePaths:
- 'sys'
Expand Down
Loading
Loading