Skip to content
This repository has been archived by the owner on Jan 9, 2025. It is now read-only.

Commit

Permalink
Merge pull request #38 from aaronfern/cve_and_entrypoint
Browse files Browse the repository at this point in the history
Updated entry point for etcd-custom-image and added CVE categorisation labels
  • Loading branch information
shreyas-s-rao authored Jul 28, 2023
2 parents 29b0ed0 + eed6104 commit f6a7b7c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .ci/pipeline_definitions
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ etcd-custom-image:
inputs:
repos:
source: ~
resource_labels:
- name: 'gardener.cloud/cve-categorisation'
value:
network_exposure: 'private'
authentication_enforced: true
user_interaction: 'gardener-operator'
confidentiality_requirement: 'high'
integrity_requirement: 'high'
availability_requirement: 'high'
release:
nextversion: noop
release_commit_publishing_policy: tag_only
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ COPY --from=source /usr/local/bin/etcd /usr/local/bin
COPY --from=source /usr/local/bin/etcdctl /usr/local/bin
COPY etcd_bootstrap_script.sh /var/etcd/bin/bootstrap.sh

ENTRYPOINT ["/usr/local/bin/etcd"]
ENTRYPOINT ["/var/etcd/bin/bootstrap.sh"]
2 changes: 1 addition & 1 deletion Dockerfile-e
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN apk add --update bash curl wget openssl
COPY --from=source /usr/local/bin/etcd /usr/local/bin
COPY --from=source /usr/local/bin/etcdctl /usr/local/bin

ENTRYPOINT ["/usr/local/bin/etcd"]
ENTRYPOINT ["/var/etcd/bin/bootstrap.sh"]
2 changes: 1 addition & 1 deletion Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ COPY --from=source /usr/local/bin/etcd /usr/local/bin
COPY --from=source /usr/local/bin/etcdctl /usr/local/bin
COPY etcd_bootstrap_script.sh /var/etcd/bin/bootstrap.sh

ENTRYPOINT ["/usr/local/bin/etcd"]
ENTRYPOINT ["/var/etcd/bin/bootstrap.sh"]
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v3.4.13-bootstrap-11
v3.4.13-bootstrap-12

0 comments on commit f6a7b7c

Please sign in to comment.