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

operator [N] [CI] khulnasoft (0.0.1) #5100

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
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
11 changes: 11 additions & 0 deletions operators/khulnasoft/0.0.1/bundle.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
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=khulnasoft
LABEL operators.operatorframework.io.bundle.channels.v1=alpha
LABEL operators.operatorframework.io.bundle.channel.default.v1=2022.4.0

COPY manifests /manifests/
COPY metadata /metadata/
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: clusterconfigauditreports.khulnasoft.github.io
labels:
app.kubernetes.io/managed-by: starboard
spec:
group: khulnasoft.github.io
names:
kind: ClusterConfigAuditReport
listKind: ClusterConfigAuditReportList
plural: clusterconfigauditreports
singular: clusterconfigauditreport
categories: []
shortNames:
- clusterconfigaudit
scope: Cluster
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
x-kubernetes-preserve-unknown-fields: true
type: object
additionalPrinterColumns:
- name: Scanner
type: string
description: The name of the config audit scanner
jsonPath: .report.scanner.name
- name: Age
type: date
description: The age of the report
jsonPath: .metadata.creationTimestamp
- name: Danger
type: integer
priority: 1
description: The number of checks that failed with Danger status
jsonPath: .report.summary.dangerCount
- name: Warning
type: integer
priority: 1
description: The number of checks that failed with Warning status
jsonPath: .report.summary.warningCount
- name: Pass
type: integer
priority: 1
description: The number of checks that passed
jsonPath: .report.summary.passCount
served: true
storage: true
subresources:
status: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: configauditreports.khulnasoft.github.io
labels:
app.kubernetes.io/managed-by: starboard
spec:
group: khulnasoft.github.io
names:
kind: ConfigAuditReport
listKind: ConfigAuditReportList
plural: configauditreports
singular: configauditreport
categories: []
shortNames:
- configaudit
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
x-kubernetes-preserve-unknown-fields: true
type: object
additionalPrinterColumns:
- name: Scanner
type: string
description: The name of the config audit scanner
jsonPath: .report.scanner.name
- name: Age
type: date
description: The age of the report
jsonPath: .metadata.creationTimestamp
- name: Danger
type: integer
priority: 1
description: The number of checks that failed with Danger status
jsonPath: .report.summary.dangerCount
- name: Warning
type: integer
priority: 1
description: The number of checks that failed with Warning status
jsonPath: .report.summary.warningCount
- name: Pass
type: integer
priority: 1
description: The number of checks that passed
jsonPath: .report.summary.passCount
served: true
storage: true
subresources:
status: {}
Loading
Loading