Skip to content

Commit

Permalink
remove probe function again but update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Lerentis committed Aug 4, 2024
1 parent ffbf466 commit 096bf6b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ LABEL org.opencontainers.image.source=https://github.com/Lerentis/bitwarden-crd-
LABEL org.opencontainers.image.description="Kubernetes Operator to create k8s secrets from bitwarden"
LABEL org.opencontainers.image.licenses=MIT

ARG PYTHON_VERSION=3.11.9-r0
ARG PIP_VERSION=23.3.1-r0
ARG PYTHON_VERSION=3.12.3-r1
ARG PIP_VERSION=24.0-r2
ARG GCOMPAT_VERSION=1.1.0-r4
ARG LIBCRYPTO_VERSION=3.1.4-r5
ARG BW_VERSION=2023.7.0
ARG NODE_VERSION=20.12.1-r0
ARG LIBCRYPTO_VERSION=3.3.1-r3
ARG BW_VERSION=2024.7.2
ARG NODE_VERSION=20.15.1-r0

COPY requirements.txt /requirements.txt

Expand Down
12 changes: 10 additions & 2 deletions charts/bitwarden-crd-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,18 @@ annotations:
artifacthub.io/operator: "true"
artifacthub.io/containsSecurityUpdates: "false"
artifacthub.io/changes: |
- kind: changed
description: "Dedicated probe handler to reduce logging noise"
- kind: changed
description: "Update Alpine to 3.20.2"
- kind: changed
description: "Update Python to 3.12.3-r1"
- kind: changed
description: "Update Pip to 24.0-r2"
- kind: changed
description: "Update NodeJS to 20.15.1-r0"
- kind: changed
description: "Update libcrypto3 to 3.3.1-r3"
- kind: changed
description: "Update BitwardenCLI to 2024.7.2"
artifacthub.io/images: |
- name: bitwarden-crd-operator
image: ghcr.io/lerentis/bitwarden-crd-operator:0.13.0
5 changes: 0 additions & 5 deletions src/bitwardenCrdOperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import schedule
import time
import threading
import datetime

from utils.utils import command_wrapper, unlock_bw, sync_bw

Expand All @@ -21,10 +20,6 @@ def bitwarden_signin(logger, **kwargs):
command_wrapper(logger, "login --apikey")
unlock_bw(logger)

@kopf.on.probe(id='now')
def get_current_timestamp(**kwargs):
return datetime.datetime.now(datetime.timezone.utc).isoformat()

def run_continuously(interval=30):
cease_continuous_run = threading.Event()

Expand Down

0 comments on commit 096bf6b

Please sign in to comment.