Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Commit 32017d2

Browse files
feat(*): Adds working actor for automatically creating services (#2)
This PR has a fully functioning actor that automatically creates Kubernetes services when new linkdefs are added for httpserver. I manually tested that it works as intended
1 parent 539b137 commit 32017d2

File tree

11 files changed

+3713
-38
lines changed

11 files changed

+3713
-38
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Kubernetes applier
2+
3+
This repo contains the interface, provider, and basic service actor for a Kubernetes applier. This
4+
is mainly intended for use with those who need to connect existing Kubernetes services to services
5+
in wasmCloud. Please see each individual directory for more information

applier/Cargo.lock

Lines changed: 77 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

applier/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tokio = { version = "1", features = ["full"] }
99
kubernetes-applier-interface = { version = "0.1", path = "../interface/rust" }
1010
wasmbus-rpc = "0.6"
1111
k8s-openapi = { version = "0.13", default-features = false, features = ["v1_22"] }
12-
kube = { version = "0.64", default-features = false, features = ["rustls-tls", "config", "client"] }
12+
kube = { version = "0.65", default-features = false, features = ["rustls-tls", "config", "client"] }
1313
serde_yaml = "0.8"
1414
base64 = "0.13"
1515

service-applier/.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[build]
2+
target = "wasm32-unknown-unknown"

service-applier/.gitignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# This file lists build byproducts,
2+
# IDE-specific files (unless shared by your team)
3+
4+
#
5+
6+
## Build
7+
/build
8+
/dist/
9+
/target
10+
**target
11+
12+
## File system
13+
.DS_Store
14+
desktop.ini
15+
16+
## Editor
17+
*.swp
18+
*.swo
19+
Session.vim
20+
.cproject
21+
.idea
22+
*.iml
23+
.vscode
24+
.project
25+
.favorites.json
26+
.settings/
27+
28+
## Temporary files
29+
*~
30+
\#*
31+
\#*\#
32+
.#*
33+
34+
## Python
35+
__pycache__/
36+
*.py[cod]
37+
*$py.class
38+
39+
## Node
40+
**node_modules
41+
**package-lock.json
42+

0 commit comments

Comments
 (0)