Documentation ¶
Overview ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func GetExternalSecretCondition(status esv1beta1.ExternalSecretStatus, ...) *esv1beta1.ExternalSecretStatusCondition
- func NewExternalSecretCondition(condType esv1beta1.ExternalSecretConditionType, status v1.ConditionStatus, ...) *esv1beta1.ExternalSecretStatusCondition
- func SetExternalSecretCondition(es *esv1beta1.ExternalSecret, ...)
- type Parser
- func (p *Parser) MergeConfigMap(ctx context.Context, namespace string, tpl esv1beta1.TemplateFrom) error
- func (p *Parser) MergeLiteral(_ context.Context, tpl esv1beta1.TemplateFrom) error
- func (p *Parser) MergeMap(tplMap map[string]string, target esv1beta1.TemplateTarget) error
- func (p *Parser) MergeSecret(ctx context.Context, namespace string, tpl esv1beta1.TemplateFrom) error
- func (p *Parser) MergeTemplateFrom(ctx context.Context, es *esv1beta1.ExternalSecret) error
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExternalSecretCondition ¶
func GetExternalSecretCondition(status esv1beta1.ExternalSecretStatus, condType esv1beta1.ExternalSecretConditionType) *esv1beta1.ExternalSecretStatusCondition
GetExternalSecretCondition returns the condition with the provided type.
func NewExternalSecretCondition ¶
func NewExternalSecretCondition(condType esv1beta1.ExternalSecretConditionType, status v1.ConditionStatus, reason, message string) *esv1beta1.ExternalSecretStatusCondition
NewExternalSecretCondition a set of default options for creating an External Secret Condition.
func SetExternalSecretCondition ¶
func SetExternalSecretCondition(es *esv1beta1.ExternalSecret, condition esv1beta1.ExternalSecretStatusCondition)
SetExternalSecretCondition updates the external secret to include the provided condition.
Types ¶
type Parser ¶ added in v0.7.1
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) MergeConfigMap ¶ added in v0.7.1
func (*Parser) MergeLiteral ¶ added in v0.7.1
func (*Parser) MergeSecret ¶ added in v0.7.1
func (*Parser) MergeTemplateFrom ¶ added in v0.7.1
type Reconciler ¶
type Reconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme RestConfig *rest.Config ControllerClass string RequeueInterval time.Duration ClusterSecretStoreEnabled bool EnableFloodGate bool // contains filtered or unexported fields }
Reconciler reconciles a ExternalSecret object.
func (*Reconciler) Reconcile ¶
Reconcile implements the main reconciliation loop for watched objects (ExternalSecret, ClusterSecretStore and SecretStore), and updates/creates a Kubernetes secret based on them.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, opts controller.Options) error
SetupWithManager returns a new controller builder that will be started by the provided Manager.