diff --git a/Dockerfile b/Dockerfile index 20d2cf28325a6dc752d2375266e1fc4a085c5095..88c72cd43cc223b6aacd27cf38c8afdcb67cad14 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,6 @@ FROM istio/istioctl:1.7.5 AS base FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} -LABEL org.opencontainers.image.title="istioctl" \ - org.opencontainers.image.description="Istio configuration command line utility." \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.url="https://istio.io" \ - org.opencontainers.image.version="1.7.5" \ - maintainer="cht@dsop.io" COPY --from=base /usr/local/bin/istioctl /usr/local/bin/istioctl diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index f25482edc0746260b9c37b41bbab8e5455a6aa3f..0000000000000000000000000000000000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,2 +0,0 @@ -@Library('DCCSCR@master') _ -dccscrPipeline(version: "1.7.5") \ No newline at end of file diff --git a/download.yaml b/download.yaml deleted file mode 100644 index b1edb056bda29f20e641264dc81b159fbbd4b38b..0000000000000000000000000000000000000000 --- a/download.yaml +++ /dev/null @@ -1,4 +0,0 @@ ---- -resources: - - url: "docker://docker.io/istio/istioctl@sha256:f224c141a0233fcbe2a3aaec3e5f52f03c4213786a2b7f64e13dacfe31b4afa4" - tag: "istio/istioctl:1.7.5" \ No newline at end of file diff --git a/hardening_manifest.yaml b/hardening_manifest.yaml new file mode 100644 index 0000000000000000000000000000000000000000..7ead6c49bd481268a0c6a72774cc11509386663b --- /dev/null +++ b/hardening_manifest.yaml @@ -0,0 +1,50 @@ +--- +apiVersion: v1 + +# The repository name in registry1, excluding /ironbank/ +name: "opensource/istio-1.7/istioctl-1.7" + +# 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.7.5" +- "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: "istioctl-1.7" + ## Human-readable description of the software packaged in the image + org.opencontainers.image.description: "The istioctl tool is a configuration command line utility that allows service operators to debug and diagnose their Istio service mesh deployment" + ## 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.7.5" + ## 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/istioctl:1.7.5 + url: docker://docker.io/istio/istioctl@sha256:f224c141a0233fcbe2a3aaec3e5f52f03c4213786a2b7f64e13dacfe31b4afa4 + +# 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 5679b8bb1663c032b7928623f5d51913bc7f211d..0dc249f52dcc11efa444bc571256e3e697abfd9f 100644 --- a/renovate.json +++ b/renovate.json @@ -1,10 +1,18 @@ { - "assignees": ["@bhearn"], - "baseBranches": ["development"], + "assignees": [ + "@bhearn" + ], + "baseBranches": [ + "development" + ], "packageRules": [ { - "datasources": ["docker"], - "packageNames": ["istio/istioctl"], + "datasources": [ + "docker" + ], + "packageNames": [ + "istio/istioctl" + ], "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/istioctl", + "datasourceTemplate": "docker" + }, + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], "matchStrings": [ - "version:\\s+\"(?.*?)\"" + "tags:\\s+-\\s+\"(?.+?)\"" ], "depNameTemplate": "istio/istioctl", "datasourceTemplate": "docker" } ] -} +} \ No newline at end of file