diff --git a/Dockerfile b/Dockerfile index d2fedb3b88fb95023603fa036e9fc82d53b05471..c843230b895313770a7ce29af49a0f4184356cf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG BASE_REGISTRY=registry1.dsop.io +ARG BASE_REGISTRY=registry1.dso.mil ARG BASE_IMAGE=ironbank/redhat/ubi/ubi8 ARG BASE_TAG=8.2 @@ -6,12 +6,6 @@ FROM openpolicyagent/proxy_init:v5 as base FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} -LABEL org.opencontainers.image.title="openpolicyagent/proxy_init" \ - org.opencontainers.image.description="The proxy-init container installs iptables rules to redirect all container traffic through the Envoy proxy sidecar." \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.url="https://github.com/open-policy-agent/proxy_init" \ - org.opencontainers.image.version="v5" \ - maintainer="cht@dsop.io" RUN dnf upgrade -y && \ dnf install -y iptables && \ diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index cfc40f46f7ddf16b278175c9238a1ddb422bc1d7..0000000000000000000000000000000000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,2 +0,0 @@ -@Library('DCCSCR@master') _ -dccscrPipeline(version: "v5") diff --git a/download.yaml b/download.yaml deleted file mode 100644 index f432c4bb891e44554f8f04cd05957784790c18a5..0000000000000000000000000000000000000000 --- a/download.yaml +++ /dev/null @@ -1,3 +0,0 @@ -resources: - - url: "docker://docker.io/openpolicyagent/proxy_init@sha256:8f988a690516728b08956f2838a7a08202547e44d2c962009301d738c7a4abae" - tag: "openpolicyagent/proxy_init:v5" diff --git a/hardening_manifest.yaml b/hardening_manifest.yaml new file mode 100644 index 0000000000000000000000000000000000000000..5c0db20bdd738bd5f2b5085d7598945f6b3d1995 --- /dev/null +++ b/hardening_manifest.yaml @@ -0,0 +1,50 @@ +--- +apiVersion: v1 + +# The repository name in registry1, excluding /ironbank/ +name: "opensource/openpolicyagent/proxy_init" + +# 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: +- "v5" +- "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: "proxy_init" + ## Human-readable description of the software packaged in the image + org.opencontainers.image.description: "The proxy-init container installs iptables rules to redirect all container traffic through the Envoy proxy sidecar." + ## License(s) under which contained software is distributed + org.opencontainers.image.licenses: "APL-2.0" + ## URL to find more information on the image + org.opencontainers.image.url: "https://github.com/open-policy-agent/proxy_init" + ## Name of the distributing entity, organization or individual + org.opencontainers.image.vendor: "Open Policy Agent" + org.opencontainers.image.version: "v5" + ## Keywords to help with search (ex. "cicd,gitops,golang") + mil.dso.ironbank.image.keywords: "opensource" + ## 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: "Openpolicyagent proxy_init" + +# List of resources to make available to the offline build context +resources: +- tag: openpolicyagent/proxy_init:v5 + url: docker://docker.io/openpolicyagent/proxy_init@sha256:8f988a690516728b08956f2838a7a08202547e44d2c962009301d738c7a4abae + +# List of project maintainers +maintainers: +- email: "shen_vickie@bah.com" +# # The name of the current container owner + name: "Vickie Shen" +# # The gitlab username of the current container owner + username: "shen_vickie" + cht_member: true diff --git a/renovate.json b/renovate.json index f898778423b6cda05bdc4a024caf308ee3f02e7b..a8436f5eb13717ba3c1136c892c60cf9f628c773 100644 --- a/renovate.json +++ b/renovate.json @@ -1,9 +1,15 @@ { - "assignees": ["@vickie.shen"], - "baseBranches": ["development"], + "assignees": [ + "@vickie.shen" + ], + "baseBranches": [ + "development" + ], "regexManagers": [ { - "fileMatch": ["^Dockerfile$"], + "fileMatch": [ + "^Dockerfile$" + ], "matchStrings": [ "version=\"(?.*?)\"" ], @@ -11,12 +17,24 @@ "datasourceTemplate": "docker" }, { - "fileMatch": ["^Jenkinsfile$"], + "fileMatch": [ + "^hardening_manifest.yaml$" + ], + "matchStrings": [ + "org\\.opencontainers\\.image\\.version:\\s+\"(?.+?)\"" + ], + "depNameTemplate": "openpolicyagent/proxy_init", + "datasourceTemplate": "docker" + }, + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], "matchStrings": [ - "version:\\s+\"(?.*?)\"" + "tags:\\s+-\\s+\"(?.+?)\"" ], "depNameTemplate": "openpolicyagent/proxy_init", "datasourceTemplate": "docker" } ] -} +} \ No newline at end of file