Skip to content

Commit

Permalink
add manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
michalg9 committed Mar 1, 2024
1 parent ec2268e commit 56e7473
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
49 changes: 49 additions & 0 deletions config/crd/bases/app.spacelift.io_stacks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.13.0
name: stacks.app.spacelift.io
spec:
group: app.spacelift.io
names:
kind: Stack
listKind: StackList
plural: stacks
singular: stack
scope: Namespaced
versions:
- name: v1beta1
schema:
openAPIV3Schema:
description: Stack is the Schema for the stacks 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: StackSpec defines the desired state of Stack
properties:
foo:
description: Foo is an example field of Stack. Edit stack_types.go
to remove/update
type: string
type: object
status:
description: StackStatus defines the observed state of Stack
type: object
type: object
served: true
storage: true
subresources:
status: {}
26 changes: 26 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,29 @@ rules:
- get
- patch
- update
- apiGroups:
- app.spacelift.io
resources:
- stacks
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- app.spacelift.io
resources:
- stacks/finalizers
verbs:
- update
- apiGroups:
- app.spacelift.io
resources:
- stacks/status
verbs:
- get
- patch
- update

0 comments on commit 56e7473

Please sign in to comment.