-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from devopstales/AC
Ac
- Loading branch information
Showing
16 changed files
with
2,024 additions
and
37 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
OLM/0.0.1/manifests/namespace-scanners.trivy-operator.devopstales.io.crd.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,50 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: namespace-scanners.trivy-operator.devopstales.io | ||
spec: | ||
conversion: | ||
strategy: None | ||
group: trivy-operator.devopstales.io | ||
names: | ||
kind: NamespaceScanner | ||
listKind: NamespaceScannerList | ||
plural: namespace-scanners | ||
shortNames: | ||
- ns-scan | ||
singular: namespace-scanner | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: Namespace Selector for pod scanning | ||
jsonPath: .spec.namespace_selector | ||
name: NamespaceSelector | ||
type: string | ||
- description: crontab value | ||
jsonPath: .spec.crontab | ||
name: Crontab | ||
type: string | ||
- description: As returned from the handler (sometimes). | ||
jsonPath: .status.create_fn.message | ||
name: Message | ||
type: string | ||
name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
crontab: | ||
pattern: ^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$ | ||
type: string | ||
namespace_selector: | ||
type: string | ||
spec: | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
status: | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
263 changes: 263 additions & 0 deletions
263
OLM/0.0.1/manifests/trivy-operator.v0.0.1.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,7 @@ | ||
annotations: | ||
operators.operatorframework.io.bundle.channel.default.v1: alpha | ||
operators.operatorframework.io.bundle.channels.v1: alpha | ||
operators.operatorframework.io.bundle.manifests.v1: manifests/ | ||
operators.operatorframework.io.bundle.mediatype.v1: registry+v1 | ||
operators.operatorframework.io.bundle.metadata.v1: metadata/ | ||
operators.operatorframework.io.bundle.package.v1: trivy-operator |
50 changes: 50 additions & 0 deletions
50
OLM/2.1.0/manifests/namespace-scanners.trivy-operator.devopstales.io.crd.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,50 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: namespace-scanners.trivy-operator.devopstales.io | ||
spec: | ||
conversion: | ||
strategy: None | ||
group: trivy-operator.devopstales.io | ||
names: | ||
kind: NamespaceScanner | ||
listKind: NamespaceScannerList | ||
plural: namespace-scanners | ||
shortNames: | ||
- ns-scan | ||
singular: namespace-scanner | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- description: Namespace Selector for pod scanning | ||
jsonPath: .spec.namespace_selector | ||
name: NamespaceSelector | ||
type: string | ||
- description: crontab value | ||
jsonPath: .spec.crontab | ||
name: Crontab | ||
type: string | ||
- description: As returned from the handler (sometimes). | ||
jsonPath: .status.create_fn.message | ||
name: Message | ||
type: string | ||
name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
crontab: | ||
pattern: ^(\d+|\*)(/\d+)?(\s+(\d+|\*)(/\d+)?){4}$ | ||
type: string | ||
namespace_selector: | ||
type: string | ||
spec: | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
status: | ||
type: object | ||
x-kubernetes-preserve-unknown-fields: true | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |
263 changes: 263 additions & 0 deletions
263
OLM/2.1.0/manifests/trivy-operator.v2.1.0.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,6 @@ | ||
annotations: | ||
operators.operatorframework.io.bundle.channels.v1: stable | ||
operators.operatorframework.io.bundle.manifests.v1: manifests/ | ||
operators.operatorframework.io.bundle.mediatype.v1: registry+v1 | ||
operators.operatorframework.io.bundle.metadata.v1: metadata/ | ||
operators.operatorframework.io.bundle.package.v1: trivy-operator |
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,10 @@ | ||
FROM scratch | ||
|
||
LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 | ||
LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ | ||
LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ | ||
LABEL operators.operatorframework.io.bundle.package.v1=trivy-operator | ||
LABEL operators.operatorframework.io.bundle.channels.v1=alpha | ||
|
||
COPY manifests /manifests/ | ||
COPY metadata /metadata/ |
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,13 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: CatalogSource | ||
metadata: | ||
name: devopstales-catalog | ||
namespaces: oml | ||
spec: | ||
displayName: devopstales | ||
publisher: devopstales | ||
sourceType: grpc | ||
image: docker.io/devopstales/trivy-operator-index:2.1.1-oc | ||
updateStrategy: | ||
registryPoll: | ||
interval: 1m |
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,8 @@ | ||
apiVersion: operators.coreos.com/v1 | ||
kind: OperatorGroup | ||
metadata: | ||
name: test-og | ||
namespace: default | ||
spec: | ||
targetNamespaces: | ||
- default |
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,12 @@ | ||
apiVersion: operators.coreos.com/v1alpha1 | ||
kind: Subscription | ||
metadata: | ||
name: trivy-operator | ||
namespace: default | ||
spec: | ||
channel: stable | ||
installPlanApproval: Automatic | ||
name: trivy-operator | ||
source: devopstales-catalog | ||
sourceNamespace: olm | ||
startingCSV: trivy-operator.v2.1.1 |
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
Oops, something went wrong.