Skip to content

Registry Proxy ​

The registryproxies.operator.kyma-project.io CustomResourceDefinition (CRD) describes the kind and the format of data that is used to manage Registry Proxies within Kyma. It facilitates the configuration and management of the Registry Proxy service, which acts as a proxy between the Kyma cluster and external container registries. To get the up-to-date CRD and show the output in the YAML format, run this command:

bash
kubectl get registryproxies.operator.kyma-project.io -A -o yaml

Sample Custom Resource ​

The following RegistryProxy object represents a proxy configuration for connecting to a target container registry through the Connectivity Proxy. The status field provides information about the state, served status, and conditions of the Registry Proxy.

yaml
apiVersion: registry-proxy.kyma-project.io/v1alpha1
kind: RegistryProxy
metadata:
  name: registry-proxy-example
spec: {}

Custom Resource Parameters ​

registryproxies.operator.kyma-project.io/v1alpha1 ​

Status:

ParameterTypeDescription
statestringRepresents the current state of the Registry Proxy. Possible values: Ready, Processing, Error, Deleting, Warning.
servedstringIndicates whether the Registry Proxy is actively managed. Possible values: True and False.
conditions[]objectSpecifies an array of conditions describing the status of the Registry Proxy.

Status Reasons ​

Processing of a RegistryProxy CR can succeed, continue, or fail for one of these reasons:

ReasonTypeDescription
ConfigurationConfiguredThe Registry Proxy is being configured.
ConfigurationErrConfiguredAn error occurred during the configuration of the Registry Proxy.
ConfiguredConfiguredThe Registry Proxy has been successfully configured.
InstallationInstalledThe Registry Proxy is being installed.
InstallationErrInstalledAn error occurred during the installation of the Registry Proxy.
InstalledInstalledThe Registry Proxy has been successfully installed.
RegistryProxyDuplicatedInstalledA duplicate Registry Proxy was detected.
DeletionDeletedThe Registry Proxy is being deleted.
DeletionErrDeletedAn error occurred during the deletion of the Registry Proxy.
DeletedDeletedThe Registry Proxy has been successfully deleted.
ConnectivityProxyUnavailablePrerequisitesSatisfiedThe Connectivity Proxy StatefulSet status is unknown.
ConnectivityProxyAvailablePrerequisitesSatisfiedThe Connectivity Proxy StatefulSet is ready.

These are the resources related to this CR:

Custom resourceDescription
DeploymentManages the Pods required for the Registry Proxy functionality.
ServiceExposes the Registry Proxy's Deployment as a network service inside the Kubernetes cluster.

These components use this CR:

ComponentDescription
Registry Proxy ControllerManages the lifecycle of the Registry Proxy CR and ensures the proxying functionality is operational.
Registry Proxy ServiceActs as a proxy between the Kyma cluster and the target container registry.