# README
AppRepository Controller
The controller for managing app (Helm) repository syncs for Kubeapps.
An AppRepository resource looks like this:
apiVersion: v1
items:
apiVersion: kubeapps.com/v1alpha1
kind: AppRepository
metadata:
name: bitnami
spec:
url: https://charts.bitnami.com/incubator
type: helm
This controller will monitor resources of the above type and create Kubernetes CronJobs to schedule the repository to be synced to the database. This is a component of Kubeapps and is intended to be used with it.
Based off the Kubernetes Sample Controller.
# Packages
No description provided by the author
# Functions
NewController returns a new sample controller.
# Constants
ErrResourceExists is used as part of the Event 'reason' when an AppRepository fails to sync due to a CronJob of the same name already existing.
MessageResourceExists is the message used for Events when a resource fails to sync due to a CronJob already existing.
MessageResourceSynced is the message used for an Event fired when an AppRepsitory is synced successfully.
SuccessSynced is used as part of the Event 'reason' when an AppRepository is synced.
# Structs
Controller is the controller implementation for AppRepository resources.