Fix the containerfile again
All checks were successful
ci/woodpecker/push/build-container Pipeline was successful

Signed-off-by: Nikolai Rodionov <iam@allanger.xyz>
This commit is contained in:
2026-03-18 14:40:15 +01:00
parent 43dc59bff7
commit cb2f89e80c
2 changed files with 1 additions and 105 deletions

View File

@@ -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: {}

View File

@@ -3,6 +3,7 @@ use std::process::Command;
use tracing::info;
pub(crate) fn rc_exec(args: Vec<&str>) -> Result<String, anyhow::Error> {
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();