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

Commit

Permalink
Fixing Liveness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanraic committed Mar 3, 2024
1 parent 404bb28 commit 4a7b9b1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions charts/bwsm-eso-provider/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: v2
name: bwsm-eso-provider
description: Helm chart to use Bitwarden Secrets Manaager (BWSM) as a Provider for External Secrets Operator (ESO)
type: application
version: 0.1.0-beta
version: 0.1.0
# renovate: image=bojanraic/bwsm-eso
appVersion: "0.1.0-beta"
appVersion: "0.1.0"
icon: https://bojanraic.github.io/bitwarden-secrets-manager-eso/chart-icon.png
maintainers:
- name: "Bojan Raic"
Expand Down
2 changes: 1 addition & 1 deletion charts/bwsm-eso-provider/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bwsm-eso-provider

![Version: 0.1.0-beta](https://img.shields.io/badge/Version-0.1.0--beta-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0-beta](https://img.shields.io/badge/AppVersion-0.1.0--beta-informational?style=flat-square)
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square)

Helm chart to use Bitwarden Secrets Manaager (BWSM) as a Provider for External Secrets Operator (ESO)

Expand Down
5 changes: 4 additions & 1 deletion src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ ENV NODE_ENV=$NODE_ENV \
BWS_ACCESS_TOKEN=
RUN npm ci --omit=dev

FROM busybox:stable-uclibc as bws
FROM cgr.dev/chainguard/wolfi-base:latest as bws

ARG BWS_VERSION WORKDIR BWS_DL_ARCH
WORKDIR $WORKDIR

ADD https://github.com/bitwarden/sdk/releases/download/bws-v${BWS_VERSION}/bws-${BWS_DL_ARCH}-unknown-linux-gnu-${BWS_VERSION}.zip /tmp/bws.zip
RUN unzip /tmp/bws.zip -d . && rm -rf /tmp/* && chmod +x ./bws
RUN apk -U --no-cache add wget

FROM cgr.dev/chainguard/node-lts as runner
ARG WORKDIR NODE_ENV PORT
Expand All @@ -32,6 +33,8 @@ WORKDIR $WORKDIR

COPY --from=base $WORKDIR/ $WORKDIR/
COPY --from=bws /bin/sh /bin/sh
COPY --from=bws /usr/bin/wget /usr/bin/wget

COPY --from=bws $WORKDIR/bws $WORKDIR/bws

EXPOSE $PORT
Expand Down
4 changes: 2 additions & 2 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bwsm-eso",
"version": "0.1.0-beta",
"version": "0.1.0",
"description": "This is a Bitwarden Secrets Manager ESO wrapper based on the OpenAPI 3.0 specification.",
"license": "AGPL-3.0-only",
"type": "module",
Expand Down

0 comments on commit 4a7b9b1

Please sign in to comment.