Skip to content

Commit f5ec9f2

Browse files
Release notes for SDK 1.0.0-beta.31 plus related docs (#2750)
* Release notes for SDK 1.0.0-beta.31 plus related docs * bump sdk version in yaml samples * edits to clusterrole steps --------- Co-authored-by: Paige Calvert <[email protected]>
1 parent 27109c3 commit f5ec9f2

File tree

4 files changed

+29
-3
lines changed

4 files changed

+29
-3
lines changed

docs/partials/replicated-sdk/_dependency-yaml.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
dependencies:
44
- name: replicated
55
repository: oci://registry.replicated.com/library
6-
version: 1.0.0-beta.29
6+
version: 1.0.0-beta.31
77
```
88
99
For the latest version information for the Replicated SDK, see the [replicated-sdk repository](https://github.com/replicatedhq/replicated-sdk/tags) in GitHub.

docs/release-notes/rn-replicated-sdk.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ pagination_prev: null
88

99
This topic contains release notes for the [Replicated SDK](/vendor/replicated-sdk-overview). The release notes list new features, improvements, bug fixes, known issues, and breaking changes.
1010

11+
## 1.0.0-beta.31
12+
13+
Released on October 17, 2024
14+
15+
### New Features {#new-features-1-0-0-beta-31}
16+
* Adds support for specifying ClusterRole using the [clusterRole](/vendor/replicated-sdk-customizing#custom-clusterrole) key.
17+
1118
## 1.0.0-beta.30
1219

1320
Released on October 16, 2024

docs/vendor/replicated-sdk-customizing.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ The SDK requires the following minimum RBAC permissions:
6565
The Replicated Vendor Portal uses status informers to provide application status data. For more information, see [Helm Installations](/vendor/insights-app-status#helm-installations) in _Enabling and Understanding Application Status_.
6666
### Install the SDK with Custom RBAC
6767

68+
#### Custom ServiceAccount
69+
6870
To use the SDK with custom RBAC permissions, provide the name for a custom ServiceAccount object during installation. When a service account is provided, the SDK uses the RBAC permissions granted to the service account and does not create the default Role, RoleBinding, or ServiceAccount objects.
6971

7072
To install the SDK with custom RBAC:
@@ -80,6 +82,23 @@ To install the SDK with custom RBAC:
8082
8183
For more information about installing with Helm, see [Installing with Helm](/vendor/install-with-helm).
8284
85+
#### Custom ClusterRole
86+
87+
To use the SDK with an existing ClusterRole, provide the name for a custom ClusterRole object during installation. When a cluster role is provided, the SDK uses the RBAC permissions granted to the cluster role and does not create the default RoleBinding. Instead, the SDK creates a ClusterRoleBinding as well as a ServiceAccount object.
88+
89+
To install the SDK with a custom ClusterRole:
90+
91+
1. Create a custom ClusterRole object. The ClusterRole must meet at least the minimum requirements described in [Minimum RBAC Requirements](#minimum-rbac-requirements) above. However, it can also provide additional permissions that can be used by the SDK, such as listing cluster Nodes.
92+
1. During installation, provide the name of the cluster role that you created by including `--set replicated.clusterRole=CUSTOM_CLUSTERROLE_NAME`.
93+
94+
**Example**:
95+
96+
```
97+
helm install wordpress oci://registry.replicated.com/my-app/beta/wordpress --set replicated.clusterRole=mycustomclusterrole
98+
```
99+
100+
For more information about installing with Helm, see [Installing with Helm](/vendor/install-with-helm).
101+
83102
## Set Environment Variables {#env-var}
84103
85104
The Replicated SDK provides a `replicated.extraEnv` value that allows users to set additional environment variables for the deployment that are not exposed as Helm values.

docs/vendor/replicated-sdk-installing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ To add the SDK Helm chart to a release for a standard manifest-based application
8383
```
8484
Where `SDK_VERSION` is the version of the SDK to install. For a list of available SDK versions, see the [replicated-sdk repository](https://github.com/replicatedhq/replicated-sdk/tags) in GitHub.
8585

86-
The output of this command is a `.tgz` file with the naming convention `CHART_NAME-CHART_VERSION.tgz`. For example, `replicated-1.0.0-beta.13.tgz`.
86+
The output of this command is a `.tgz` file with the naming convention `CHART_NAME-CHART_VERSION.tgz`. For example, `replicated-1.0.0-beta.31.tgz`.
8787

8888
For more information and additional options, see [Helm Pull](https://helm.sh/docs/helm/helm_pull/) in the Helm documentation.
8989

@@ -111,7 +111,7 @@ To add the SDK Helm chart to a release for a standard manifest-based application
111111
name: replicated
112112
# for chartversion, enter the version of the
113113
# SDK Helm chart in the release
114-
chartVersion: 1.0.0-beta.13
114+
chartVersion: 1.0.0-beta.31
115115
```
116116
117117
As shown in the example above, the HelmChart custom resource requires the name and version of the SDK Helm chart that you added to the release:

0 commit comments

Comments
 (0)