Skip to content

Commit

Permalink
Merge pull request #2 from epsagon/release-operation-0.1
Browse files Browse the repository at this point in the history
preparing for v0.1 release
  • Loading branch information
enoodle authored Sep 8, 2020
2 parents 829d15a + b2e930f commit 09624b1
Show file tree
Hide file tree
Showing 4 changed files with 418 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ delete: manifests kustomize
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default | kubectl delete -f -

update-release: docker-build docker-push
$(KUSTOMIZE) build config/crd > build/crd.yaml
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
$(KUSTOMIZE) build config/default > build/epsagon-operator.yaml

# Generate manifests e.g. CRD, RBAC etc.
manifests: controller-gen
$(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
Expand Down Expand Up @@ -126,5 +131,4 @@ bundle: manifests
bundle-build:
$(CONTAINER_RUNTIME) build -f bundle.Dockerfile -t $(BUNDLE_IMG) .


build-push-deploy: docker-build docker-push deploy
74 changes: 74 additions & 0 deletions build/crd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.3.0
creationTimestamp: null
name: epsagons.integration.epsagon.com
spec:
group: integration.epsagon.com
names:
kind: Epsagon
listKind: EpsagonList
plural: epsagons
singular: epsagon
scope: Namespaced
subresources:
status: {}
validation:
openAPIV3Schema:
description: Epsagon is the Schema for the epsagons 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: EpsagonSpec defines the desired state of Epsagon
properties:
clusterEndpoint:
description: ClusterEndpoint cluster api endpoint to access from outside
of the cluster
type: string
epsagonToken:
description: EpsagonToken is the Epsagon token for the account integrating
this cluster
type: string
required:
- clusterEndpoint
- epsagonToken
type: object
status:
description: EpsagonStatus defines the observed state of Epsagon
properties:
lastUpdate:
description: LastUpdate the last update time of this resource
format: date-time
type: string
reason:
description: Reason description of the error, if any.
type: string
status:
description: Status of the integration with Epsagon
type: string
type: object
type: object
version: v1alpha1
versions:
- name: v1alpha1
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading

0 comments on commit 09624b1

Please sign in to comment.