app

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Overview

Package app contains reconciliation logic for core kVDI resources. This includes RBAC, deployments, initial configurations, and a PKI.

Index

Constants

This section is empty.

Variables

View Source
var GrafanaDashboard string

GrafanaDashboard is the JSON of the Grafana dashboard.

View Source
var GrafanaDatasourceTmpl = `apiVersion: 1
datasources:
  - name: prometheus
    type: prometheus
    access: proxy
    url: %s.%s.svc:9090
`

GrafanaDatasourceTmpl defines the prometheus datasource configuration to provide to the grafana image.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	resources.VDIReconciler
	// contains filtered or unexported fields
}

Reconciler implements a reconciler for app-related resources.

func New

New returns a new App reconciler

func (*Reconciler) Reconcile

func (f *Reconciler) Reconcile(ctx context.Context, reqLogger logr.Logger, instance *appv1.VDICluster) error

Reconcile reconciles all the core-components of a kVDI cluster.

Jump to

Keyboard shortcuts

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