operator.py is reserved in kopf
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
22a35062fd
commit
8d987799a0
@ -32,7 +32,7 @@ steps:
|
|||||||
- name: trivy
|
- name: trivy
|
||||||
image: aquasec/trivy:0.31.3
|
image: aquasec/trivy:0.31.3
|
||||||
commands:
|
commands:
|
||||||
- trivy lerentis/bitwarden-crd-operator:${DRONE_COMMIT_SHA}
|
- trivy image lerentis/bitwarden-crd-operator:${DRONE_COMMIT_SHA}
|
||||||
environment:
|
environment:
|
||||||
TRIVY_USERNAME:
|
TRIVY_USERNAME:
|
||||||
from_secret: docker_username
|
from_secret: docker_username
|
||||||
|
@ -22,9 +22,9 @@ RUN set -eux; \
|
|||||||
apt-get install -y --no-install-recommends python3 python3-pip; \
|
apt-get install -y --no-install-recommends python3 python3-pip; \
|
||||||
pip install -r requirements.txt
|
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
|
USER bw-operator
|
||||||
|
|
||||||
ENTRYPOINT [ "/home/bw-operator/operator.py" ]
|
ENTRYPOINT [ "/home/bw-operator/bitwarden-crd-operator.py" ]
|
||||||
CMD [ "--help" ]
|
CMD [ "--help" ]
|
Loading…
Reference in New Issue
Block a user