deployment

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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

type DeploymentGitSSHSecretReconciler struct {
	Client client.Client
	Log    logr.Logger
}

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

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

Reconcile creates or updates the git-ssh clone ExternalSecret for deployment's manifests repository.

Jump to

Keyboard shortcuts

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