Skip to content

Commit a59491b

Browse files
committed
Merge branch 'feature/configure-ca-lifetime' of github.com:stackabletech/secret-operator into feature/configure-ca-lifetime
2 parents eda44f2 + 4e86c7f commit a59491b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ docker-publish:
6868
IMAGE_DESCRIPTION=$$(docker inspect --format='{{.Config.Labels.description}}' "${OCI_REGISTRY_HOSTNAME}/${OCI_REGISTRY_PROJECT_IMAGES}/${OPERATOR_NAME}:${VERSION}");\
6969
IMAGE_NAME=$$(docker inspect --format='{{.Config.Labels.name}}' "${OCI_REGISTRY_HOSTNAME}/${OCI_REGISTRY_PROJECT_IMAGES}/${OPERATOR_NAME}:${VERSION}");\
7070
# Merge the SBOM with the metadata for the operator\
71-
jq -s '{"metadata":{"component":{"description":"'"$$IMAGE_NAME. $$IMAGE_DESCRIPTION"'","supplier":{"name":"Stackable GmbH","url":"https://stackable.tech/"},"author":"Stackable GmbH","purl":"'"$$PURL"'","publisher":"Stackable GmbH"}}} * .[0]' sbom.json > sbom.merged.json;\
71+
jq -s '{"metadata":{"component":{"description":"'"$$IMAGE_NAME. $$IMAGE_DESCRIPTION"'","supplier":{"name":"Stackable GmbH","url":["https://stackable.tech/"]},"author":"Stackable GmbH","purl":"'"$$PURL"'","publisher":"Stackable GmbH"}}} * .[0]' sbom.json > sbom.merged.json;\
7272
# Attest the SBOM to the image\
7373
cosign attest -y --predicate sbom.merged.json --type cyclonedx "${OCI_REGISTRY_HOSTNAME}/${OCI_REGISTRY_PROJECT_IMAGES}/${OPERATOR_NAME}@$$REPO_DIGEST_OF_IMAGE"
7474

deploy/helm/secret-operator/templates/serviceaccount.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
{{ if .Values.serviceAccount.create -}}
33
apiVersion: v1
44
kind: ServiceAccount
5-
labels:
6-
{{- include "operator.labels" . | nindent 2 }}
75
metadata:
86
name: {{ include "operator.fullname" . }}-serviceaccount
97
labels:

0 commit comments

Comments
 (0)