Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak golang base image + update dependent container images #54

Merged
merged 2 commits into from
Nov 21, 2023

Conversation

SgtCoDFish
Copy link
Member

See slack

@jetstack-bot jetstack-bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 21, 2023
this isn't a problem currently because we don't enable CGO, but
it's safer for the build image to match

Signed-off-by: Ashley Davis <[email protected]>
found using:

crane ls registry.k8s.io/sig-storage/csi-node-driver-registrar
crane ls registry.k8s.io/sig-storage/livenessprobe

Signed-off-by: Ashley Davis <[email protected]>
Copy link
Member

@wallrj wallrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran make image locally and after a couple of restarts both images built successfully and I was able to push the images to a temporary registry.

make image
mkdir -p  bin/tmp/{driver,approver}
tar --extract -C bin/tmp/driver -f bin/cert-manager-csi-driver-spiffe-oci
tar --extract -C bin/tmp/approver -f bin/cert-manager-csi-driver-spiffe-approver-oci
crane push ./bin/tmp/driver ${REPO_BASE}/cert-manager-csi-driver-spiffe:1h
ttl.sh/5f102cb7-4796-4945-853b-97f54ad8fe22/cert-manager-csi-driver-spiffe:1h
ttl.sh/5f102cb7-4796-4945-853b-97f54ad8fe22/cert-manager-csi-driver-spiffe-approver:1h

Then briefly tested running the images locally,

$ docker run --rm ttl.sh/5f102cb7-4796-4945-853b-97f54ad8fe22/cert-manager-csi-driver-spiffe-approver:1h
Unable to find image 'ttl.sh/5f102cb7-4796-4945-853b-97f54ad8fe22/cert-manager-csi-driver-spiffe-approver:1h' locally
1h: Pulling from 5f102cb7-4796-4945-853b-97f54ad8fe22/cert-manager-csi-driver-spiffe-approver
06004fb4a3b3: Pull complete
2b776ada0341: Pull complete
66d6209d01f4: Pull complete
fcb6f6d2c998: Pull complete
e8c73c638ae9: Pull complete
1e3d9b7d1452: Pull complete
4aa0ea1413d3: Pull complete
2fa82a9c76b2: Pull complete
672354a91bfa: Pull complete
4e1ae742cefc: Pull complete
Digest: sha256:6deb461705ef10ebc5fefa6580e46849832eda26d219a883c2bcc329673092e9
Status: Downloaded newer image for ttl.sh/5f102cb7-4796-4945-853b-97f54ad8fe22/cert-manager-csi-driver-spiffe-approver:1h
I1121 17:04:13.817231       1 app.go:96] "msg"="starting SPIFFE approver..." "logger"="main"
I1121 17:04:13.818230       1 server.go:50] "msg"="starting server" "addr"={"IP":"::","Port":6060,"Zone":""} "kind"="health probe" "logger"="manager"
I1121 17:04:13.818555       1 leaderelection.go:250] attempting to acquire leader lease cert-manager/spiffe.csi.cert-manager.io...

/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 21, 2023
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: wallrj

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 21, 2023
@jetstack-bot jetstack-bot merged commit 16b788f into cert-manager:main Nov 21, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants