Documentation
¶
Overview ¶
Package deployment reconciles the Deployment git-ssh clone secret — the same ExternalSecret lifecycle as the Build variant (pkg/secrets/git/build), scoped to the Deployment's manifests repository.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentGitSSHSecretReconciler ¶
DeploymentGitSSHSecretReconciler converges the ExternalSecret used to clone a Deployment's manifests repository over SSH — the same lifecycle as BuildGitSSHSecretReconciler, scoped to Deployment.
func NewDeploymentGitSSHSecretReconciler ¶
func NewDeploymentGitSSHSecretReconciler(c client.Client, log logr.Logger) *DeploymentGitSSHSecretReconciler
NewDeploymentGitSSHSecretReconciler constructs a DeploymentGitSSHSecretReconciler.
func (*DeploymentGitSSHSecretReconciler) Delete ¶
func (r *DeploymentGitSSHSecretReconciler) Delete(ctx context.Context, deployment *deploymentResolution.ResolvedDeployment) error
Delete removes both the ExternalSecret and the Secret ESO materialized from it. See BuildGitSSHSecretReconciler.Delete for why the Secret must be deleted explicitly rather than left to the ExternalSecret's ownerReference GC cascade.
func (*DeploymentGitSSHSecretReconciler) Reconcile ¶
func (r *DeploymentGitSSHSecretReconciler) Reconcile(ctx context.Context, deployment *deploymentResolution.ResolvedDeployment, ss environmentResolution.ResolvedSecretStore) error
Reconcile creates or updates the git-ssh clone ExternalSecret for deployment's manifests repository.