Skip to content

Instantly share code, notes, and snippets.

@saiyam1814
Last active July 22, 2024 12:22
Show Gist options
  • Save saiyam1814/7d1cd47474905d006b4da329e8848ea6 to your computer and use it in GitHub Desktop.
Save saiyam1814/7d1cd47474905d006b4da329e8848ea6 to your computer and use it in GitHub Desktop.
longhorn-vcluster-generic-sync.yaml
experimental:
multiNamespaceMode:
enabled: true
genericSync:
role:
extraRules:
- apiGroups: ["longhorn.io"]
resources: ["volumes", "engineimages", "engines", "replicas", "settings", "nodes", "instancemanagers", "sharemanagers"]
verbs: ["create", "delete", "patch", "update", "get", "list", "watch"]
clusterRole:
extraRules:
- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["get", "list", "watch"]
export:
- apiVersion: longhorn.io/v1beta1
kind: Volume
- apiVersion: longhorn.io/v1beta1
kind: EngineImage
- apiVersion: longhorn.io/v1beta1
kind: Engine
- apiVersion: longhorn.io/v1beta1
kind: Replica
- apiVersion: longhorn.io/v1beta1
kind: Setting
- apiVersion: longhorn.io/v1beta1
kind: Node
- apiVersion: longhorn.io/v1beta1
kind: InstanceManager
- apiVersion: longhorn.io/v1beta1
kind: ShareManager
import:
- kind: Secret
apiVersion: v1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment