Skip to content

Instantly share code, notes, and snippets.

@danehans
Last active November 29, 2018 21:55
Show Gist options
  • Save danehans/bb579b8ebafacca52f58797d916a83e3 to your computer and use it in GitHub Desktop.
Save danehans/bb579b8ebafacca52f58797d916a83e3 to your computer and use it in GitHub Desktop.
fedv2 pluralization
apiVersion: primitives.federation.k8s.io/v1alpha1
kind: FederatedCustomResourceDefinition
metadata:
name: serviceentries.networking.istio.io
annotations:
"helm.sh/hook": crd-install
labels:
app: istio-pilot
spec:
template:
spec:
group: networking.istio.io
names:
kind: ServiceEntry
listKind: ServiceEntryList
plural: serviceentries
singular: serviceentry
categories:
- istio-io
- networking-istio-io
scope: Namespaced
version: v1alpha3
---
apiVersion: primitives.federation.k8s.io/v1alpha1
kind: FederatedCustomResourceDefinitionPlacement
metadata:
name: serviceentries.networking.istio.io
annotations:
"helm.sh/hook": crd-install
labels:
app: istio-pilot
spec:
clusterNames:
- cluster2
- cluster1
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: serviceentries.networking.istio.io
annotations:
"helm.sh/hook": crd-install
labels:
app: istio-pilot
spec:
group: networking.istio.io
names:
kind: ServiceEntry
listKind: ServiceEntryList
plural: serviceentries
singular: serviceentry
categories:
- istio-io
- networking-istio-io
scope: Namespaced
version: v1alpha3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment