Skip to content

hokstack/hok-operator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hok-operator

Installation

Apply the CRD

$ cd deploy/crds
$ kubectl apply -f crd.yaml

Create the ClusterRole, ClusterRoleBinding and ServiceAccount

$ kubectl apply -f service_account.yaml -n <NAMESPACE>
$ kubectl apply -f clusterrole.yaml

Edit cluster_role_binding.yaml file and add your service account namespace.
Then apply the cluster role binding.

$ kubectl apply -f cluster_role_binding.yaml

Deploy the Operator

$ kubectl apply -f operator.yaml -n <NAMESPACE>

Deploy the CustomResource -> HokStack Make sure to edit the required values.

$ kubectl apply -f cr.yaml -n <NAMESPACE>