ack-operator

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
ack
pkg
apis/ack.pandaria.io/v1
+k8s:deepcopy-gen=package +groupName=ack.pandaria.io
+k8s:deepcopy-gen=package +groupName=ack.pandaria.io

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL