diff --git a/Dockerfile b/Dockerfile index cacd6b3f76481ed2a67fe9200a6d2c2aa6aabc71..c3c7d0fb487f3e2ddf887482725af4a304ff7740 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,12 +18,6 @@ RUN dnf upgrade -y && \ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} -LABEL org.opencontainers.image.title="kube-proxy" \ - org.opencontainers.image.description="kube-proxy runs on each node and handles multiple types of TCP/UDP/SCTP forwarding." \ - org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.url="https://kubernetes.io/" \ - org.opencontainers.image.version="v1.18.12" \ - maintainer="cht@dsop.io" COPY --from=builder /src/k8s.io/kubernetes/_output/bin/kube-proxy /usr/local/bin/ COPY scripts/iptables-wrapper ebtables-2.0.11.tar.gz / diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 490bcdeb457d1ed6696a66d8c8109d9aaa257dfe..0000000000000000000000000000000000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,2 +0,0 @@ -@Library('DCCSCR@master') _ -dccscrPipeline( version: "v1.18.12") \ No newline at end of file diff --git a/download.yaml b/download.yaml deleted file mode 100644 index 5dbae17bb55b12e1712caac81d8dc4fbdb3752b5..0000000000000000000000000000000000000000 --- a/download.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -resources: - - url: https://github.com/kubernetes/kubernetes/archive/v1.18.12.tar.gz - filename: kubernetes.tar.gz - validation: - type: sha256 - value: 20f79e559cfec625ea15102bf7eab53abf6f796db38f0345bfd18c1bb4c41f6c - - - url: http://ftp.netfilter.org/pub/ebtables/ebtables-2.0.11.tar.gz - filename: ebtables-2.0.11.tar.gz - validation: - type: sha256 - value: b71f654784a726329f88b412ef7b96b4e5d786ed2bd28193ed7b4c0d677dfd2a - - - diff --git a/hardening_manifest.yaml b/hardening_manifest.yaml new file mode 100644 index 0000000000000000000000000000000000000000..3aa697e8ee07801c1407d1769d00ce3817922cbf --- /dev/null +++ b/hardening_manifest.yaml @@ -0,0 +1,62 @@ +--- +apiVersion: v1 + +# The repository name in registry1, excluding /ironbank/ +name: "opensource/kubernetes-1.18/kube-proxy-1.18" + +# 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: +- "v1.18.13" +- "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: "kube-proxy-1.18" + ## Human-readable description of the software packaged in the image + org.opencontainers.image.description: "kube-proxy runs on each node and handles multiple types of TCP/UDP/SCTP forwarding." + ## 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://kubernetes.io/" + ## Name of the distributing entity, organization or individual + org.opencontainers.image.vendor: "opensource" + org.opencontainers.image.version: "v1.18.13" + ## Keywords to help with search (ex. "cicd,gitops,golang") + mil.dso.ironbank.image.keywords: "kubernetes" + ## 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: "kubernetes" + +# List of resources to make available to the offline build context +resources: +- url: https://github.com/kubernetes/kubernetes/archive/v1.18.13.tar.gz + filename: kubernetes.tar.gz + validation: + type: sha256 + value: 79dac2d1095c7176ab707a9c6349d1aa745574382802c8040843674b3c7845a4 +- filename: ebtables-2.0.11.tar.gz + url: http://ftp.netfilter.org/pub/ebtables/ebtables-2.0.11.tar.gz + validation: + type: sha256 + value: b71f654784a726329f88b412ef7b96b4e5d786ed2bd28193ed7b4c0d677dfd2a + +# 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: +maintainers: +- email: "gavin.scallon@parsons.com" +# # The name of the current container owner + name: "Gavin Scallon" +# # The gitlab username of the current container owner + username: "gavin.scallon" + cht_member: true + diff --git a/renovate.json b/renovate.json index 52f77ed4d2a57e2150ec10a2939f3810aa719e53..0b66c5fd66bb3cda1cf309a73298a47f195bfe65 100644 --- a/renovate.json +++ b/renovate.json @@ -1,32 +1,54 @@ { - "assignees": ["@gavin.scallon"], - "baseBranches": ["development"], - "packageRules": [ - { - "datasources": ["github-releases"], - "packageNames": ["kubernetes/kubernetes"], - "separateMinorPatch": true, - "minor": { - "enabled": false - } - } - ], - "regexManagers": [ - { - "fileMatch": ["^Dockerfile$"], - "matchStrings": [ - "version=\"(?.*?)\"" - ], - "depNameTemplate": "kubernetes/kubernetes", - "datasourceTemplate": "github-releases" - }, - { - "fileMatch": ["^Jenkinsfile$"], - "matchStrings": [ - "version:\\s+\"(?.*?)\"" - ], - "depNameTemplate": "kubernetes/kubernetes", - "datasourceTemplate": "github-releases" + "assignees": [ + "@gavin.scallon" + ], + "baseBranches": [ + "development" + ], + "packageRules": [ + { + "datasources": [ + "github-releases" + ], + "packageNames": [ + "kubernetes/kubernetes" + ], + "separateMinorPatch": true, + "minor": { + "enabled": false } - ] - } \ No newline at end of file + } + ], + "regexManagers": [ + { + "fileMatch": [ + "^Dockerfile$" + ], + "matchStrings": [ + "version=\"(?.*?)\"" + ], + "depNameTemplate": "kubernetes/kubernetes", + "datasourceTemplate": "github-releases" + }, + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], + "matchStrings": [ + "org\\.opencontainers\\.image\\.version:\\s+\"(?.+?)\"" + ], + "depNameTemplate": "kubernetes/kubernetes", + "datasourceTemplate": "github-releases" + }, + { + "fileMatch": [ + "^hardening_manifest.yaml$" + ], + "matchStrings": [ + "tags:\\s+-\\s+\"(?.+?)\"" + ], + "depNameTemplate": "kubernetes/kubernetes", + "datasourceTemplate": "github-releases" + } + ] +} \ No newline at end of file