Skip to content

Commit

Permalink
chore: remove network constrain from crd (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
avatxus authored Mar 22, 2024
1 parent f473e8f commit 1e77606
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 6 additions & 7 deletions bootstrap/crds/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ resource "kubernetes_manifest" "customresourcedefinition_dbsyncports_demeter_run
"spec" = {
"group" = "demeter.run"
"names" = {
"categories" = []
"categories" = [
"demeter-port",
]
"kind" = "DbSyncPort"
"plural" = "dbsyncports"
"shortNames" = []
"shortNames" = [
"dbsp",
]
"singular" = "dbsyncport"
}
"scope" = "Namespaced"
Expand Down Expand Up @@ -42,11 +46,6 @@ resource "kubernetes_manifest" "customresourcedefinition_dbsyncports_demeter_run
"spec" = {
"properties" = {
"network" = {
"enum" = [
"mainnet",
"preprod",
"preview",
]
"type" = "string"
}
}
Expand Down
2 changes: 2 additions & 0 deletions operator/src/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ pub static DB_SYNC_PORT_FINALIZER: &str = "dbsyncports.demeter.run";
kind = "DbSyncPort",
group = "demeter.run",
version = "v1alpha1",
category = "demeter-port",
shortname = "dbsp",
namespaced
)]
#[kube(status = "DbSyncPortStatus")]
Expand Down

0 comments on commit 1e77606

Please sign in to comment.