Comments (3)
I didn't test this but something similar should work as a short term solution
kind: ServiceAccount
apiVersion: v1
metadata:
name: cdi-sa
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: cdi-sa
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
name: cdi-sa
namespace: default
---
apiVersion: apps/v1beta2
kind: Deployment
metadata:
name: cdi-deployment
labels:
app: containerized-data-importer
spec:
selector:
matchLabels:
app: containerized-data-importer
replicas: 1
template:
metadata:
labels:
app: containerized-data-importer
spec:
serviceAccountName: cdi-sa
containers:
- name: cdi-controller
image: kubevirt/cdi-controller
imagePullPolicy: IfNotPresent
from containerized-data-importer.
@davidvossel - this should work short term like you mentioned but I'll test it out to make sure. I noticed that in kubevirt you have {{.Namespace}}
where are you getting /setting that value? I'm guessing we really don't want to have default
namespace defined in our manifest it should be dynamic in some way right? Or is that just relevant from kubevirt-ansible where we would pass in {{ cdi_namespace }}
from containerized-data-importer.
I noticed that in kubevirt you have {{.Namespace}} where are you getting /setting that value? I'm guessing we really don't want to have default namespace defined in our manifest it should be dynamic in some way right? Or is that just relevant from kubevirt-ansible where we would pass in {{ cdi_namespace }}
Yep, the {{.Namespace}} variable defines what namespace kubevirt components will be installed in. You'll likely want the same thing for CDI.
I'd imagine both KubeVirt and CDI would probably be installed in the same namespace. For kubevirt-ansible, you might not have to differentiate between kubevirt and cdi namespaces.
from containerized-data-importer.
Related Issues (20)
- Provide RPM support for s390x platform HOT 1
- data volume storage size doesn't match the pvc storage size HOT 2
- Slow import HOT 3
- Prlimit Unit Test fail on s390x with go1.21.5 HOT 4
- Missing clear explanation on how to pull an image from S3 HOT 6
- Parameterize hard coded environment variables in bazel-build-builder.sh
- Datavolume is failed occasionally when clone a datavolume from a pvc for concurrency HOT 12
- CDI importer pod shows nbdkit error , not able to create data-volume HOT 12
- DataVolume import - volume node affinity conflict HOT 2
- Add s390x cross-build libraries to builder container docker file HOT 4
- Add troubleshooting doc
- DataVolumes.md HOT 1
- Labels derived from env vars on containerdisks are not set on imported PVC when using populators HOT 1
- Out of date?
- 为啥指定的镜像源,比如qcow2格式的镜像文件,会默认转为img格式,能保持原格式不变,供kubevirt使用吗 HOT 2
- Unable to build docker image from source? HOT 1
- Include functional test focus capabilities
- Prlimit Unit Test fails on s390x HOT 13
- s390x enablement
- Error when requesting an UploadTokenRequest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from containerized-data-importer.