remove probe function again but update dependencies
This commit is contained in:
parent
ffbf466416
commit
096bf6b5f6
10
Dockerfile
10
Dockerfile
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -4,7 +4,6 @@ import kopf
|
||||
import schedule
|
||||
import time
|
||||
import threading
|
||||
import datetime
|
||||
|
||||
from utils.utils import command_wrapper, unlock_bw, sync_bw
|
||||
|
||||
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user