Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SecretName is the name of the v1.Secret that holds the certs.
SecretName = "upload-api-server-secret"
)
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
NewController creates a new controller capable of reconciling API Service certs.
Types ¶
type Reconciler ¶
type Reconciler struct { *reconciler.Base // contains filtered or unexported fields }
Reconciler implements a controller.Reconciler.
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, key string) error
Reconcile is called by knative/pkg when a new event is observed by one of the watchers in the controller.
This controller is responsible for one thing... Keeping the API server secret and the caBundle field in the APIService in sync.
Click to show internal directories.
Click to hide internal directories.