Skip to content

Commit 3adcaf9

Browse files
basic auth quick fix (#94)
1 parent 93b92f1 commit 3adcaf9

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

copilot/fsd-form-designer-adapter/manifest.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -70,25 +70,6 @@ environments:
7070
dev:
7171
count:
7272
spot: 1
73-
sidecars:
74-
nginx:
75-
port: 8087
76-
image:
77-
location: xscys/nginx-sidecar-basic-auth
78-
variables:
79-
FORWARD_PORT: 8080
80-
CLIENT_MAX_BODY_SIZE: 10m
81-
secrets:
82-
BASIC_AUTH_USERNAME: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_USERNAME
83-
BASIC_AUTH_PASSWORD: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_PASSWORD
84-
http:
85-
target_container: nginx
86-
healthcheck:
87-
path: /healthcheck
88-
port: 8080
89-
test:
90-
count:
91-
spot: 2
9273
sidecars:
9374
nginx:
9475
port: 8087
@@ -105,3 +86,22 @@ environments:
10586
healthcheck:
10687
path: /healthcheck
10788
port: 8080
89+
test:
90+
count:
91+
spot: 2
92+
sidecars:
93+
nginx:
94+
port: 8087
95+
image:
96+
location: xscys/nginx-sidecar-basic-auth
97+
variables:
98+
FORWARD_PORT: 8080
99+
CLIENT_MAX_BODY_SIZE: 10m
100+
secrets:
101+
BASIC_AUTH_USERNAME: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_USERNAME
102+
BASIC_AUTH_PASSWORD: /copilot/${COPILOT_APPLICATION_NAME}/${COPILOT_ENVIRONMENT_NAME}/secrets/BASIC_AUTH_PASSWORD
103+
http:
104+
target_container: nginx
105+
healthcheck:
106+
path: /healthcheck
107+
port: 8080

0 commit comments

Comments
 (0)