Skip to content

Commit

Permalink
feat(lifecycle-operator): introduce keptnappcontext crd (#2769)
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffrey Israel <[email protected]>
Co-authored-by: odubajDT <[email protected]>
Co-authored-by: RealAnna <[email protected]>
  • Loading branch information
3 people authored Jan 8, 2024
1 parent 442eb46 commit 4e7751a
Show file tree
Hide file tree
Showing 18 changed files with 1,789 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ keda
kelseyhightower
keptn
keptnapp
keptnappcontext
keptnappcontextlist
keptnappcontextspec
keptnappcontextstatus
keptnappcreationrequest
keptnappcreationrequestlist
keptnappcreationrequestspec
Expand Down
86 changes: 86 additions & 0 deletions .github/scripts/.helm-tests/default/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,92 @@ spec:
subresources:
status: {}
---
# Source: keptn/charts/lifecycleOperator/templates/keptnappcontext-crd.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: keptnappcontexts.lifecycle.keptn.sh
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
cert-manager.io/inject-ca-from: 'helmtests/keptn-certs'
labels:
app.kubernetes.io/part-of: keptn
crdGroup: lifecycle.keptn.sh
keptn.sh/inject-cert: "true"
app.kubernetes.io/instance: keptn-test
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: lifecycle-operator
app.kubernetes.io/version: vmyversion
helm.sh/chart: lifecycle-operator-0.1.0
spec:
group: lifecycle.keptn.sh
names:
kind: KeptnAppContext
listKind: KeptnAppContextList
plural: keptnappcontexts
singular: keptnappcontext
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: KeptnAppContext is the Schema for the keptnappcontexts API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: KeptnAppContextSpec defines the desired state of KeptnAppContext
properties:
metadata:
additionalProperties:
type: string
description: Metadata contains additional key-value pairs for contextual information.
type: object
postDeploymentEvaluations:
description: PostDeploymentEvaluations is a list of all evaluations to be performed during the post-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnEvaluationDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
postDeploymentTasks:
description: PostDeploymentTasks is a list of all tasks to be performed during the post-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnTaskDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
preDeploymentEvaluations:
description: PreDeploymentEvaluations is a list of all evaluations to be performed during the pre-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnEvaluationDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
preDeploymentTasks:
description: PreDeploymentTasks is a list of all tasks to be performed during the pre-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnTaskDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
traceLinks:
description: TraceLinks are links to OpenTelemetry span IDs for tracking. These links establish relationships between spans across different services, enabling distributed tracing. For more information on OpenTelemetry span links, refer to the documentation https://opentelemetry.io/docs/concepts/signals/traces/#span-links.
items:
type: string
type: array
type: object
status:
description: KeptnAppContextStatus defines the observed state of KeptnAppContext
properties:
status:
description: unused field
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
---
# Source: keptn/charts/lifecycleOperator/templates/keptnappcreationrequest-crd.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
86 changes: 86 additions & 0 deletions .github/scripts/.helm-tests/lifecycle-only/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,92 @@ spec:
subresources:
status: {}
---
# Source: keptn/charts/lifecycleOperator/templates/keptnappcontext-crd.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: keptnappcontexts.lifecycle.keptn.sh
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
cert-manager.io/inject-ca-from: 'helmtests/keptn-certs'
labels:
app.kubernetes.io/part-of: keptn
crdGroup: lifecycle.keptn.sh
keptn.sh/inject-cert: "true"
app.kubernetes.io/instance: keptn-test
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: lifecycle-operator
app.kubernetes.io/version: vmyversion
helm.sh/chart: lifecycle-operator-0.1.0
spec:
group: lifecycle.keptn.sh
names:
kind: KeptnAppContext
listKind: KeptnAppContextList
plural: keptnappcontexts
singular: keptnappcontext
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: KeptnAppContext is the Schema for the keptnappcontexts API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: KeptnAppContextSpec defines the desired state of KeptnAppContext
properties:
metadata:
additionalProperties:
type: string
description: Metadata contains additional key-value pairs for contextual information.
type: object
postDeploymentEvaluations:
description: PostDeploymentEvaluations is a list of all evaluations to be performed during the post-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnEvaluationDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
postDeploymentTasks:
description: PostDeploymentTasks is a list of all tasks to be performed during the post-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnTaskDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
preDeploymentEvaluations:
description: PreDeploymentEvaluations is a list of all evaluations to be performed during the pre-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnEvaluationDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
preDeploymentTasks:
description: PreDeploymentTasks is a list of all tasks to be performed during the pre-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnTaskDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
traceLinks:
description: TraceLinks are links to OpenTelemetry span IDs for tracking. These links establish relationships between spans across different services, enabling distributed tracing. For more information on OpenTelemetry span links, refer to the documentation https://opentelemetry.io/docs/concepts/signals/traces/#span-links.
items:
type: string
type: array
type: object
status:
description: KeptnAppContextStatus defines the observed state of KeptnAppContext
properties:
status:
description: unused field
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
---
# Source: keptn/charts/lifecycleOperator/templates/keptnappcreationrequest-crd.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
86 changes: 86 additions & 0 deletions .github/scripts/.helm-tests/lifecycle-with-certs/result.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,92 @@ spec:
subresources:
status: {}
---
# Source: keptn/charts/lifecycleOperator/templates/keptnappcontext-crd.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: keptnappcontexts.lifecycle.keptn.sh
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
cert-manager.io/inject-ca-from: 'helmtests/keptn-certs'
labels:
app.kubernetes.io/part-of: keptn
crdGroup: lifecycle.keptn.sh
keptn.sh/inject-cert: "true"
app.kubernetes.io/instance: keptn-test
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: lifecycle-operator
app.kubernetes.io/version: vmyversion
helm.sh/chart: lifecycle-operator-0.1.0
spec:
group: lifecycle.keptn.sh
names:
kind: KeptnAppContext
listKind: KeptnAppContextList
plural: keptnappcontexts
singular: keptnappcontext
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: KeptnAppContext is the Schema for the keptnappcontexts API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: KeptnAppContextSpec defines the desired state of KeptnAppContext
properties:
metadata:
additionalProperties:
type: string
description: Metadata contains additional key-value pairs for contextual information.
type: object
postDeploymentEvaluations:
description: PostDeploymentEvaluations is a list of all evaluations to be performed during the post-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnEvaluationDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
postDeploymentTasks:
description: PostDeploymentTasks is a list of all tasks to be performed during the post-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnTaskDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
preDeploymentEvaluations:
description: PreDeploymentEvaluations is a list of all evaluations to be performed during the pre-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnEvaluationDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
preDeploymentTasks:
description: PreDeploymentTasks is a list of all tasks to be performed during the pre-deployment phase of the KeptnApp. The items of this list refer to the names of KeptnTaskDefinitions located in the same namespace as the KeptnApp, or in the Keptn namespace.
items:
type: string
type: array
traceLinks:
description: TraceLinks are links to OpenTelemetry span IDs for tracking. These links establish relationships between spans across different services, enabling distributed tracing. For more information on OpenTelemetry span links, refer to the documentation https://opentelemetry.io/docs/concepts/signals/traces/#span-links.
items:
type: string
type: array
type: object
status:
description: KeptnAppContextStatus defines the observed state of KeptnAppContext
properties:
status:
description: unused field
type: string
type: object
type: object
served: true
storage: true
subresources:
status: {}
---
# Source: keptn/charts/lifecycleOperator/templates/keptnappcreationrequest-crd.yaml
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
Expand Down
Loading

0 comments on commit 4e7751a

Please sign in to comment.