mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
delete helm charts
This commit is contained in:
parent
1eed57ce31
commit
457266835c
7
Makefile
7
Makefile
@ -273,13 +273,6 @@ _work/venv/.stamp: docs/requirements.txt
|
||||
. ${@D}/bin/activate && pip install wheel && pip install -r $<
|
||||
touch $@
|
||||
|
||||
helm:
|
||||
$(CONTROLLER_GEN) crd:crdVersions=v1 \
|
||||
paths="./pkg/apis/..." \
|
||||
output:crd:artifacts:config=charts/operator/crds
|
||||
helm package charts/operator
|
||||
helm package charts/sgx
|
||||
|
||||
clean-licenses:
|
||||
rm -rf licenses
|
||||
|
||||
|
@ -316,4 +316,9 @@ A related Intel SRIOV network device plugin can be found in
|
||||
|
||||
### Helm Charts
|
||||
|
||||
The [helm charts](charts/README.md) is one way of distributing Kubernetes resources of the device plugins framework.
|
||||
Device Plugins Helm Charts are located in Intel Helm Charts repository [Intel Helm Charts](https://github.com/intel/helm-charts). This is another way of distributing Kubernetes resources of the device plugins framework.
|
||||
|
||||
To add repo:
|
||||
```
|
||||
helm repo add intel https://intel.github.io/helm-charts
|
||||
```
|
||||
|
@ -1,20 +0,0 @@
|
||||
## Helm charts
|
||||
|
||||
Make "helm" target provides a way to to create a versioned chart archive file:
|
||||
|
||||
```
|
||||
$ make helm
|
||||
```
|
||||
|
||||
The generated chart archives can be uploaded to helm package repository to enable further distribution. It is also needed to generate an index file and upload it to the repository.
|
||||
|
||||
```
|
||||
helm repo index intel-device-plugins-operator-VERSION.tgz
|
||||
```
|
||||
|
||||
To download a chart directly from a repository, use the following commands:
|
||||
|
||||
```
|
||||
$ helm pull intel-device-plugins-chart-repo/intel-device-plugins-helm-chart
|
||||
$ helm install intel-device-plugins intel-device-plugins-chart-repo/intel-device-plugins-helm-chart
|
||||
```
|
@ -1,23 +0,0 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*.orig
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
@ -1,6 +0,0 @@
|
||||
apiVersion: v2
|
||||
name: intel-device-plugins-operator
|
||||
description: A Helm chart for Intel Device Plugins Operator for Kubernetes
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "0.23.0"
|
@ -1 +0,0 @@
|
||||
Thank you for installing {{ .Chart.Name }}.
|
@ -1,841 +0,0 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: inteldeviceplugins-leader-election-role
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- create
|
||||
- update
|
||||
- patch
|
||||
- delete
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
- leases
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- create
|
||||
- update
|
||||
- patch
|
||||
- delete
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- events
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: inteldeviceplugins-gpu-manager-role
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- pods
|
||||
verbs:
|
||||
- list
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: inteldeviceplugins-manager-role
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- pods
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- serviceaccounts
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- apps
|
||||
resources:
|
||||
- daemonsets
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
- leases
|
||||
verbs:
|
||||
- create
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resourceNames:
|
||||
- d1c7b6d5.intel.com
|
||||
resources:
|
||||
- leases
|
||||
verbs:
|
||||
- get
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- dlbdeviceplugins
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- dlbdeviceplugins/finalizers
|
||||
verbs:
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- dlbdeviceplugins/status
|
||||
verbs:
|
||||
- get
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- dsadeviceplugins
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- dsadeviceplugins/finalizers
|
||||
verbs:
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- dsadeviceplugins/status
|
||||
verbs:
|
||||
- get
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- fpgadeviceplugins
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- fpgadeviceplugins/finalizers
|
||||
verbs:
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- fpgadeviceplugins/status
|
||||
verbs:
|
||||
- get
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- gpudeviceplugins
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- gpudeviceplugins/finalizers
|
||||
verbs:
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- gpudeviceplugins/status
|
||||
verbs:
|
||||
- get
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- iaadeviceplugins
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- iaadeviceplugins/status
|
||||
verbs:
|
||||
- get
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- qatdeviceplugins
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- qatdeviceplugins/finalizers
|
||||
verbs:
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- qatdeviceplugins/status
|
||||
verbs:
|
||||
- get
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- sgxdeviceplugins
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- update
|
||||
- watch
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- sgxdeviceplugins/finalizers
|
||||
verbs:
|
||||
- update
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
resources:
|
||||
- sgxdeviceplugins/status
|
||||
verbs:
|
||||
- get
|
||||
- patch
|
||||
- update
|
||||
- apiGroups:
|
||||
- fpga.intel.com
|
||||
resources:
|
||||
- acceleratorfunctions
|
||||
- fpgaregions
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- rbac.authorization.k8s.io
|
||||
resources:
|
||||
- clusterrolebindings
|
||||
verbs:
|
||||
- create
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- security.openshift.io
|
||||
resourceNames:
|
||||
- privileged
|
||||
resources:
|
||||
- securitycontextconstraints
|
||||
verbs:
|
||||
- use
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: inteldeviceplugins-metrics-reader
|
||||
rules:
|
||||
- nonResourceURLs:
|
||||
- /metrics
|
||||
verbs:
|
||||
- get
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: inteldeviceplugins-proxy-role
|
||||
rules:
|
||||
- apiGroups:
|
||||
- authentication.k8s.io
|
||||
resources:
|
||||
- tokenreviews
|
||||
verbs:
|
||||
- create
|
||||
- apiGroups:
|
||||
- authorization.k8s.io
|
||||
resources:
|
||||
- subjectaccessreviews
|
||||
verbs:
|
||||
- create
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: inteldeviceplugins-leader-election-rolebinding
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: inteldeviceplugins-leader-election-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: default
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: inteldeviceplugins-manager-rolebinding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: inteldeviceplugins-manager-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: default
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: inteldeviceplugins-proxy-rolebinding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: inteldeviceplugins-proxy-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: default
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
control-plane: controller-manager
|
||||
name: inteldeviceplugins-controller-manager-metrics-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
spec:
|
||||
ports:
|
||||
- name: https
|
||||
port: 8443
|
||||
targetPort: https
|
||||
selector:
|
||||
control-plane: controller-manager
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
spec:
|
||||
ports:
|
||||
- port: 443
|
||||
targetPort: 9443
|
||||
selector:
|
||||
control-plane: controller-manager
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
control-plane: controller-manager
|
||||
name: inteldeviceplugins-controller-manager
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
control-plane: controller-manager
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
control-plane: controller-manager
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
{{- if .Values.controllerExtraArgs }}
|
||||
{{- with .Values.controllerExtraArgs }}
|
||||
{{- tpl . $ | trim | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
env:
|
||||
- name: DEVICEPLUGIN_NAMESPACE
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.namespace
|
||||
image: "{{ .Values.image.hub }}/intel-deviceplugin-operator:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
name: manager
|
||||
ports:
|
||||
- containerPort: 9443
|
||||
name: webhook-server
|
||||
protocol: TCP
|
||||
resources:
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 50Mi
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 20Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
readOnlyRootFilesystem: true
|
||||
runAsGroup: 65532
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65532
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /tmp/k8s-webhook-server/serving-certs
|
||||
name: cert
|
||||
readOnly: true
|
||||
- args:
|
||||
- --secure-listen-address=0.0.0.0:8443
|
||||
- --upstream=http://127.0.0.1:8080/
|
||||
- --logtostderr=true
|
||||
- --v=10
|
||||
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
|
||||
name: kube-rbac-proxy
|
||||
ports:
|
||||
- containerPort: 8443
|
||||
name: https
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsGroup: 1000
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
serviceAccountName: default
|
||||
terminationGracePeriodSeconds: 10
|
||||
volumes:
|
||||
- name: cert
|
||||
secret:
|
||||
defaultMode: 420
|
||||
secretName: webhook-server-cert
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: inteldeviceplugins-serving-cert
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
spec:
|
||||
dnsNames:
|
||||
- inteldeviceplugins-webhook-service.{{ .Release.Namespace }}.svc
|
||||
- inteldeviceplugins-webhook-service.{{ .Release.Namespace }}.svc.cluster.local
|
||||
issuerRef:
|
||||
kind: Issuer
|
||||
name: inteldeviceplugins-selfsigned-issuer
|
||||
secretName: webhook-server-cert
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Issuer
|
||||
metadata:
|
||||
name: inteldeviceplugins-selfsigned-issuer
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
spec:
|
||||
selfSigned: {}
|
||||
---
|
||||
apiVersion: admissionregistration.k8s.io/v1
|
||||
kind: MutatingWebhookConfiguration
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/inteldeviceplugins-serving-cert
|
||||
name: inteldeviceplugins-mutating-webhook-configuration
|
||||
webhooks:
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /mutate-deviceplugin-intel-com-v1-dlbdeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: mdlbdeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- dlbdeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /mutate-deviceplugin-intel-com-v1-dsadeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: mdsadeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- dsadeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /mutate-deviceplugin-intel-com-v1-fpgadeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: mfpgadeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- fpgadeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /mutate-deviceplugin-intel-com-v1-gpudeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: mgpudeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- gpudeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /mutate-deviceplugin-intel-com-v1-iaadeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: miaadeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- iaadeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /mutate-deviceplugin-intel-com-v1-qatdeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: mqatdeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- qatdeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /mutate-deviceplugin-intel-com-v1-sgxdeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: msgxdeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- sgxdeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /pods
|
||||
failurePolicy: Ignore
|
||||
name: fpga.mutator.webhooks.intel.com
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- pods
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /pods-sgx
|
||||
failurePolicy: Ignore
|
||||
name: sgx.mutator.webhooks.intel.com
|
||||
reinvocationPolicy: IfNeeded
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- pods
|
||||
sideEffects: None
|
||||
---
|
||||
apiVersion: admissionregistration.k8s.io/v1
|
||||
kind: ValidatingWebhookConfiguration
|
||||
metadata:
|
||||
annotations:
|
||||
cert-manager.io/inject-ca-from: {{ .Release.Namespace }}/inteldeviceplugins-serving-cert
|
||||
name: inteldeviceplugins-validating-webhook-configuration
|
||||
webhooks:
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /validate-deviceplugin-intel-com-v1-dlbdeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: vdlbdeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- dlbdeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /validate-deviceplugin-intel-com-v1-dsadeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: vdsadeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- dsadeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /validate-deviceplugin-intel-com-v1-fpgadeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: vfpgadeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- fpgadeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /validate-deviceplugin-intel-com-v1-gpudeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: vgpudeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- gpudeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /validate-deviceplugin-intel-com-v1-iaadeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: viaadeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- iaadeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /validate-deviceplugin-intel-com-v1-qatdeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: vqatdeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- qatdeviceplugins
|
||||
sideEffects: None
|
||||
- admissionReviewVersions:
|
||||
- v1
|
||||
clientConfig:
|
||||
service:
|
||||
name: inteldeviceplugins-webhook-service
|
||||
namespace: {{ .Release.Namespace | quote }}
|
||||
path: /validate-deviceplugin-intel-com-v1-sgxdeviceplugin
|
||||
failurePolicy: Fail
|
||||
name: vsgxdeviceplugin.kb.io
|
||||
rules:
|
||||
- apiGroups:
|
||||
- deviceplugin.intel.com
|
||||
apiVersions:
|
||||
- v1
|
||||
operations:
|
||||
- CREATE
|
||||
- UPDATE
|
||||
resources:
|
||||
- sgxdeviceplugins
|
||||
sideEffects: None
|
@ -1,9 +0,0 @@
|
||||
image:
|
||||
hub: intel
|
||||
tag: "devel"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
# Arguments for the controller
|
||||
controllerExtraArgs: |-
|
||||
- --metrics-bind-address=:8080
|
||||
- --leader-elect=false
|
@ -1,23 +0,0 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*.orig
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
@ -1,6 +0,0 @@
|
||||
apiVersion: v2
|
||||
name: intel-device-plugins-qat
|
||||
description: A Helm chart for Intel QAT Device Plugin
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "0.24.0"
|
@ -1 +0,0 @@
|
||||
Thank you for installing {{ .Chart.Name }}.
|
@ -1,24 +0,0 @@
|
||||
{{- /*
|
||||
based on
|
||||
deployments/operator/samples/deviceplugin_v1_qatdeviceplugin.yaml
|
||||
*/}}
|
||||
|
||||
apiVersion: deviceplugin.intel.com/v1
|
||||
kind: QatDevicePlugin
|
||||
metadata:
|
||||
name: {{ .Values.qat.metadata.name }}
|
||||
annotations:
|
||||
{{ toYaml .Values.qat.metadata.annotations | indent 4 }}
|
||||
spec:
|
||||
image: {{ .Values.qat.spec.image }}
|
||||
{{- if .Values.qat.spec.initImage }}
|
||||
initImage: {{ .Values.qat.spec.initImage }}
|
||||
{{- end }}
|
||||
dpdkDriver: {{ .Values.qat.spec.dpdkDriver }}
|
||||
kernelVfDrivers:
|
||||
{{- range .Values.qat.spec.kernelVfDrivers }}
|
||||
- {{ . }}
|
||||
{{- end }}
|
||||
maxNumDevices: {{ .Values.qat.spec.maxNumDevices }}
|
||||
logLevel: {{ .Values.qat.spec.logLevel }}
|
||||
nodeSelector: {{ .Values.qat.spec.nodeSelector | toYaml | nindent 4 }}
|
@ -1,14 +0,0 @@
|
||||
qat:
|
||||
metadata:
|
||||
name: qatdeviceplugin-sample
|
||||
spec:
|
||||
image: intel/intel-qat-plugin:0.24.0
|
||||
initImage: intel/intel-qat-initcontainer:0.24.0
|
||||
dpdkDriver: vfio-pci
|
||||
kernelVfDrivers:
|
||||
- c6xxvf
|
||||
- 4xxxvf
|
||||
maxNumDevices: 128
|
||||
logLevel: 4
|
||||
nodeSelector:
|
||||
intel.feature.node.kubernetes.io/qat: 'true'
|
@ -1,23 +0,0 @@
|
||||
# Patterns to ignore when building packages.
|
||||
# This supports shell glob matching, relative path matching, and
|
||||
# negation (prefixed with !). Only one pattern per line.
|
||||
.DS_Store
|
||||
# Common VCS dirs
|
||||
.git/
|
||||
.gitignore
|
||||
.bzr/
|
||||
.bzrignore
|
||||
.hg/
|
||||
.hgignore
|
||||
.svn/
|
||||
# Common backup files
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*.orig
|
||||
*~
|
||||
# Various IDEs
|
||||
.project
|
||||
.idea/
|
||||
*.tmproj
|
||||
.vscode/
|
@ -1,6 +0,0 @@
|
||||
apiVersion: v2
|
||||
name: intel-device-plugins-sgx
|
||||
description: A Helm chart for Intel Device Plugins SGX
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "0.24.0"
|
@ -1,16 +0,0 @@
|
||||
{{- /*
|
||||
based on
|
||||
deployments/operator/samples/deviceplugin_v1_sgxdeviceplugin.yaml
|
||||
*/}}
|
||||
|
||||
apiVersion: deviceplugin.intel.com/v1
|
||||
kind: SgxDevicePlugin
|
||||
metadata:
|
||||
name: {{ .Values.sgx.metadata.name }}
|
||||
spec:
|
||||
image: {{ .Values.sgx.spec.image }}
|
||||
initImage: {{ .Values.sgx.spec.initImage }}
|
||||
enclaveLimit: {{ .Values.sgx.spec.enclaveLimit }}
|
||||
provisionLimit: {{ .Values.sgx.spec.provisionLimit }}
|
||||
logLevel: {{ .Values.sgx.spec.logLevel }}
|
||||
nodeSelector: {{- .Values.sgx.spec.nodeSelector | toYaml | nindent 4 }}
|
@ -1,11 +0,0 @@
|
||||
sgx:
|
||||
metadata:
|
||||
name: sgxdeviceplugin-sample
|
||||
spec:
|
||||
image: intel/intel-sgx-plugin:0.24.0
|
||||
initImage: intel/intel-sgx-initcontainer:0.24.0
|
||||
enclaveLimit: 110
|
||||
provisionLimit: 110
|
||||
logLevel: 4
|
||||
nodeSelector:
|
||||
intel.feature.node.kubernetes.io/sgx: 'true'
|
Loading…
Reference in New Issue
Block a user