diff --git a/Dockerfile b/Dockerfile index c0043415d4e744300b9e2ec390b481cbf241ab81..3d7180734ac48b9f2d2c3fb583d7aecacf37824b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,6 @@ FROM istio/install-cni:1.6.14 AS base FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} -LABEL org.opencontainers.image.title="install-cni" \ - org.opencontainers.image.description="Istio Container Network Interface (CNI) plugin allows you to configure and use an Istio mesh." \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.url="https://istio.io" \ - org.opencontainers.image.version="1.6.14" \ - maintainer="cht@dsop.io" COPY --from=base /opt/cni/bin/istio-cni /opt/cni/bin/istio-iptables.sh /opt/cni/bin/istio-cni-repair /opt/cni/bin/ COPY --from=base /install-cni.sh /filter.jq / diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 1b23fc7de07949eed6dbfd9a77148d6d6ab3f5e8..0000000000000000000000000000000000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,2 +0,0 @@ -@Library('DCCSCR@master') _ -dccscrPipeline(version: "1.6.14") diff --git a/download.yaml b/download.yaml deleted file mode 100644 index b6408beb5526eabc0ce45bfd3e8a60f2eed2b2e0..0000000000000000000000000000000000000000 --- a/download.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -resources: - - url: "docker://docker.io/istio/install-cni@sha256:b1d66e0f4b72fea7b54857db6103d555e6822dd71d30b0c1fcf0f5f59a7d2f4f" - tag: "istio/install-cni:1.6.14" \ No newline at end of file diff --git a/hardening_manifest.yaml b/hardening_manifest.yaml new file mode 100644 index 0000000000000000000000000000000000000000..bfdc74bb6828a1c5d5656b2aa62138ecb16895b2 --- /dev/null +++ b/hardening_manifest.yaml @@ -0,0 +1,51 @@ +--- +apiVersion: v1 + +# The repository name in registry1, excluding /ironbank/ +name: "opensource/istio-1.6/install-cni-1.6" + +# 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.6.14" +- "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: "install-cni-1.6" + ## Human-readable description of the software packaged in the image + org.opencontainers.image.description: "The Istio CNI plugin performs the Istio mesh pod traffic redirection in the Kubernetes pod lifecycle network setup phase." + ## 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.6.14" + ## 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/install-cni:1.6.14 + url: docker://docker.io/istio/install-cni@sha256:b1d66e0f4b72fea7b54857db6103d555e6822dd71d30b0c1fcf0f5f59a7d2f4f + +# 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 2dd20c904cf073405b80bb4771c98cd5a674ff04..6ab3dc96c7ac5b727abcd2d962952ea32479f1af 100644 --- a/renovate.json +++ b/renovate.json @@ -1,10 +1,18 @@ { - "assignees": ["@bhearn"], - "baseBranches": ["development"], + "assignees": [ + "@bhearn" + ], + "baseBranches": [ + "development" + ], "packageRules": [ { - "datasources": ["docker"], - "packageNames": ["istio/install-cni"], + "datasources": [ + "docker" + ], + "packageNames": [ + "istio/install-cni" + ], "separateMinorPatch": true, "minor": { "enabled": false @@ -13,7 +21,9 @@ ], "regexManagers": [ { - "fileMatch": ["^Dockerfile$"], + "fileMatch": [ + "^Dockerfile$" + ], "matchStrings": [ "version=\"(?.*?)\"" ], @@ -21,12 +31,24 @@ "datasourceTemplate": "docker" }, { - "fileMatch": ["^Jenkinsfile$"], + "fileMatch": [ + "^hardening_manifest.yaml$" + ], + "matchStrings": [ + "org\\.opencontainers\\.image\\.version:\\s+\"(?.+?)\"" + ], + "depNameTemplate": "istio/install-cni", + "datasourceTemplate": "docker" + }, + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], "matchStrings": [ - "version:\\s+\"(?.*?)\"" + "tags:\\s+-\\s+\"(?.+?)\"" ], "depNameTemplate": "istio/install-cni", "datasourceTemplate": "docker" } ] -} +} \ No newline at end of file