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

Update CRD templates to use new operator name. - #5

Merged
sbose78 merged 6 commits into
redhat-developer:masterfrom
sbose78:componentcrd
Feb 20, 2019
Merged

sbose78 merged 6 commits into
redhat-developer:masterfrom
sbose78:componentcrd

Conversation

@sbose78

@sbose78 sbose78 commented Feb 15, 2019

Copy link
Copy Markdown
Contributor
  • Auto-generated files on doing a
go build -v -o ./bin/devopsconsole-operator cmd/manager/main.go  
  • remove files which were earlier named as devconsole.. . Using devopsconsole.. now.

versions:
- name: v1alpha1
served: true
storage: true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validation is lost in the new CRDs.

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be removed

apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
creationTimestamp: null

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be removed

apiGroup:
type: string
version: v1alpha1
version: v1alpha1 No newline at end of file

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this file name is still devconsole_...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

umm. shows as ...deploy/crds/devopsconsole_v1alpha1_environment_crd.yaml to me

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind then. I must be blind:)

@sbose78

sbose78 commented Feb 20, 2019

Copy link
Copy Markdown
Contributor Author

Thank you @alexeykazakov !

@sbose78
sbose78 merged commit 24b27ea into redhat-developer:master Feb 20, 2019
corinnekrych pushed a commit to corinnekrych/devopsconsole-operator that referenced this pull request Mar 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants