operator.py is reserved in kopf
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tobias Trabelsi 2022-09-04 23:24:14 +02:00
parent 22a35062fd
commit 8d987799a0
Signed by: lerentis
GPG Key ID: FF0C2839718CAF2E
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ steps:
- name: trivy
image: aquasec/trivy:0.31.3
commands:
- trivy lerentis/bitwarden-crd-operator:${DRONE_COMMIT_SHA}
- trivy image lerentis/bitwarden-crd-operator:${DRONE_COMMIT_SHA}
environment:
TRIVY_USERNAME:
from_secret: docker_username

View File

@ -22,9 +22,9 @@ RUN set -eux; \
apt-get install -y --no-install-recommends python3 python3-pip; \
pip install -r requirements.txt
COPY --chown=bw-operator:bw-operator operator.py /home/bw-operator/operator.py
COPY --chown=bw-operator:bw-operator bitwarden-crd-operator.py /home/bw-operator/bitwarden-crd-operator.py
USER bw-operator
ENTRYPOINT [ "/home/bw-operator/operator.py" ]
ENTRYPOINT [ "/home/bw-operator/bitwarden-crd-operator.py" ]
CMD [ "--help" ]