Skip to content

Commit

Permalink
chore: update to force platform + fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Humphries <daniel.humphries@sainsburys.co.uk>
  • Loading branch information
dhumphries-sainsburys committed Dec 14, 2023
1 parent 3613845 commit 73e21eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ build: ## Build binary

.PHONY: container-image
container-image: ## Build container image
docker build -t ${CONTAINER_IMAGE_REF} .
docker build -t ${CONTAINER_IMAGE_REF} . --platform linux/amd64

.PHONY: helm-chart
helm-chart: ## Build Helm chart
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/bank-vaults/vault-secrets-webhook

go 1.21.1
go 1.21

require (
emperror.dev/errors v0.8.1
Expand Down
8 changes: 4 additions & 4 deletions pkg/webhook/pod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1023,13 +1023,13 @@ func Test_mutatingWebhook_mutatePod(t *testing.T) {
Args: []string{"agent", "-config", "/vault/config/config.hcl"},
Resources: corev1.ResourceRequirements{
Limits: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("200m"),
corev1.ResourceMemory: resource.MustParse("256Mi"),
},
Requests: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("500m"),
corev1.ResourceMemory: resource.MustParse("384Mi"),
},
Requests: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("200m"),
corev1.ResourceMemory: resource.MustParse("256Mi"),
},
},
Env: []corev1.EnvVar{
{
Expand Down

0 comments on commit 73e21eb

Please sign in to comment.