Skip to content

Commit f27410b

Browse files
fix: Helm chart (#96)
* fix(helm): `image.repository` location * fix: Dockerfile to support multiarch images * fix: component-constructor to suppport multiarch images * feat: release v0.7.1 * chore(#85): update distroless/static dependency
1 parent 8f92c0a commit f27410b

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Use distroless as minimal base image to package the manager binary
22
# Refer to https://github.com/GoogleContainerTools/distroless for more details
3-
FROM gcr.io/distroless/static:nonroot
3+
FROM gcr.io/distroless/static:nonroot@sha256:e8a4044e0b4ae4257efa45fc026c0bc30ad320d43bd4c1a7d5271bd241e386d0
4+
ARG TARGETARCH
45
WORKDIR /
5-
COPY bin/manager-linux.amd64 /manager
6+
COPY bin/manager-linux.${TARGETARCH} /manager
67
USER 65532:65532
78

8-
ENTRYPOINT ["/manager"]
9+
ENTRYPOINT ["/manager"]

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.7.0-dev
1+
v0.7.1

charts/metrics-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: metrics-operator
33
description: A Helm chart for the metrics-operator
44
type: application
5-
version: v0.7.0
6-
appVersion: v0.7.0
5+
version: v0.7.1
6+
appVersion: v0.7.1

charts/metrics-operator/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
replicaCount: 1
66

77
image:
8-
repository: ghcr.io/openmcp-project/github.com/openmcp-project/metrics-operator/images/metrics-operator
8+
repository: ghcr.io/openmcp-project/images/metrics-operator
99
pullPolicy: IfNotPresent
1010
# Overrides the image tag whose default is the chart appVersion.
11-
tag: v0.7.0
11+
tag: v0.7.1
1212

1313
imagePullSecrets: []
1414
nameOverride: ""

charts/metrics-operator/values.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
replicaCount: 1
66

77
image:
8-
repository: ghcr.io/openmcp-project/github.com/openmcp-project/metrics-operator/images/metrics-operator
8+
repository: ghcr.io/openmcp-project/images/metrics-operator
99
pullPolicy: IfNotPresent
1010
# Overrides the image tag whose default is the chart appVersion.
1111
tag: $OPERATOR_VERSION

component-constructor.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ components:
1010
type: helm
1111
path: ./charts/${COMPONENT_NAME}
1212
repository: charts/${COMPONENT_NAME}
13-
13+
1414
- name: ${COMPONENT_NAME}-image
1515
type: ociImage
1616
input:
1717
type: dockermulti
1818
repository: images/${COMPONENT_NAME}
1919
variants:
20-
- "${COMPONENT_REPO_PREFIX}:${VERSION}"
20+
- "${COMPONENT_REPO_PREFIX}:${VERSION}-linux-amd64"
21+
- "${COMPONENT_REPO_PREFIX}:${VERSION}-linux-arm64"

0 commit comments

Comments
 (0)