mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 10:13:58 +00:00
Add KDC authority service; update registry, knoe UI, conf, and scan artifacts
- New authority/kdc Spring Boot microservice (Dockerfile, HealthController, application.properties) - Updated authority/pom.xml, k8s/registry/deployment.yaml, knoe/ui/screens, conf, etc/ init scripts, modes/k3s/knoe-db/.version, scan artifacts - Added project images (knoe.png, architecture diagram, screenshot) Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
parent
eb9430df9d
commit
7427042694
27
authority/kdc/Dockerfile
Normal file
27
authority/kdc/Dockerfile
Normal file
@ -0,0 +1,27 @@
|
||||
FROM ubuntu:24.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
acl \
|
||||
adcli \
|
||||
attr \
|
||||
ca-certificates \
|
||||
curl \
|
||||
dnsutils \
|
||||
krb5-admin-server \
|
||||
krb5-config \
|
||||
krb5-kdc \
|
||||
krb5-user \
|
||||
libnss-winbind \
|
||||
libpam-krb5 \
|
||||
libpam-winbind \
|
||||
python3-samba \
|
||||
realmd \
|
||||
samba \
|
||||
samba-common-bin \
|
||||
samba-dsdb-modules \
|
||||
samba-vfs-modules \
|
||||
winbind \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
@ -0,0 +1,11 @@
|
||||
package org.prole.authority;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class AuthorityApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(AuthorityApplication.class, args);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package org.prole.authority;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class HealthController {
|
||||
|
||||
@GetMapping("/health")
|
||||
public String health() {
|
||||
return "ok";
|
||||
}
|
||||
}
|
||||
3
authority/kdc/src/main/resources/application.properties
Normal file
3
authority/kdc/src/main/resources/application.properties
Normal file
@ -0,0 +1,3 @@
|
||||
server.port=8080
|
||||
|
||||
management.endpoints.web.exposure.include=health,info
|
||||
@ -0,0 +1,12 @@
|
||||
package org.prole.authority;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class AuthorityApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
}
|
||||
BIN
img/Screenshot 2026-04-02 at 2.33.24 PM.png
Normal file
BIN
img/Screenshot 2026-04-02 at 2.33.24 PM.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
BIN
img/knoe.png
Normal file
BIN
img/knoe.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Loading…
Reference in New Issue
Block a user