Skip to content

Commit

Permalink
Emit warning event when internal docker registry is configured
Browse files Browse the repository at this point in the history
  • Loading branch information
kwiatekus committed Apr 29, 2024
1 parent 5738c4d commit c1e0a28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/operator/internal/state/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const (
extRegSecNotInSpecFormat = "actual registry configuration comes from %s/%s and it is different from spec.dockerRegistry.secretName. Reflect %s secret in the secretName field"
internalEnabledAndSecretNameUsedMessage = "spec.dockerRegistry.enableInternal is true and spec.dockerRegistry.secretName is used. Delete the secretName field or set the enableInternal value to false"
internalRegistryEventType = "Warning"
internalRegistryEventReason = "Internal Docker Registry option configured"
internalRegistryEventMessage = "Be advised: Internal Docker Registry is not Highly Available registry and should be used for development purpose only"
internalRegistryEventReason = "InternalDockerRegistryEnabled"
internalRegistryEventMessage = "Internal Docker Registry is not Highly Available registry and should be used for development purpose only"
)

func sFnRegistryConfiguration(ctx context.Context, r *reconciler, s *systemState) (stateFn, *ctrl.Result, error) {
Expand Down

0 comments on commit c1e0a28

Please sign in to comment.