You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .readme/partials/main.md.j2
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@ You can install the operator using [stackablectl or helm](https://docs.stackable
10
10
11
11
Read on to get started with it, or see it in action in one of our [demos](https://stackable.tech/en/demos/).
12
12
13
+
## Building
14
+
15
+
As a user you do not need to build the operator yourself, but for development purposes you can read the [build instructions](./BUILDING.md) to learn how to build the operator.
16
+
13
17
## Getting Started
14
18
15
19
You can follow this [tutorial](https://docs.stackable.tech/home/stable/{{operator_docs_slug}}/getting_started/first_steps) .
It is developed against the latest stable Rust release, and we currently don't support any older versions.
6
6
7
-
However, the Secret Operator is a https://github.com/container-storage-interface/spec/blob/master/spec.md[Container Storage Interface (CSI)] provider plugin
7
+
However, the Secret Operator is a [Container Storage Interface (CSI)](https://github.com/container-storage-interface/spec/blob/master/spec.md) provider plugin
8
8
for the local Kubelet, which means that it should only be executed inside of a Kubernetes `Pod`. We currently support two ways of building the
9
-
Secret Operator: `docker build` and https://nixos.org/[Nix]. `docker build` is currently our primary deployment target, and our official images are built
9
+
Secret Operator: `docker build` and [Nix](https://nixos.org/). `docker build` is currently our primary deployment target, and our official images are built
10
10
using it. However, Nix has much faster incremental build and deploy times, making it ideal for local development.
11
11
12
-
==Docker
12
+
##Docker
13
13
14
14
To build and deploy to the active Kind cluster, run:
You may need to add `extra-experimental-features = nix-command` to `/etc/nix/nix.conf`, or add `--experimental-features nix-command` to the Nix commands.
65
63
66
-
You can also use https://tilt.dev/[Tilt] to automatically rebuild and redeploy when files are changed:
64
+
You can also use [Tilt](https://tilt.dev/) to automatically rebuild and redeploy when files are changed:
67
65
68
-
[source,console]
69
-
----
66
+
```shell
70
67
$ nix run -f . tilt up
71
-
----
68
+
```
72
69
73
-
== K3d
70
+
##K3d
74
71
75
72
Secret-Operator, as with most CSI providers, requires the Kubernetes node's root folder to be mounted as `rshared`. K3d does not do this by default,
76
73
but can be prodded into doing this by running `mount --make-rshared /` in each node container.
77
74
78
75
To do this for each running node K3d node, run the following script:
79
76
80
-
[source,console]
81
-
----
77
+
```shell
82
78
foriin$(k3d node list -o json | jq -r .[].name);do
83
79
docker exec -it $i mount --make-rshared /
84
80
done
85
-
----
81
+
```
86
82
87
-
NOTE: This is _not_ persistent, and must be re-executed every time the cluster (or a node in it) is restarted.
83
+
> [!IMPORTANT]
84
+
> This is _not_ persistent, and must be re-executed every time the cluster (or a node in it) is restarted.
88
85
89
-
== Local builds
86
+
##Local builds
90
87
91
88
Local builds (outside of the tools mentioned above) require the openssl, krb5, and Clang libraries, as well as
92
89
pkg-config and protoc. On Ubuntu, this means running:
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,10 @@ You can install the operator using [stackablectl or helm](https://docs.stackable
20
20
21
21
Read on to get started with it, or see it in action in one of our [demos](https://stackable.tech/en/demos/).
22
22
23
+
## Building
24
+
25
+
As a user you do not need to build the operator yourself, but for development purposes you can read the [build instructions](./BUILDING.md) to learn how to build the operator.
26
+
23
27
## Getting Started
24
28
25
29
You can follow this [tutorial](https://docs.stackable.tech/home/stable/secret-operator/getting_started/first_steps) .
Copy file name to clipboardExpand all lines: docs/modules/secret-operator/pages/installation.adoc
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,3 @@ In some cases IBM cloud has the kubelet directory located at `/var/data/kubelet/
56
56
`failed to publish volume error=status: Unavailable, message: "failed to create secret parent dir /var/data/kubelet/pods/<POD_ID>/volumes/kubernetes.io~csi/pvc-<PVC_ID>/mount: No such file or directory (os error 2)"`
57
57
58
58
In case you are encountering the mentioned error (or secret-operator does not work on your IBM cloud at all), you need to add the argument `--set kubeletDir=/var/data/kubelet` to the `helm install` command.
0 commit comments