Skip to content

cnrancher/ack-operator

Repository files navigation

cnrancher/ack-operator

Operator for managing ACK clusters in Rancher.

Building

make

You can find the binary in bin/,its name is ack-operator.

Running

With a kubeconfig set in your shell, run the binary:

./ack-operator

Apply the CRD:

kubectl apply -f templates/ackclusterconfig.yaml

Create a new cluster

kubectl apply -f examples/create-examples.yaml

Import a exist cluster

kubectl apply -f examples/import-examples.yaml

Create a Opaque type Secret

apiVersion: v1
kind: Secret
metadata:
  name: "<name>"
  namespace: "<namespace>"
type: Opaque
data:
  aliyunecscredentialConfig-accessKeyId: "<accessKeyId-based64-encoded>"
  aliyunecscredentialConfig-accessKeySecret: "<accessKeySecret-based64-encoded>"

You can get base64 encoded content with the command below

echo -n "content" | base64

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages