Skip to content

Commit

Permalink
Add ServiceImport CRD (submariner-io#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Vishal Thapar <[email protected]>
  • Loading branch information
vthapar authored Jul 9, 2020
1 parent c9f1f79 commit fb65f1f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions submariner-k8s-broker/templates/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,20 @@ spec:
plural: serviceexports
singular: serviceexport
scope: Namespaced
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: serviceimports.lighthouse.submariner.io
annotations:
"helm.sh/hook": crd-install
spec:
group: lighthouse.submariner.io
version: v2alpha1
names:
kind: ServiceImport
plural: serviceimports
singular: serviceimport
scope: Namespaced
{{- end -}}
{{- end -}}
15 changes: 15 additions & 0 deletions submariner/templates/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,20 @@ spec:
plural: serviceexports
singular: serviceexport
scope: Namespaced
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: serviceimports.lighthouse.submariner.io
annotations:
"helm.sh/hook": crd-install
spec:
group: lighthouse.submariner.io
version: v2alpha1
names:
kind: ServiceImport
plural: serviceimports
singular: serviceimport
scope: Namespaced
{{- end }}
{{- end -}}

0 comments on commit fb65f1f

Please sign in to comment.