generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Carlos Eduardo Arango Gutierrez <carangog@redhat.com>
- Loading branch information
1 parent
be3c4c0
commit 918548c
Showing
11 changed files
with
750 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
domain: nodefeaturediscoveries.nfd.kubernetes.io | ||
layout: go.kubebuilder.io/v3 | ||
projectName: node-feature-discovery-operator | ||
projectName: nfd-operator | ||
repo: github.com/kubernetes-sigs/node-feature-discovery-operator | ||
resources: | ||
- crdVersion: v1 | ||
- api: | ||
crdVersion: v1 | ||
namespaced: true | ||
controller: true | ||
domain: nodefeaturediscoveries.nfd.kubernetes.io | ||
group: nfd.kubernetes.io | ||
kind: NodeFeatureDiscovery | ||
path: github.com/kubernetes-sigs/node-feature-discovery-operator/api/v1 | ||
version: v1 | ||
version: 3-alpha | ||
version: "3" | ||
plugins: | ||
manifests.sdk.operatorframework.io/v2: {} | ||
scorecard.sdk.operatorframework.io/v2: {} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
annotations: | ||
# Core bundle annotations. | ||
operators.operatorframework.io.bundle.mediatype.v1: registry+v1 | ||
operators.operatorframework.io.bundle.manifests.v1: manifests/ | ||
operators.operatorframework.io.bundle.metadata.v1: metadata/ | ||
operators.operatorframework.io.bundle.package.v1: nfd-operator | ||
operators.operatorframework.io.bundle.channels.v1: alpha | ||
operators.operatorframework.io.metrics.builder: operator-sdk-v1.16.0+git | ||
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 | ||
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3 | ||
|
||
# Annotations for testing. | ||
operators.operatorframework.io.test.mediatype.v1: scorecard+v1 | ||
operators.operatorframework.io.test.config.v1: tests/scorecard/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
612 changes: 612 additions & 0 deletions
612
config/manifests/bases/nfd-operator.clusterserviceversion.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
# These resources constitute the fully configured set of manifests | ||
# used to generate the 'manifests/' directory in a bundle. | ||
resources: | ||
- bases/nfd-operator.clusterserviceversion.yaml | ||
- ../default | ||
- ../prometheus | ||
- ../samples | ||
- ../scorecard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
## Append samples you want in your CSV to this file as resources ## | ||
resources: | ||
- nfd.kubernetes.io_v1_nodefeaturediscovery.yaml | ||
- nfd.kubernetes.io_v1alpha1_nodefeaturerules.yaml | ||
# +kubebuilder:scaffold:manifestskustomizesamples | ||
|
16 changes: 16 additions & 0 deletions
16
config/samples/nfd.kubernetes.io_v1alpha1_nodefeaturerules.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
apiVersion: nfd.kubernetes.io/v1alpha1 | ||
kind: NodeFeatureRule | ||
metadata: | ||
name: my-sample-rule-object | ||
spec: | ||
rules: | ||
- name: "my sample rule" | ||
labels: | ||
"my-sample-feature": "true" | ||
matchFeatures: | ||
- feature: kernel.loadedmodule | ||
matchExpressions: | ||
dummy: {op: Exists} | ||
- feature: kernel.config | ||
matchExpressions: | ||
X86: {op: In, value: ["y"]} |