Skip to content

Commit

Permalink
Update license proxyserver (#31)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Jun 13, 2024
1 parent d1a9986 commit da544ce
Show file tree
Hide file tree
Showing 9 changed files with 429 additions and 224 deletions.
4 changes: 2 additions & 2 deletions pkg/manager/agent-manifests/license-proxyserver/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ description: Kubernetes license-proxyserver by AppsCode
name: license-proxyserver
version: v2024.6.3
appVersion: v0.0.11
home: https://github.com/bytebuilders/license-proxyserver
home: https://github.com/appscode-cloud/license-proxyserver
icon: https://cdn.appscode.com/images/products/searchlight/icons/android-icon-192x192.png
sources:
- https://github.com/bytebuilders/license-proxyserver
- https://github.com/appscode-cloud/license-proxyserver
maintainers:
- name: appscode
email: [email protected]
14 changes: 8 additions & 6 deletions pkg/manager/agent-manifests/license-proxyserver/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# AppsCode License ProxyServer

[AppsCode License ProxyServer](https://github.com/bytebuilders/license-proxyserver) - AppsCode License ProxyServer
[AppsCode License ProxyServer](https://github.com/appscode-cloud/license-proxyserver) - AppsCode License ProxyServer

## TL;DR;

```bash
$ helm repo add appscode https://charts.appscode.com/stable
$ helm repo update
$ helm search repo appscode/license-proxyserver --version=v2024.5.17
$ helm upgrade -i license-proxyserver appscode/license-proxyserver -n kubeops --create-namespace --version=v2024.5.17
$ helm search repo appscode/license-proxyserver --version=v2024.6.3
$ helm upgrade -i license-proxyserver appscode/license-proxyserver -n kubeops --create-namespace --version=v2024.6.3
```

## Introduction
Expand All @@ -24,7 +24,7 @@ This chart deploys a Kubernetes license proxyserver on a [Kubernetes](http://kub
To install/upgrade the chart with the release name `license-proxyserver`:

```bash
$ helm upgrade -i license-proxyserver appscode/license-proxyserver -n kubeops --create-namespace --version=v2024.5.17
$ helm upgrade -i license-proxyserver appscode/license-proxyserver -n kubeops --create-namespace --version=v2024.6.3
```

The command deploys a Kubernetes license proxyserver on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation.
Expand Down Expand Up @@ -81,20 +81,22 @@ The following table lists the configurable parameters of the `license-proxyserve
| monitoring.serviceMonitor.labels | Specify the labels for ServiceMonitor. Prometheus crd will select ServiceMonitor using these labels. Only usable when monitoring agent is `prometheus.io/operator`. | <code>{}</code> |
| platform.baseURL | | <code>""</code> |
| platform.token | | <code>""</code> |
| platform.tokenSecretName | | <code>""</code> |
| licenses | Offline licenses for various products. Get a license by following the steps from [here](https://license-issuer.appscode.com/). <br> Example: <br> `helm install appscode/license-proxyserver \` <br> `--set-file licenses.key1=/path/to/license/file1 \` <br> `--set-file licenses.key2=/path/to/license/file2` | <code>{}</code> |
| encodedLicenses | Offline licenses for various products. Get a license by following the steps from [here](https://license-issuer.appscode.com/). <br> Example: <br> `helm install appscode/license-proxyserver \` <br> `--set licenses.key1=base64_encoded(/path/to/license/file1) \` <br> `--set licenses.key2=base64_encoded(/path/to/license/file2)` | <code>{}</code> |
| hubKubeconfigSecretName | Name of OCM Hub Kubeconfig secret | <code>""</code> |
| clusterName | We need to pass the cluster name because the OCM-MC host cluster doesn't have Klusterlet object. | <code>""</code> |


Specify each parameter using the `--set key=value[,key=value]` argument to `helm upgrade -i`. For example:

```bash
$ helm upgrade -i license-proxyserver appscode/license-proxyserver -n kubeops --create-namespace --version=v2024.5.17 --set replicaCount=1
$ helm upgrade -i license-proxyserver appscode/license-proxyserver -n kubeops --create-namespace --version=v2024.6.3 --set replicaCount=1
```

Alternatively, a YAML file that specifies the values for the parameters can be provided while
installing the chart. For example:

```bash
$ helm upgrade -i license-proxyserver appscode/license-proxyserver -n kubeops --create-namespace --version=v2024.5.17 --values values.yaml
$ helm upgrade -i license-proxyserver appscode/license-proxyserver -n kubeops --create-namespace --version=v2024.6.3 --values values.yaml
```
Loading

0 comments on commit da544ce

Please sign in to comment.