From cb2f89e80cce4be5d1a76cc34244a96e866fcd35 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 18 Mar 2026 14:40:15 +0100 Subject: [PATCH] Fix the containerfile again Signed-off-by: Nikolai Rodionov --- operator/.yml | 105 -------------------------------------------- operator/src/cli.rs | 1 + 2 files changed, 1 insertion(+), 105 deletions(-) delete mode 100644 operator/.yml diff --git a/operator/.yml b/operator/.yml deleted file mode 100644 index 471ba7e..0000000 --- a/operator/.yml +++ /dev/null @@ -1,105 +0,0 @@ ---- -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: rustfsusers.rustfs.badhouseplants.net -spec: - group: rustfs.badhouseplants.net - names: - categories: [] - kind: RustFSUser - plural: rustfsusers - shortNames: [] - singular: rustfsuser - scope: Namespaced - versions: - - additionalPrinterColumns: [] - name: v1beta1 - schema: - openAPIV3Schema: - description: Manage buckets on a RustFs instance - properties: - spec: - properties: - access: - enum: - - readOnly - - readWrite - type: string - bucket: - type: string - cleanup: - default: false - type: boolean - required: - - access - - bucket - type: object - status: - description: The status object of `DbInstance` - nullable: true - properties: - conditions: - items: - description: Condition contains details for one aspect of the current state of this API Resource. - properties: - lastTransitionTime: - description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. - format: date-time - type: string - message: - description: message is a human readable message indicating details about the transition. This may be an empty string. - type: string - observedGeneration: - description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. - format: int64 - type: integer - reason: - description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. - type: string - status: - description: status of the condition, one of True, False, Unknown. - type: string - type: - description: type of condition in CamelCase or in foo.example.com/CamelCase. - type: string - required: - - lastTransitionTime - - message - - reason - - status - - type - type: object - type: array - configMapName: - nullable: true - type: string - passwordHash: - nullable: true - type: string - policy: - nullable: true - type: string - ready: - default: false - type: boolean - secretName: - nullable: true - type: string - status: - nullable: true - type: string - username: - nullable: true - type: string - required: - - conditions - type: object - required: - - spec - title: RustFSUser - type: object - served: true - storage: true - subresources: - status: {} diff --git a/operator/src/cli.rs b/operator/src/cli.rs index bcb406d..9b760e2 100644 --- a/operator/src/cli.rs +++ b/operator/src/cli.rs @@ -3,6 +3,7 @@ use std::process::Command; use tracing::info; pub(crate) fn rc_exec(args: Vec<&str>) -> Result { + info!("Executing rc + {:?}", args); let expect = format!("command has failed: rc {:?}", args); let output = Command::new("rc").args(args).output().expect(&expect); let stderr = String::from_utf8_lossy(&output.stderr).to_string();