AppD Base Image Not Allowed (SL012)

This rule is deprecated since version 1.2.0.

Flags use of AppD base images in skaffold.yaml as ERROR and recommends JRE base images. Deprecated since all components are migrated off AppD.

Description

Parses skaffold.yaml and inspects the sandbox base image reference. If the image name contains 'appd' (case-insensitive) or if the base image could not be found, an ERROR is reported.

Rationale

AppD base images are deprecated. Services should migrate to supported JRE base images.

Findings

  • ERROR

    • Base image contains 'appd'

    • Could not find sandbox base image in skaffold.yaml

Noncompliant

AppD base image in skaffold.yaml
# skaffold.yaml using deprecated AppD base image
apiVersion: skaffold/v3
kind: Config
build:
  artifacts:
    - image: nexus/mapsandbox/base/appd-java21:1.2.0  # contains 'appd' -> not allowed

Compliant

Compliant JRE base image in skaffold.yaml
# skaffold.yaml using compliant JRE base image
apiVersion: skaffold/v3
kind: Config
build:
  artifacts:
    - image: nexus/mapsandbox/base/java21-jre:1.3.1

Configuration

This rule has no configuration.