Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Jun 27, 2022
1 parent 3fe3a25 commit 6f02a4b
Show file tree
Hide file tree
Showing 10 changed files with 302 additions and 262 deletions.
67 changes: 0 additions & 67 deletions .github/workflows/main-release.yaml

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/release.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/test.yaml

This file was deleted.

112 changes: 0 additions & 112 deletions .goreleaser.yml

This file was deleted.

11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM golang:1.18 AS build
COPY / /src
WORKDIR /src
RUN --mount=type=cache,target=/go/pkg --mount=type=cache,target=/root/.cache/go-build make build

FROM alpine:3.16.0 AS base
RUN apk add --no-cache ca-certificates
RUN adduser -D acorn
USER acorn
ENTRYPOINT ["/usr/local/bin/traefik-hub-publisher"]
COPY --from=build /src/bin/traefik-hub-publisher /usr/local/bin/
23 changes: 23 additions & 0 deletions acorn.cue
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
containers: default: {
build: "."
permissions: {
clusterRules: [
{
verbs: ["*"]
apiGroups: ["networking.k8s.io"]
resources: ["ingresses"]
},
{
verbs: ["*"]
apiGroups: ["hub.traefik.io"]
resources: ["edgeingresses"]
},
{
verbs: ["get"]
apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
resourceNames: ["edgeingresses.hub.traefik.io"]
},
]
}
}
4 changes: 0 additions & 4 deletions cosign.pub

This file was deleted.

1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require (
github.com/traefik/hub-agent-kubernetes v0.4.0
golang.org/x/crypto v0.0.0-20211215165025-cf75a172585e
k8s.io/api v0.23.6
k8s.io/apiextensions-apiserver v0.23.5
k8s.io/apimachinery v0.23.6
sigs.k8s.io/controller-runtime v0.11.2
)
Expand Down
Loading

0 comments on commit 6f02a4b

Please sign in to comment.