-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Layering engine for kyma modules (#1322)
* Layering engine for kyma modules Module root folders are now inspected and specific subfolders and files are added into dedicated layers Signed-off-by: Borja Clemente <borja.clemente.castanera@sap.com> * Adapt to new charts module format and inspection Charts now live in their own subflder and inspection needs to be adapted. Signed-off-by: Borja Clemente <borja.clemente.castanera@sap.com> Co-authored-by: Johannes Veicht <johannes.veicht@sap.com>
- Loading branch information
Showing
7 changed files
with
152 additions
and
7 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: v1 | ||
description: Dummy chart | ||
name: dummy-chart | ||
version: 0.0.999 | ||
home: https://kyma-project.io | ||
icon: https://github.com/kyma-project/kyma/blob/main/logo.png?raw=true |
File renamed without changes.
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 @@ | ||
image: | ||
pullPolicy: IfNotPresent | ||
disableConcurrency: false | ||
restartPolicy: Never | ||
resources: | ||
requests: | ||
memory: 32Mi | ||
cpu: 10m | ||
limits: | ||
memory: 64Mi | ||
cpu: 200m |
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,40 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
# name must match the spec fields below, and be in the form: <plural>.<group> | ||
name: something.stable.example.com | ||
spec: | ||
# group name to use for REST API: /apis/<group>/<version> | ||
group: stable.example.com | ||
# list of versions supported by this CustomResourceDefinition | ||
versions: | ||
- name: v1 | ||
# Each version can be enabled/disabled by Served flag. | ||
served: true | ||
# One and only one version must be marked as the storage version. | ||
storage: true | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
properties: | ||
spec: | ||
type: object | ||
properties: | ||
cronSpec: | ||
type: string | ||
image: | ||
type: string | ||
replicas: | ||
type: integer | ||
# either Namespaced or Cluster | ||
scope: Namespaced | ||
names: | ||
# plural name to be used in the URL: /apis/<group>/<version>/<plural> | ||
plural: somethings | ||
# singular name to be used as an alias on the CLI and for display | ||
singular: something | ||
# kind is normally the CamelCased singular type. Your resource manifests use this. | ||
kind: Something | ||
# shortNames allow shorter string to match your resource on the CLI | ||
shortNames: | ||
- st |