Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improvements and refactor #10

Merged
merged 1 commit into from
Aug 2, 2021
Merged

improvements and refactor #10

merged 1 commit into from
Aug 2, 2021

Conversation

eguzki
Copy link
Contributor

@eguzki eguzki commented Jul 20, 2021

  • Upgrade operator-sdk 1.6.1
    • sigs.k8s.io/controller-runtime v0.7.2
    • k8s.io/api v0.19.2
    • k8s.io/apimachinery v0.19.2
  • Makefile local-* targets for dev purposes (deploy locally in kind)
make help

Usage:
  make <target>

General
  help             Display this help.

Development
  manifests        Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
  generate         Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations.
  fmt              Run go fmt against code.
  vet              Run go vet against code.
  test             Run tests.

Build
  build            Build manager binary.
  run              Run a controller from your host.
  docker-build     Build docker image with the manager.
  docker-push      Push docker image with the manager.

Deployment
  install          Install CRDs into the K8s cluster specified in ~/.kube/config.
  uninstall        Uninstall CRDs from the K8s cluster specified in ~/.kube/config.
  deploy           Deploy controller to the K8s cluster specified in ~/.kube/config.
  undeploy         Undeploy controller from the K8s cluster specified in ~/.kube/config.
  controller-gen   Download controller-gen locally if necessary.
  kustomize        Download kustomize locally if necessary.
  kind             Download kind locally if necessary
  local-setup      Deploy operator in local kind cluster
  local-dev-setup  Run operator locally in local kind cluster
  local-cleanup    Clean up local kind cluster
  local-setup-kind  Create kind cluster
  bundle           Generate bundle manifests and metadata, then validate generated files.
  bundle-build     Build the bundle image.
  bundle-push      Push the bundle image.
  opm              Download opm locally if necessary.
  catalog-build    Build a catalog image.
  catalog-push     Push a catalog image.
  • Add custom http Transport to debug HTTP requests and responses (conversation between controller and Limitador admin API)
  • Use BaseReconcilers for all the controllers.

@eguzki eguzki requested review from eloycoto and jmprusi July 20, 2021 14:25
* Upgrade operator-sdk 1.6.1
  *  sigs.k8s.io/controller-runtime v0.7.2
  * k8s.io/api v0.19.2
  * k8s.io/apimachinery v0.19.2
* Makefile `local-*` targets for dev purposes (deploy locally in kind)
* Add custom http Transport to debug HTTP requests and responses (conversation between controller and Limitador admin API)
* Use BaseReconcilers for all the controllers.
@eguzki eguzki force-pushed the refactor-and-improvements branch from 442f07d to d89c7c8 Compare July 20, 2021 15:30
@eguzki eguzki merged commit 53f6fb2 into main Aug 2, 2021
@eguzki eguzki deleted the refactor-and-improvements branch August 2, 2021 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant