UNCLASSIFIED

Commit 1200d9ac authored by alexander.klepal's avatar alexander.klepal
Browse files

Merge branch 'hardening_manifest' into 'development'

Migrate to hardening_manifest.yaml

See merge request !13
parents 414952df 8b07bdc9
Pipeline #100144 passed with stages
in 16 minutes and 49 seconds
...@@ -6,12 +6,6 @@ FROM istio/operator:1.7.5 AS base ...@@ -6,12 +6,6 @@ FROM istio/operator:1.7.5 AS base
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
LABEL org.opencontainers.image.title="istio-operator" \
org.opencontainers.image.description="The istio-operator allows you to package, deploy, and manage Istio in Kubernetes." \
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/operator /usr/local/bin/operator COPY --from=base /usr/local/bin/operator /usr/local/bin/operator
COPY --from=base /var/lib/istio/manifests/ /var/lib/istio/manifests/ COPY --from=base /var/lib/istio/manifests/ /var/lib/istio/manifests/
......
@Library('DCCSCR@master') _
dccscrPipeline(version: "1.7.5")
\ No newline at end of file
---
special-image-path: opensource/istio/operator
resources:
- url: "docker://docker.io/istio/operator@sha256:a05c1e0d2ff0bafea5a803022c059da22175c96f4d6667075c29de8703b7d3b9"
tag: "istio/operator:1.7.5"
\ No newline at end of file
---
apiVersion: v1
# The repository name in registry1, excluding /ironbank/
name: "opensource/istio-1.7/operator-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: "operator-1.7"
## Human-readable description of the software packaged in the image
org.opencontainers.image.description: "Kubernetes operators provide a pattern for encoding human operational knowledge in software and are a popular way to simplify the administration of software infrastructure components. Istio is a natural candidate for an automated operator as it is challenging to administer."
## 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/operator:1.7.5
url: docker://docker.io/istio/operator@sha256:a05c1e0d2ff0bafea5a803022c059da22175c96f4d6667075c29de8703b7d3b9
# 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
{ {
"assignees": ["@bhearn"], "assignees": [
"baseBranches": ["development"], "@bhearn"
],
"baseBranches": [
"development"
],
"packageRules": [ "packageRules": [
{ {
"datasources": ["docker"], "datasources": [
"packageNames": ["istio/operator"], "docker"
],
"packageNames": [
"istio/operator"
],
"separateMinorPatch": true, "separateMinorPatch": true,
"minor": { "minor": {
"enabled": false "enabled": false
...@@ -13,7 +21,9 @@ ...@@ -13,7 +21,9 @@
], ],
"regexManagers": [ "regexManagers": [
{ {
"fileMatch": ["^Dockerfile$"], "fileMatch": [
"^Dockerfile$"
],
"matchStrings": [ "matchStrings": [
"version=\"(?<currentValue>.*?)\"" "version=\"(?<currentValue>.*?)\""
], ],
...@@ -21,12 +31,24 @@ ...@@ -21,12 +31,24 @@
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
}, },
{ {
"fileMatch": ["^Jenkinsfile$"], "fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [
"org\\.opencontainers\\.image\\.version:\\s+\"(?<currentValue>.+?)\""
],
"depNameTemplate": "istio/operator",
"datasourceTemplate": "docker"
},
{
"fileMatch": [
"^hardening_manifest.yaml$"
],
"matchStrings": [ "matchStrings": [
"version:\\s+\"(?<currentValue>.*?)\"" "tags:\\s+-\\s+\"(?<currentValue>.+?)\""
], ],
"depNameTemplate": "istio/operator", "depNameTemplate": "istio/operator",
"datasourceTemplate": "docker" "datasourceTemplate": "docker"
} }
] ]
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment