Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServiceName string = "governance-policy-compliance-history-api" // The Route name needs to be relatively short since there is a 63 character limit on DNS names. RouteName string = "governance-history-api" DBSecretName string = "governance-policy-database" )
Variables ¶
View Source
var RouteGVR = schema.GroupVersionResource{Group: "route.openshift.io", Version: "v1", Resource: "routes"}
Functions ¶
This section is empty.
Types ¶
type ComplianceDBSecretReconciler ¶
type ComplianceDBSecretReconciler struct { DynamicWatcher k8sdepwatches.DynamicWatcher DynamicClient *dynamic.DynamicClient }
func (*ComplianceDBSecretReconciler) Reconcile ¶
func (r *ComplianceDBSecretReconciler) Reconcile( ctx context.Context, watcher k8sdepwatches.ObjectIdentifier, ) (ctrl.Result, error)
Reconcile watches the governance-policy-database secret in the controller namespace. On changes it'll handle the Kubernetes objects to expose the compliance history API.
Click to show internal directories.
Click to hide internal directories.