Skip to content

[Regression-1.5.0-rc.2] EnvoyProxy image with digest is rejected #6713

@shahar-h

Description

@shahar-h

Description:
A custom EnvoyProxy image with digest is rejected with:

The EnvoyProxy "custom-proxy-config" is invalid: spec.provider.kubernetes.envoyDeployment.container.image: Invalid value: "string": Image must include a tag and allowed characters only (e.g., 'repo:tag').

Repro steps:

  1. install EG 1.5.0-rc.2 chart:
helm install eg oci://docker.io/envoyproxy/gateway-helm --version v1.5.0-rc.2 -n envoy-gateway-system --create-namespace --wait
  1. Apply EnvoyProxy resource with a custom image that contains a digest:
cat <<EOF | kubectl apply -f -
apiVersion: gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
  name: custom-proxy-config
  namespace: default
spec:
  provider:
    type: Kubernetes
    kubernetes:
      envoyDeployment:
        container:
          image: envoyproxy/envoy:distroless-v1.35.0@sha256:da99c47f08546492d19973920dc76334c592f59ad5b732a514320d959db9fa40
EOF

Environment:
EG 1.5.0-rc.2

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions