Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 6f1e2bc

Browse files
committed
Add back helm chart files
1 parent 7bbb614 commit 6f1e2bc

23 files changed

+7233
-1
lines changed

operator-new/.helmignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/

operator-new/Chart.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dependencies:
2+
- name: minio
3+
repository: https://kubernetes-charts.storage.googleapis.com/
4+
version: 5.0.17
5+
digest: sha256:b35baf336cc13709979f3f0824963bfe658da479092085fafa61dd86f0ce6b89
6+
generated: "2020-03-19T17:36:50.79157+01:00"

operator-new/Chart.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
apiVersion: v2
2+
name: operator
3+
description: secureCodeBox Operator to automate the execution of security scans on kubernetes
4+
5+
type: application
6+
7+
# This is the chart version. This version number should be incremented each time you make changes
8+
# to the chart and its templates, including the app version.
9+
version: 0.1.0
10+
11+
# This is the version number of the application being deployed. This version number should be
12+
# incremented each time you make changes to the application.
13+
appVersion: 1.16.0
14+
15+
dependencies:
16+
- name: minio
17+
version: 5.0.17
18+
repository: https://kubernetes-charts.storage.googleapis.com/
19+
condition: minio.enabled
16.3 KB
Binary file not shown.

operator-new/config/crd/bases/execution.experimental.securecodebox.io_scantypes.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6454,7 +6454,7 @@ spec:
64546454
type: object
64556455
type: object
64566456
status:
6457-
description: ScanTypeStatus defines the observed state of ScanTemplate
6457+
description: ScanTypeStatus defines the observed state of ScanType
64586458
type: object
64596459
type: object
64606460
version: v1
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
2+
---
3+
apiVersion: apiextensions.k8s.io/v1beta1
4+
kind: CustomResourceDefinition
5+
metadata:
6+
creationTimestamp: null
7+
name: parsedefinitions.execution.experimental.securecodebox.io
8+
spec:
9+
group: execution.experimental.securecodebox.io
10+
names:
11+
kind: ParseDefinition
12+
plural: parsedefinitions
13+
scope: ""
14+
validation:
15+
openAPIV3Schema:
16+
description: ParseDefinition is the Schema for the parsedefinitions API
17+
properties:
18+
apiVersion:
19+
description: 'APIVersion defines the versioned schema of this representation
20+
of an object. Servers should convert recognized schemas to the latest
21+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
22+
type: string
23+
kind:
24+
description: 'Kind is a string value representing the REST resource this
25+
object represents. Servers may infer this from the endpoint the client
26+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
27+
type: string
28+
metadata:
29+
type: object
30+
spec:
31+
description: ParseDefinitionSpec defines the desired state of ParseDefinition
32+
properties:
33+
handlesResultsType:
34+
description: Foo is an example field of ParseDefinition. Edit ParseDefinition_types.go
35+
to remove/update
36+
type: string
37+
image:
38+
type: string
39+
type: object
40+
status:
41+
description: ParseDefinitionStatus defines the observed state of ParseDefinition
42+
type: object
43+
type: object
44+
version: v1
45+
versions:
46+
- name: v1
47+
served: true
48+
storage: true
49+
status:
50+
acceptedNames:
51+
kind: ""
52+
plural: ""
53+
conditions: []
54+
storedVersions: []
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
1+
2+
---
3+
apiVersion: apiextensions.k8s.io/v1beta1
4+
kind: CustomResourceDefinition
5+
metadata:
6+
creationTimestamp: null
7+
name: persistenceproviders.execution.experimental.securecodebox.io
8+
spec:
9+
additionalPrinterColumns:
10+
- JSONPath: .spec.image
11+
description: PersistenceProvider Image
12+
name: Image
13+
type: string
14+
group: execution.experimental.securecodebox.io
15+
names:
16+
kind: PersistenceProvider
17+
plural: persistenceproviders
18+
scope: ""
19+
subresources: {}
20+
validation:
21+
openAPIV3Schema:
22+
description: PersistenceProvider is the Schema for the persistenceproviders
23+
API
24+
properties:
25+
apiVersion:
26+
description: 'APIVersion defines the versioned schema of this representation
27+
of an object. Servers should convert recognized schemas to the latest
28+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
29+
type: string
30+
kind:
31+
description: 'Kind is a string value representing the REST resource this
32+
object represents. Servers may infer this from the endpoint the client
33+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
34+
type: string
35+
metadata:
36+
type: object
37+
spec:
38+
description: PersistenceProviderSpec defines the desired state of PersistenceProvider
39+
properties:
40+
env:
41+
items:
42+
description: EnvVar represents an environment variable present in
43+
a Container.
44+
properties:
45+
name:
46+
description: Name of the environment variable. Must be a C_IDENTIFIER.
47+
type: string
48+
value:
49+
description: 'Variable references $(VAR_NAME) are expanded using
50+
the previous defined environment variables in the container
51+
and any service environment variables. If a variable cannot
52+
be resolved, the reference in the input string will be unchanged.
53+
The $(VAR_NAME) syntax can be escaped with a double $$, ie:
54+
$$(VAR_NAME). Escaped references will never be expanded, regardless
55+
of whether the variable exists or not. Defaults to "".'
56+
type: string
57+
valueFrom:
58+
description: Source for the environment variable's value. Cannot
59+
be used if value is not empty.
60+
properties:
61+
configMapKeyRef:
62+
description: Selects a key of a ConfigMap.
63+
properties:
64+
key:
65+
description: The key to select.
66+
type: string
67+
name:
68+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
69+
TODO: Add other useful fields. apiVersion, kind, uid?'
70+
type: string
71+
optional:
72+
description: Specify whether the ConfigMap or its key
73+
must be defined
74+
type: boolean
75+
required:
76+
- key
77+
type: object
78+
fieldRef:
79+
description: 'Selects a field of the pod: supports metadata.name,
80+
metadata.namespace, metadata.labels, metadata.annotations,
81+
spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP,
82+
status.podIPs.'
83+
properties:
84+
apiVersion:
85+
description: Version of the schema the FieldPath is written
86+
in terms of, defaults to "v1".
87+
type: string
88+
fieldPath:
89+
description: Path of the field to select in the specified
90+
API version.
91+
type: string
92+
required:
93+
- fieldPath
94+
type: object
95+
resourceFieldRef:
96+
description: 'Selects a resource of the container: only resources
97+
limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage,
98+
requests.cpu, requests.memory and requests.ephemeral-storage)
99+
are currently supported.'
100+
properties:
101+
containerName:
102+
description: 'Container name: required for volumes, optional
103+
for env vars'
104+
type: string
105+
divisor:
106+
description: Specifies the output format of the exposed
107+
resources, defaults to "1"
108+
type: string
109+
resource:
110+
description: 'Required: resource to select'
111+
type: string
112+
required:
113+
- resource
114+
type: object
115+
secretKeyRef:
116+
description: Selects a key of a secret in the pod's namespace
117+
properties:
118+
key:
119+
description: The key of the secret to select from. Must
120+
be a valid secret key.
121+
type: string
122+
name:
123+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
124+
TODO: Add other useful fields. apiVersion, kind, uid?'
125+
type: string
126+
optional:
127+
description: Specify whether the Secret or its key must
128+
be defined
129+
type: boolean
130+
required:
131+
- key
132+
type: object
133+
type: object
134+
required:
135+
- name
136+
type: object
137+
type: array
138+
image:
139+
description: Foo is an example field of PersistenceProvider. Edit PersistenceProvider_types.go
140+
to remove/update
141+
type: string
142+
type: object
143+
status:
144+
description: PersistenceProviderStatus defines the observed state of PersistenceProvider
145+
type: object
146+
type: object
147+
version: v1
148+
versions:
149+
- name: v1
150+
served: true
151+
storage: true
152+
status:
153+
acceptedNames:
154+
kind: ""
155+
plural: ""
156+
conditions: []
157+
storedVersions: []
Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
2+
---
3+
apiVersion: apiextensions.k8s.io/v1beta1
4+
kind: CustomResourceDefinition
5+
metadata:
6+
creationTimestamp: null
7+
name: scans.execution.experimental.securecodebox.io
8+
spec:
9+
additionalPrinterColumns:
10+
- JSONPath: .spec.scanType
11+
description: Scan Type
12+
name: Type
13+
type: string
14+
- JSONPath: .status.state
15+
description: Scan State
16+
name: State
17+
type: string
18+
- JSONPath: .status.findingCount
19+
description: Total Finding Count
20+
name: Findings
21+
type: string
22+
group: execution.experimental.securecodebox.io
23+
names:
24+
kind: Scan
25+
plural: scans
26+
scope: ""
27+
subresources:
28+
status: {}
29+
validation:
30+
openAPIV3Schema:
31+
description: Scan is the Schema for the scans API
32+
properties:
33+
apiVersion:
34+
description: 'APIVersion defines the versioned schema of this representation
35+
of an object. Servers should convert recognized schemas to the latest
36+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
37+
type: string
38+
kind:
39+
description: 'Kind is a string value representing the REST resource this
40+
object represents. Servers may infer this from the endpoint the client
41+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
42+
type: string
43+
metadata:
44+
type: object
45+
spec:
46+
description: ScanSpec defines the desired state of Scan
47+
properties:
48+
parameters:
49+
items:
50+
type: string
51+
type: array
52+
scanType:
53+
type: string
54+
type: object
55+
status:
56+
description: ScanStatus defines the observed state of Scan
57+
properties:
58+
findingCategories:
59+
additionalProperties:
60+
format: int64
61+
type: integer
62+
description: FindingCategories indicates the count of finding broken
63+
down by their categories
64+
type: object
65+
findingCount:
66+
description: FindingCount indicates how many findings were identified
67+
in total
68+
format: int64
69+
type: integer
70+
findingSeverities:
71+
description: FindingSeverities indicates the count of finding with the
72+
respective severity
73+
properties:
74+
highCount:
75+
format: int64
76+
type: integer
77+
informationalCount:
78+
format: int64
79+
type: integer
80+
lowCount:
81+
format: int64
82+
type: integer
83+
mediumCount:
84+
format: int64
85+
type: integer
86+
type: object
87+
rawResultFile:
88+
description: RawResultFile Filename of the result file of the scanner.
89+
e.g. `nmap-result.xml`
90+
type: string
91+
rawResultType:
92+
description: RawResultType determines which kind of ParseDefinition
93+
will be used to turn the raw results of the scanner into findings
94+
type: string
95+
state:
96+
type: string
97+
type: object
98+
type: object
99+
version: v1
100+
versions:
101+
- name: v1
102+
served: true
103+
storage: true
104+
status:
105+
acceptedNames:
106+
kind: ""
107+
plural: ""
108+
conditions: []
109+
storedVersions: []

0 commit comments

Comments
 (0)