Skip to content

Commit 6c58c18

Browse files
committed
chore: Merge branch 'main' into feat/provision-public-secret-data-only
2 parents 82a1b44 + b81e7b0 commit 6c58c18

17 files changed

Lines changed: 2746 additions & 1984 deletions

File tree

Cargo.lock

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

Cargo.nix

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

Cargo.toml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,27 @@ edition = "2021"
1111
repository = "https://github.com/stackabletech/secret-operator"
1212

1313
[workspace.dependencies]
14-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.105.0", features = ["time", "telemetry", "versioned", "webhook"] }
14+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.106.1", features = ["time", "telemetry", "versioned", "webhook"] }
1515
krb5 = { git = "https://github.com/stackabletech/krb5-rs.git", tag = "v0.1.0" }
1616

1717
anyhow = "1.0"
1818
async-trait = "0.1"
1919
built = { version = "0.8", features = ["chrono", "git2"] }
2020
byteorder = "1.5"
21+
chrono = "0.4"
2122
clap = "4.5"
2223
const_format = "0.2.34"
2324
futures = { version = "0.3", features = ["compat"] }
2425
h2 = "0.4"
2526
hex = "0.4"
26-
# This version needs to match the kube version that is re-exported by stackable-operator!
27-
kube-runtime = { git = "https://github.com/stackabletech/kube-rs", branch = "2.0.1-fix-schema-hoisting", version = "=2.0.1", features = ["unstable-runtime-stream-control"] }
27+
# We can't use the stackable-operator re-export because we need the special "unstable-runtime-stream-control"
28+
# feature. We don't want to enable it in stackable-operator, as we don't want to accidentally use
29+
# unstable features.
30+
# This version needs to match the kube version that is re-exported by stackable-operator, so that
31+
# the feature unification works!
32+
kube-runtime = { git = "https://github.com/kube-rs/kube-rs", rev = "fe69cc486ff8e62a7da61d64ec3ebbd9e64c43b5", default-features = false, features = ["unstable-runtime-stream-control"] }
33+
# Hopefully soon we can switch to
34+
# kube-runtime = { version = "*", default-features = false, features = ["unstable-runtime-stream-control"] }
2835
ldap3 = { version = "0.11", default-features = false, features = ["gssapi", "tls"] }
2936
libc = "0.2"
3037
native-tls = "0.2"

crate-hashes.json

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

extra/crds.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,7 @@ spec:
901901
- tls-pem
902902
- tls-pkcs12
903903
- kerberos
904+
- null
904905
nullable: true
905906
type: string
906907
secretClassName:

rust/cert-tools/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!-- GENERATED BY GIT-CLIFF, DO NOT EDIT MANUALLY -->
2+
3+
# Changelog
4+
5+
All notable changes to this project will be documented in this file.
6+
7+
## [0.1.1] - 2026-02-23
8+
9+
### Features
10+
11+
- Add typed errors and restructure code ([#678](https://github.com/stackabletech/secret-operator/pull/678)).
12+
13+
<!-- GENERATED BY GIT-CLIFF, DO NOT EDIT MANUALLY -->

rust/cert-tools/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cert-tools"
33
description = "Merge multiple truststores encoded as PEM or PKCS12 into a JVM compatible format"
4-
version = "0.0.0-dev"
4+
version = "0.1.1" # Managed by .scripts/release_cert-tools.sh
55
authors.workspace = true
66
license.workspace = true
77
edition.workspace = true

rust/cert-tools/RELEASE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Release Process
2+
3+
To release a new version of `cert-tools` the following steps need to be done:
4+
5+
1. Make sure the local `main` branch is up-to-date and in a clean state.
6+
2. Run the `scripts/release_cert-tools.sh` script. This takes care of
7+
- generating the changelog
8+
- updating the `Cargo.toml` version
9+
- raising a PR with the changes
10+
3. Merge the PR.
11+
4. Add the appropriate tag on `main` by running `git tag <TAG> -m <TAG> -s`.
12+
5. Push the tag.

rust/cert-tools/cliff.toml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
[bump]
2+
# We set this to false, because we currently use a 0.X.X version. Features will thus only bump the
3+
# patch-level version.
4+
features_always_bump_minor = false
5+
6+
# We set this to false, because we currently use a 0.X.X version. Breaking changes will thus only
7+
# bump the minor version.
8+
breaking_always_bump_major = false
9+
10+
initial_tag = "cert-tools-0.1.1"
11+
12+
[git]
13+
# All commits should be parsed as conventional commits.
14+
conventional_commits = true
15+
16+
# All unconventional commits are filtered out and ignored.
17+
filter_unconventional = true
18+
19+
# Commits listed in the changelog are sorted from newest to oldest.
20+
sort_commits = "newest"
21+
22+
# Filter and ignore all commits NOT matched by the commit parsers below.
23+
filter_commits = true
24+
25+
commit_parsers = [
26+
{ message = "^chore\\(cert-tools\\): Release", skip = true },
27+
{ message = "^feat\\(cert-tools\\)", group = "<!-- 0 --> Features" },
28+
{ message = "^fix\\(cert-tools\\)", group = "<!-- 1 --> Bug Fixes" },
29+
{ message = "^docs?\\(cert-tools\\)", group = "<!-- 2 --> Documentation" },
30+
{ message = "^(perf|refactor|test)\\(cert-tools\\)", group = "<!-- 3 --> Improvements" },
31+
{ message = "^chore\\(cert-tools\\): Improve", group = "<!-- 3 --> Improvements" },
32+
{ message = "^chore\\(cert-tools\\)", group = "<!-- 4 --> Miscellaneous" },
33+
]
34+
35+
commit_preprocessors = [
36+
# Replace issue numbers with link templates to be updated in `changelog.postprocessors`.
37+
{ pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](<REPO>/pull/${2}))" },
38+
]
39+
40+
# Only consider the 'cert-tools-' Git tags when generating the changelog
41+
tag_pattern = "cert-tools-[0-9]*.[0-9]*.[0-9]*"
42+
43+
# Ignore the first release tag
44+
skip_tags = "cert-tools-0.1.0"
45+
46+
[changelog]
47+
trim = true
48+
49+
postprocessors = [
50+
# Replace the placeholder `<REPO>` with a URL.
51+
{ pattern = '<REPO>', replace = "https://github.com/stackabletech/secret-operator" },
52+
]
53+
54+
header = """<!-- GENERATED BY GIT-CLIFF, DO NOT EDIT MANUALLY -->
55+
56+
# Changelog
57+
58+
All notable changes to this project will be documented in this file.
59+
"""
60+
61+
body = """
62+
63+
{% if version %}\
64+
{% if previous.version %}\
65+
## [{{ version | trim_start_matches(pat="cert-tools-") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
66+
67+
[See complete diff](<REPO>/compare/{{ previous.version }}..{{ version }})
68+
{% else %}\
69+
## [{{ version | trim_start_matches(pat="cert-tools-") }}] - {{ timestamp | date(format="%Y-%m-%d") }}
70+
{% endif %}\
71+
{% else %}\
72+
## [Unreleased]
73+
{% endif %}\
74+
75+
{% for group, commits in commits | group_by(attribute="group") %}
76+
### {{ group | striptags | trim | upper_first }}
77+
{% for commit in commits %}
78+
- {% if commit.breaking %}**BREAKING:** {% endif %}\
79+
{{ commit.message | upper_first }}.\
80+
{%- endfor %}
81+
{% endfor -%}
82+
83+
84+
"""
85+
86+
footer = """
87+
88+
<!-- GENERATED BY GIT-CLIFF, DO NOT EDIT MANUALLY -->
89+
"""

rust/operator-binary/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ p12 = { path = "../p12" }
1515

1616
anyhow.workspace = true
1717
async-trait.workspace = true
18+
chrono.workspace = true
1819
clap.workspace = true
1920
futures.workspace = true
2021
h2.workspace = true
22+
# We don't directly use this crate, we declare it here to use feature unification
2123
kube-runtime.workspace = true
2224
libc.workspace = true
2325
openssl.workspace = true

0 commit comments

Comments
 (0)