Skip to content

Commit

Permalink
Merge pull request #42 from startechnica:freeradius
Browse files Browse the repository at this point in the history
[freeradius] Release version 1.0.0
  • Loading branch information
firmansyahn authored Jul 25, 2023
2 parents caa7f30 + 0b126b8 commit 72b3c3b
Show file tree
Hide file tree
Showing 26 changed files with 898 additions and 116 deletions.
12 changes: 6 additions & 6 deletions charts/freeradius/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
annotations:
category: AccessManagement
apiVersion: v2
appVersion: 3.2.1
appVersion: 3.2.3
dependencies:
- name: st-common
repository: https://startechnica.github.io/apps
version: "*"
- name: common
repository: https://charts.bitnami.com/bitnami
repository: oci://registry-1.docker.io/bitnamicharts
tags:
- bitnami-common
version: 1.x.x
version: 2.x.x
- name: mariadb
condition: mariadb.enabled
repository: https://charts.bitnami.com/bitnami
repository: oci://registry-1.docker.io/bitnamicharts
version: 11.x.x
description: FreeRADIUS is a modular, high performance free RADIUS suite developed and
distributed under the GNU General Public License, version 2, and is free for download and use.
Expand All @@ -25,7 +25,7 @@ keywords:
- mysql
- postgresql
- ldap
kubeVersion: ">=1.19.0-0"
kubeVersion: ">=1.22.0-0"
maintainers:
- name: firmansyahn
email: [email protected]
Expand All @@ -35,4 +35,4 @@ sources:
- https://freeradius.org/
- https://github.com/FreeRADIUS/freeradius-server
type: application
version: 0.1.9
version: 1.0.0
30 changes: 15 additions & 15 deletions charts/freeradius/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ FreeRADIUS is a modular, high performance free RADIUS suite developed and distri

## TL;DR

```bash
$ helm repo add startechnica https://startechnica.github.io/apps
$ helm install my-release startechnica/freeradius
```console
helm repo add startechnica https://startechnica.github.io/apps
helm install my-release startechnica/freeradius
```

## Prerequisites

- Kubernetes 1.19+
- Helm 3.2.0+
- Kubernetes 1.22+
- Helm 3.10.0+

## Installing the Chart

To install the chart with the release name `my-release` on `my-release` namespace:

```bash
$ helm repo add startechnica https://startechnica.github.io/apps
$ helm install my-release startechnica/freeradius --namespace my-release --create-namespace
```console
helm repo add startechnica https://startechnica.github.io/apps
helm install my-release startechnica/freeradius --namespace my-release --create-namespace
```

These commands deploy FreeRADIUS on the Kubernetes cluster in the default configuration.
Expand All @@ -37,8 +37,8 @@ These commands deploy FreeRADIUS on the Kubernetes cluster in the default config

To uninstall/delete the `my-release` deployment:

```bash
$ helm delete my-release --namespace my-release
```console
helm delete my-release --namespace my-release
```

The command removes all the Kubernetes components associated with the chart and deletes the release.
Expand Down Expand Up @@ -237,8 +237,8 @@ The command removes all the Kubernetes components associated with the chart and

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

```bash
$ helm install my-release \
```console
helm install my-release \
--set imagePullPolicy=Always \
startechnica/freeradius
```
Expand All @@ -247,8 +247,8 @@ The above command sets the `imagePullPolicy` to `Always`.

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

```bash
$ helm install my-release startechnica/freeradius -f values.yaml
```console
helm install my-release startechnica/freeradius -f values.yaml
```

> **Tip**: You can use the default [values.yaml](values.yaml)
Expand Down Expand Up @@ -283,7 +283,7 @@ Find more information about how to deal with common errors related to Startechni

## License

Copyright © 2022 Startechnica
Copyright © 2023 Startechnica

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion charts/freeradius/files/mods-available/sql
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ sql {
# certificate_file = $ENV{FREERADIUS_MODS_SQL_TLS_CERTIFICATE}
# private_key_file = $ENV{FREERADIUS_MODS_SQL_TLS_PRIVATEKEY}
# cipher = "DHE-RSA-AES256-SHA:AES128-SHA"
# cipher = $ENV{FREERADIUS_MODS_SQL_TLS_CIPHER}

tls_required = $ENV{FREERADIUS_MODS_SQL_TLS_ENABLE}
tls_check_cert = no
Expand Down Expand Up @@ -151,7 +152,7 @@ sql {
certificate_password = $ENV{FREERADIUS_MODS_SQL_TLS_PRIVATEKEY}
ca_file = $ENV{FREERADIUS_MODS_SQL_TLS_CACERT}
ca_dir = /startechnica/freeradius/certs-sql/
crl_file = /path/to/file
# crl_file = /path/to/file
weak_cert_validation = false
allow_invalid_hostname = false
}
Expand Down
9 changes: 8 additions & 1 deletion charts/freeradius/files/sites-available/coa
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# -*- text -*-
######################################################################
#
# Sample virtual server for receiving a CoA or Disconnect-Request packet.
#

# Listen on the CoA port.
#
# This uses the normal set of clients, with the same secret as for authentication and accounting.
#

listen {
type = coa
ipaddr = $ENV{FREERADIUS_SITES_COA_LISTEN}
# ipaddr = $ENV{FREERADIUS_SITES_COA_LISTEN}
ipaddr = *
port = $ENV{FREERADIUS_SITES_COA_PORT}
virtual_server = coa
}
Expand Down
Loading

0 comments on commit 72b3c3b

Please sign in to comment.