From 1427715823be27ab1c12bed9f678a5e2886a2735 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 06:41:40 +0000 Subject: [PATCH 01/14] Bump mikefarah/yq from 4.34.1 to 4.34.2 Bumps [mikefarah/yq](https://github.com/mikefarah/yq) from 4.34.1 to 4.34.2. - [Release notes](https://github.com/mikefarah/yq/releases) - [Changelog](https://github.com/mikefarah/yq/blob/master/release_notes.txt) - [Commits](https://github.com/mikefarah/yq/compare/v4.34.1...v4.34.2) --- updated-dependencies: - dependency-name: mikefarah/yq dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6750e84..84b2d65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - name: Get app version from chart - uses: mikefarah/yq@v4.34.1 + uses: mikefarah/yq@v4.34.2 id: app_version with: cmd: yq '.appVersion' charts/bitwarden-crd-operator/Chart.yaml From 5c8d10b0602e15d065275e07b67210d12888e41e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Jul 2023 06:31:40 +0000 Subject: [PATCH 02/14] Bump kopf from 1.36.1 to 1.36.2 Bumps [kopf](https://github.com/nolar/kopf) from 1.36.1 to 1.36.2. - [Release notes](https://github.com/nolar/kopf/releases) - [Commits](https://github.com/nolar/kopf/compare/1.36.1...1.36.2) --- updated-dependencies: - dependency-name: kopf dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 381a485..ae32d3e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -kopf==1.36.1 +kopf==1.36.2 kubernetes==26.1.0 Jinja2==3.1.2 From 69d1af8ba50f6e0f43ef91766b7d6041c6283ec2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Aug 2023 06:16:25 +0000 Subject: [PATCH 03/14] Bump mikefarah/yq from 4.34.2 to 4.35.1 Bumps [mikefarah/yq](https://github.com/mikefarah/yq) from 4.34.2 to 4.35.1. - [Release notes](https://github.com/mikefarah/yq/releases) - [Changelog](https://github.com/mikefarah/yq/blob/master/release_notes.txt) - [Commits](https://github.com/mikefarah/yq/compare/v4.34.2...v4.35.1) --- updated-dependencies: - dependency-name: mikefarah/yq dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84b2d65..8adc0fe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - name: Get app version from chart - uses: mikefarah/yq@v4.34.2 + uses: mikefarah/yq@v4.35.1 id: app_version with: cmd: yq '.appVersion' charts/bitwarden-crd-operator/Chart.yaml From ba8c35da9fa3d6cc40f24af641c77c1431be0599 Mon Sep 17 00:00:00 2001 From: Michel Bathe Date: Fri, 18 Aug 2023 14:44:24 +0200 Subject: [PATCH 04/14] feat: add probes to helm chart --- .../templates/deployment.yaml | 11 +++++++++++ charts/bitwarden-crd-operator/values.yaml | 14 ++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/charts/bitwarden-crd-operator/templates/deployment.yaml b/charts/bitwarden-crd-operator/templates/deployment.yaml index 931f3fa..0827229 100644 --- a/charts/bitwarden-crd-operator/templates/deployment.yaml +++ b/charts/bitwarden-crd-operator/templates/deployment.yaml @@ -50,10 +50,21 @@ spec: httpGet: path: /healthz port: http + failureThreshold: {{ .Values.livenessProbe.failureThreshold }} + initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.livenessProbe.periodSeconds }} + successThreshold: {{ .Values.livenessProbe.successThreshold }} + timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }} readinessProbe: httpGet: path: /healthz port: http + scheme: HTTP + failureThreshold: {{ .Values.readinessProbe.failureThreshold }} + initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.readinessProbe.periodSeconds }} + successThreshold: {{ .Values.readinessProbe.successThreshold }} + timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} diff --git a/charts/bitwarden-crd-operator/values.yaml b/charts/bitwarden-crd-operator/values.yaml index 5a3aa6e..a293c41 100644 --- a/charts/bitwarden-crd-operator/values.yaml +++ b/charts/bitwarden-crd-operator/values.yaml @@ -51,6 +51,20 @@ securityContext: {} # runAsNonRoot: true # runAsUser: 1000 +readinessProbe: + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + +livenessProbe: + failureThreshold: 3 + initialDelaySeconds: 10 + periodSeconds: 10 + successThreshold: 1 + timeoutSeconds: 1 + resources: {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little From d629fa600f55192e7f60c198a8ad308e85bcde56 Mon Sep 17 00:00:00 2001 From: Michel Bathe Date: Fri, 18 Aug 2023 14:47:58 +0200 Subject: [PATCH 05/14] feat: add probes to helm chart --- charts/bitwarden-crd-operator/templates/deployment.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/charts/bitwarden-crd-operator/templates/deployment.yaml b/charts/bitwarden-crd-operator/templates/deployment.yaml index 0827229..707aec6 100644 --- a/charts/bitwarden-crd-operator/templates/deployment.yaml +++ b/charts/bitwarden-crd-operator/templates/deployment.yaml @@ -59,7 +59,6 @@ spec: httpGet: path: /healthz port: http - scheme: HTTP failureThreshold: {{ .Values.readinessProbe.failureThreshold }} initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.readinessProbe.periodSeconds }} From bec7476acec6dff3cefa7495d54f837e9438e4a7 Mon Sep 17 00:00:00 2001 From: Michel Bathe Date: Mon, 21 Aug 2023 11:36:52 +0200 Subject: [PATCH 06/14] fix: updatet chart version and added change log --- charts/bitwarden-crd-operator/Chart.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/bitwarden-crd-operator/Chart.yaml b/charts/bitwarden-crd-operator/Chart.yaml index 9fee9d9..3d95ff0 100644 --- a/charts/bitwarden-crd-operator/Chart.yaml +++ b/charts/bitwarden-crd-operator/Chart.yaml @@ -4,7 +4,7 @@ description: Deploy the Bitwarden CRD Operator type: application -version: "v0.7.4" +version: "v0.7.5" appVersion: "0.6.4" @@ -95,8 +95,8 @@ annotations: artifacthub.io/operator: "true" artifacthub.io/containsSecurityUpdates: "false" artifacthub.io/changes: | - - kind: fixed - description: "Fixed bitwarden installation" + - kind: feat + description: "Added prob variables for helm" artifacthub.io/images: | - name: bitwarden-crd-operator image: ghcr.io/lerentis/bitwarden-crd-operator:0.6.4 From 62a2b488d2efdeda0e6a2c50729ddd9f013488f3 Mon Sep 17 00:00:00 2001 From: Tobias Trabelsi Date: Mon, 21 Aug 2023 11:43:39 +0200 Subject: [PATCH 07/14] Update charts/bitwarden-crd-operator/Chart.yaml --- charts/bitwarden-crd-operator/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/bitwarden-crd-operator/Chart.yaml b/charts/bitwarden-crd-operator/Chart.yaml index 3d95ff0..119daa2 100644 --- a/charts/bitwarden-crd-operator/Chart.yaml +++ b/charts/bitwarden-crd-operator/Chart.yaml @@ -95,7 +95,7 @@ annotations: artifacthub.io/operator: "true" artifacthub.io/containsSecurityUpdates: "false" artifacthub.io/changes: | - - kind: feat + - kind: added description: "Added prob variables for helm" artifacthub.io/images: | - name: bitwarden-crd-operator From 39a49ab95b0e91526f8ae8f5c431741b95bf5a13 Mon Sep 17 00:00:00 2001 From: ttrabelsi Date: Mon, 18 Sep 2023 09:11:05 +0200 Subject: [PATCH 08/14] fix docker build by updating some dependencies --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0df6dbf..55488ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ -FROM alpine:3.18.0 +FROM alpine:3.18.3 LABEL org.opencontainers.image.source=https://github.com/Lerentis/bitwarden-crd-operator LABEL org.opencontainers.image.description="Kubernetes Operator to create k8s secrets from bitwarden" LABEL org.opencontainers.image.licenses=MIT -ARG PYTHON_VERSION=3.11.4-r0 +ARG PYTHON_VERSION=3.11.5-r0 ARG PIP_VERSION=23.1.2-r0 ARG GCOMPAT_VERSION=1.1.0-r1 -ARG LIBCRYPTO_VERSION=3.1.0-r4 -ARG BW_VERSION=2023.1.0 +ARG LIBCRYPTO_VERSION=3.1.2-r0 +ARG BW_VERSION=2023.7.0 COPY requirements.txt /requirements.txt From f63e0ac0908e1dd07a0d168921d5b250b71ee994 Mon Sep 17 00:00:00 2001 From: ttrabelsi Date: Mon, 18 Sep 2023 09:11:20 +0200 Subject: [PATCH 09/14] bump version and add release notes --- charts/bitwarden-crd-operator/Chart.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/charts/bitwarden-crd-operator/Chart.yaml b/charts/bitwarden-crd-operator/Chart.yaml index 119daa2..0100424 100644 --- a/charts/bitwarden-crd-operator/Chart.yaml +++ b/charts/bitwarden-crd-operator/Chart.yaml @@ -4,9 +4,9 @@ description: Deploy the Bitwarden CRD Operator type: application -version: "v0.7.5" +version: "v0.7.6" -appVersion: "0.6.4" +appVersion: "0.6.5" keywords: - operator @@ -95,8 +95,14 @@ annotations: artifacthub.io/operator: "true" artifacthub.io/containsSecurityUpdates: "false" artifacthub.io/changes: | - - kind: added - description: "Added prob variables for helm" + - kind: changed + description: "Updated alpine to 3.18.3" + - kind: changed + description: "Updated python to 3.11.5-r0" + - kind: changed + description: "Updated libcrypto3 to 3.1.2-r0" + - kind: changed + description: "Updated bitwarden cli to v2023.7.0" artifacthub.io/images: | - name: bitwarden-crd-operator - image: ghcr.io/lerentis/bitwarden-crd-operator:0.6.4 + image: ghcr.io/lerentis/bitwarden-crd-operator:0.6.5 From 68ffb94870f6df4f6cbe10d516bad701be7595b7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Sep 2023 07:31:54 +0000 Subject: [PATCH 10/14] Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yml | 2 +- .github/workflows/test-and-lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8adc0fe..fa7c448 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/test-and-lint.yml b/.github/workflows/test-and-lint.yml index 5bacf55..c643a44 100644 --- a/.github/workflows/test-and-lint.yml +++ b/.github/workflows/test-and-lint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 From 0bb67e45037468bbaaff35dc2ad17f58783f0fd8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Sep 2023 08:03:01 +0000 Subject: [PATCH 11/14] Bump docker/build-push-action from 4 to 5 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v4...v5) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yml | 2 +- .github/workflows/test-and-lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa7c448..a1e825b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: - name: "GHCR Build and Push" id: docker_build - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: push: true platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/test-and-lint.yml b/.github/workflows/test-and-lint.yml index c643a44..9dcf69b 100644 --- a/.github/workflows/test-and-lint.yml +++ b/.github/workflows/test-and-lint.yml @@ -47,7 +47,7 @@ jobs: - name: "GHCR Build" id: docker_build - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: push: false platforms: linux/amd64,linux/arm64 From bd000cc23ac3b58a824719425dbc001160b24533 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Sep 2023 08:37:51 +0000 Subject: [PATCH 12/14] Bump docker/setup-buildx-action from 2 to 3 Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yml | 2 +- .github/workflows/test-and-lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1e825b..b0e9302 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,7 +52,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: "GHCR Build and Push" id: docker_build diff --git a/.github/workflows/test-and-lint.yml b/.github/workflows/test-and-lint.yml index 9dcf69b..6d8927b 100644 --- a/.github/workflows/test-and-lint.yml +++ b/.github/workflows/test-and-lint.yml @@ -43,7 +43,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: "GHCR Build" id: docker_build From 963446d9dc196244e02320ca151ae0ec604eb8ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Sep 2023 08:38:00 +0000 Subject: [PATCH 13/14] Bump docker/setup-qemu-action from 2 to 3 Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3. - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/setup-qemu-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yml | 2 +- .github/workflows/test-and-lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1e825b..542414c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 diff --git a/.github/workflows/test-and-lint.yml b/.github/workflows/test-and-lint.yml index 9dcf69b..4a23961 100644 --- a/.github/workflows/test-and-lint.yml +++ b/.github/workflows/test-and-lint.yml @@ -40,7 +40,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 From 25a825b71236430d9801946743c981a43cd9b8a2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Sep 2023 08:38:06 +0000 Subject: [PATCH 14/14] Bump docker/login-action from 2 to 3 Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a1e825b..8d52c24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ jobs: cmd: yq '.appVersion' charts/bitwarden-crd-operator/Chart.yaml - name: "GHCR Login" - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: lerentis