File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -50,5 +50,10 @@ COPY --from=cfg /etc/passwd /etc/passwd
50
50
COPY --from=cfg /etc/group /etc/group
51
51
COPY ./Cargo.lock /Cargo.lock
52
52
USER 65533:65533
53
+ # Default port, should be used when tls is not enabled
53
54
EXPOSE 3000
55
+ # Readiness probe port, always http
56
+ EXPOSE 8081
57
+ # To be used when tls is enabled
58
+ EXPOSE 8443
54
59
ENTRYPOINT ["/policy-server" ]
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ This document contains the help content for the `policy-server` command-line pro
64
64
Default value: ` 3000 `
65
65
* ` --readiness-probe-port <READINESS_PROBE_PORT> ` — Expose readiness endpoint on READINESS_PROBE_PORT
66
66
67
- Default value: ` 3000 `
67
+ Default value: ` 8081 `
68
68
* ` --sigstore-cache-dir <SIGSTORE_CACHE_DIR> ` — Directory used to cache sigstore data
69
69
70
70
Default value: ` sigstore-data `
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ pub(crate) fn build_cli() -> Command {
71
71
Arg :: new( "readiness-probe-port" )
72
72
. long( "readiness-probe-port" )
73
73
. value_name( "READINESS_PROBE_PORT" )
74
- . default_value( "3000 " )
74
+ . default_value( "8081 " )
75
75
. env( "KUBEWARDEN_READINESS_PROBE_PORT" )
76
76
. help( "Expose readiness endpoint on READINESS_PROBE_PORT" ) ,
77
77
You can’t perform that action at this time.
0 commit comments