Skip to content

Commit

Permalink
chore: update dmtr-api-key and hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
avatxus committed Dec 12, 2023
1 parent 9ce472d commit 21089cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions operator/src/handlers/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ fn auth_plugin(
let data = json!({
"plugin": "key-auth",
"config": {
"key_names": ["apikey"],

"key_names": ["dmtr-api-key"],
}
});

Expand Down
2 changes: 1 addition & 1 deletion operator/src/handlers/gateway.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub async fn handle_http_route(
private_dns_service_name: &str,
) -> Result<(), Error> {
let name = format!("kupo-{}", resource.name_any());
let host_name = build_host(&name, &namespace_to_slug(namespace));
let host_name = build_host(&resource.name_any(), &namespace_to_slug(namespace));
let http_route = http_route();
let kupo_port = KupoPort::api_resource();

Expand Down

0 comments on commit 21089cc

Please sign in to comment.