diff --git a/Dockerfile b/Dockerfile index 5cd9acbeb7af004fb7560a9b6fee68d2703c1c3d..89ae7c2e36b717fc831fca40c99de2b96090cd3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,12 +8,6 @@ FROM istio/sidecar_injector:1.5.10 AS base FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} -LABEL org.opencontainers.image.title="sidecar_injector" \ - org.opencontainers.image.description="Istio sidecar_injector is a webhook for automatic Istio sidecar injection." \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.url="https://istio.io" \ - org.opencontainers.image.version="1.5.10" \ - maintainer="cht@dsop.io" COPY --from=base /usr/local/bin/sidecar-injector /usr/local/bin/ diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index ce507b1deffeacc56292474e936b9799e600dafe..0000000000000000000000000000000000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,2 +0,0 @@ -@Library('DCCSCR@master') _ -dccscrPipeline( version: "1.5.10") diff --git a/download.yaml b/download.yaml deleted file mode 100644 index fe2ca9a6e02a7eb7c33f31772826e7a9bab8091c..0000000000000000000000000000000000000000 --- a/download.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -resources: - - url: "docker://docker.io/istio/sidecar_injector@sha256:7805dfbf88e721793c520428dbbd0524fb17e5319fa1578f723b43c8097a0531" - tag: "istio/sidecar_injector:1.5.10" \ No newline at end of file diff --git a/hardening_manifest.yaml b/hardening_manifest.yaml new file mode 100644 index 0000000000000000000000000000000000000000..10e45900584c81b6d3f92fcfd57f45a230da2a28 --- /dev/null +++ b/hardening_manifest.yaml @@ -0,0 +1,50 @@ +--- +apiVersion: v1 + +# The repository name in registry1, excluding /ironbank/ +name: "opensource/istio-1.5/sidecar_injector-1.5" + +# List of tags to push for the repository in registry1 +# The most specific version should be the first tag and will be shown +# on ironbank.dsop.io +tags: +- "1.5.10" +- "latest" + +# Build args passed to Dockerfile ARGs +args: + BASE_IMAGE: "redhat/ubi/ubi8" + BASE_TAG: "8.3" + +# Docker image labels +labels: + org.opencontainers.image.title: "sidecar_injector-1.5" + ## Human-readable description of the software packaged in the image + org.opencontainers.image.description: "Istio sidecar injection adds configurationa of additional containers to the pod template" + ## License(s) under which contained software is distributed + org.opencontainers.image.licenses: "Apache-2.0" + ## URL to find more information on the image + org.opencontainers.image.url: "https://istio.io/" + ## Name of the distributing entity, organization or individual + org.opencontainers.image.vendor: "opensource" + org.opencontainers.image.version: "1.5.10" + ## Keywords to help with search (ex. "cicd,gitops,golang") + mil.dso.ironbank.image.keywords: "istio" + ## This value can be "opensource" or "commercial" + mil.dso.ironbank.image.type: "opensource" + ## Product the image belongs to for grouping multiple images + mil.dso.ironbank.product.name: "istio" + +# List of resources to make available to the offline build context +resources: +- tag: istio/sidecar_injector:1.5.10 + url: docker://docker.io/istio/sidecar_injector@sha256:7805dfbf88e721793c520428dbbd0524fb17e5319fa1578f723b43c8097a0531 + +# List of project maintainers +# FIXME: Fill in the following details for the current container owner in the whitelist +# FIXME: Include any other vendor information if applicable +maintainers: +- email: "klepal_alexander@bah.com" + name: "Alexander Klepal" + username: "alexander.klepal" + cht_member: true diff --git a/renovate.json b/renovate.json index 4de24fb11a5c90880fbe87c0e95ae7338999f41a..10985713154e97b925d8ac0c38b28ac7200d91dc 100644 --- a/renovate.json +++ b/renovate.json @@ -1,33 +1,54 @@ { - "assignees": ["@gavin.scallon"], - "baseBranches": ["development"], - "packageRules": [ - { - "datasources": ["docker"], - "packageNames": ["istio/sidecar_injector"], - "separateMinorPatch": true, - "minor": { - "enabled": false - } + "assignees": [ + "@gavin.scallon" + ], + "baseBranches": [ + "development" + ], + "packageRules": [ + { + "datasources": [ + "docker" + ], + "packageNames": [ + "istio/sidecar_injector" + ], + "separateMinorPatch": true, + "minor": { + "enabled": false } - ], - "regexManagers": [ - { - "fileMatch": ["^Dockerfile$"], - "matchStrings": [ - "version=\"(?.*?)\"" - ], - "depNameTemplate": "istio/sidecar_injector", - "datasourceTemplate": "docker" - }, - { - "fileMatch": ["^Jenkinsfile$"], - "matchStrings": [ - "version:\\s+\"(?.*?)\"" - ], - "depNameTemplate": "istio/sidecar_injector", - "datasourceTemplate": "docker" - } - ] - } - \ No newline at end of file + } + ], + "regexManagers": [ + { + "fileMatch": [ + "^Dockerfile$" + ], + "matchStrings": [ + "version=\"(?.*?)\"" + ], + "depNameTemplate": "istio/sidecar_injector", + "datasourceTemplate": "docker" + }, + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], + "matchStrings": [ + "org\\.opencontainers\\.image\\.version:\\s+\"(?.+?)\"" + ], + "depNameTemplate": "istio/sidecar_injector", + "datasourceTemplate": "docker" + }, + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], + "matchStrings": [ + "tags:\\s+-\\s+\"(?.+?)\"" + ], + "depNameTemplate": "istio/sidecar_injector", + "datasourceTemplate": "docker" + } + ] +} \ No newline at end of file