Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/emreodabas/image-decorator-controller

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/emreodabas/image-decorator-controller

  • v0.0.0-20210316065445-5bb7ef77e3a0
  • Source
  • Go
  • Socket score

Version published
Created
Source

image-decorator-controller

Firstly this project structure is created with kubebuilder

Kubernetes Controller for importing external images to own/local repository and redeploy workload

asciicast

Run Demo

  • git clone https://github.com/emreodabas/image-decorator-controller
  • cd /image-decorator-controller && go get && /hack/runDemo.sh
  • removing sample data
  • hack/resetWorkloads.sh
  • check sample data states
  • hack/checkStates.sh

Installation

localhost
  • git clone https://github.com/emreodabas/image-decorator-controller
  • cd image-decorator-controller && make run ENV=dev
Kubernetes

!! kustomize required

  • git clone https://github.com/emreodabas/image-decorator-controller
  • cd image-decorator-controller && go get && make deploy
Docker publish
  • git clone https://github.com/emreodabas/image-decorator-controller
  • cd image-decorator-controller && make docker-publish

Configurations

for development usage add environment variable ENV=dev

Variable NameDescriptionSample
BACKUP_REGISTRY_ADDRESS(required) backup registry address"kubermatico" "gcr.io/kubermatico"
REQUEUE_DURATIONms based requeue duration"5000"
IGNORED_NScomma seperated namespaces for ignored namespaces"kube-system,kube-builder-system"
USERNAME(required) registry usernamekubermatico
PASSWORDrequired if access token is null-
ACCESS_TOKENrequired if password is null-
KUBE_CONFIG_PATHlocal path of kubeconfig/home/emreo/.kube/config
LEADER_ELECTIONboolean default falsetrue - false
Known issues
  • Controller throw exception if resource updated while process
    • This reconciles are requeueing and processed after requeue duration
  • Configuration file committed for development usage

FAQs

Package last updated on 16 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc