Skip to content

Commit

Permalink
Merge pull request #21 from thomastaylor312/ref/small_changes_and_bump
Browse files Browse the repository at this point in the history
ref(*): Refactors some copied code and bumps version
  • Loading branch information
thomastaylor312 authored Apr 13, 2024
2 parents 9a9a4a8 + 9eb70ec commit 1659819
Show file tree
Hide file tree
Showing 6 changed files with 168 additions and 238 deletions.
68 changes: 16 additions & 52 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

91 changes: 48 additions & 43 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmcloud-operator"
version = "0.2.0"
version = "0.2.0-alpha.1"
edition = "2021"

[[bin]]
Expand All @@ -21,53 +21,60 @@ path = "src/lib.rs"
edition = "2021"

[dependencies]
async-nats = {workspace = true}
axum = {workspace = true}
axum-server = {workspace = true}
anyhow = {workspace = true}
ctrlc = {workspace = true}
cloudevents-sdk = {workspace = true}
config = {workspace = true}
futures = {workspace = true}
handlebars = {workspace = true}
json-patch = {workspace = true}
k8s-openapi = {workspace = true, features = ["v1_28", "schemars"]}
kube = {workspace = true, features = ["runtime", "derive", "default"]}
opentelemetry = {workspace = true}
opentelemetry-otlp = {workspace = true}
rcgen = {workspace = true}
schemars = {workspace = true}
secrecy = {workspace = true}
serde = {workspace = true}
serde_json = {workspace = true}
serde_yaml = {workspace = true}
thiserror = {workspace = true}
time = {workspace = true}
tokio = {workspace = true}
tokio-util = {workspace = true}
tracing = {workspace = true}
tracing-opentelemetry = {workspace = true}
tracing-subscriber = {workspace = true}
utoipa = {workspace = true}
uuid = {workspace = true}
wadm = {workspace = true}
wash-lib = {workspace = true}
wasmcloud-operator-types = {workspace = true}
async-nats = { workspace = true }
axum = { workspace = true }
axum-server = { workspace = true }
anyhow = { workspace = true }
ctrlc = { workspace = true }
cloudevents-sdk = { workspace = true }
config = { workspace = true }
futures = { workspace = true }
handlebars = { workspace = true }
json-patch = { workspace = true }
k8s-openapi = { workspace = true, features = ["v1_28", "schemars"] }
kube = { workspace = true, features = ["runtime", "derive", "default"] }
opentelemetry = { workspace = true }
opentelemetry-otlp = { workspace = true }
rcgen = { workspace = true }
schemars = { workspace = true }
secrecy = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
thiserror = { workspace = true }
time = { workspace = true }
tokio = { workspace = true }
tokio-util = { workspace = true }
tracing = { workspace = true }
tracing-opentelemetry = { workspace = true }
tracing-subscriber = { workspace = true }
utoipa = { workspace = true }
uuid = { workspace = true }
wadm = { workspace = true }
wash-lib = { workspace = true }
wasmcloud-operator-types = { workspace = true }

[workspace.dependencies]
async-nats = "0.33"
axum = { version = "0.6", features = ["headers"] }
axum-server = { version = "0.4", features = ["tls-rustls"] }
anyhow = "1"
config = {version = "0.14", default-features = false, features = ["convert-case", "async"]}
config = { version = "0.14", default-features = false, features = [
"convert-case",
"async",
] }
cloudevents-sdk = "0.7"
ctrlc = "3"
futures = "0.3"
handlebars = "5.1"
json-patch = "1.2.0"
k8s-openapi = { version = "0.20", default-features = false}
kube = { version = "0.87", default-features = false}
opentelemetry = { version = "0.20", features = ["metrics", "trace", "rt-tokio"] }
k8s-openapi = { version = "0.20", default-features = false }
kube = { version = "0.87", default-features = false }
opentelemetry = { version = "0.20", features = [
"metrics",
"trace",
"rt-tokio",
] }
opentelemetry-otlp = { version = "0.13", features = ["tokio"] }
rcgen = "0.11"
schemars = "0.8"
Expand All @@ -84,14 +91,12 @@ tracing-opentelemetry = "0.20"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
utoipa = { version = "4.1", features = ["axum_extras"] }
uuid = { version = "1", features = ["v5"] }
wadm = "0.11.0-alpha.2"
wash-lib = { git = "https://github.com/wasmcloud/wasmcloud.git",tag = "wash-cli-v0.27.0-alpha.2" }
wasmcloud-operator-types = { version="*", path = "./crates/types" }
wadm = "0.11.0-alpha.3"
wash-lib = "0.20.0-alpha.2"
wasmcloud-operator-types = { version = "*", path = "./crates/types" }

[workspace]
members = [
"crates/*"
]
members = ["crates/*"]
resolver = "2"

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2024 wasmCloud Maintainers

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
34 changes: 17 additions & 17 deletions sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ spec:
hostLabels:
test: value
# Which wasmCloud version to use
version: 1.0.0-rc.1
version: 1.0.0-rc.2
# The name of a secret in the same namespace that provides the required secrets.
secretName: cluster-secrets
logLevel: INFO
Expand All @@ -22,19 +22,19 @@ spec:
# This includes setting resource requirements for the nats and wasmCloud host
# containers along with any additional pot template settings.
#schedulingOptions:
# Enable the following to run the wasmCloud hosts as a DaemonSet
#daemonset: true
# Set the resource requirements for the nats and wasmCloud host containers.
#resources:
# nats:
# requests:
# cpu: 100m
# wasmCloudHost:
# requests:
# cpu: 100m
# Any additional pod template settings to apply to the wasmCloud host pods.
# See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#podspec-v1-core for all valid options.
# Note that you *cannot* set the `containers` field here as it is managed by the controller.
#pod_template_additions:
# nodeSelector:
# kubernetes.io/os: linux
# Enable the following to run the wasmCloud hosts as a DaemonSet
#daemonset: true
# Set the resource requirements for the nats and wasmCloud host containers.
#resources:
# nats:
# requests:
# cpu: 100m
# wasmCloudHost:
# requests:
# cpu: 100m
# Any additional pod template settings to apply to the wasmCloud host pods.
# See https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#podspec-v1-core for all valid options.
# Note that you *cannot* set the `containers` field here as it is managed by the controller.
#pod_template_additions:
# nodeSelector:
# kubernetes.io/os: linux
Loading

0 comments on commit 1659819

Please sign in to comment.