Skip to content

Commit

Permalink
Merge pull request #143 from nautobot/develop
Browse files Browse the repository at this point in the history
Release v1.3.0
  • Loading branch information
nniehoff authored Feb 17, 2022
2 parents 0ea134d + 4f7f584 commit 89b936b
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* <!--- Renovate --->

## 1.3.0 - 2022-02-17

### Added

* [141](https://github.com/nautobot/helm-charts/issues/141) - Added extraPorts for the Nautobot service, useful for sidecars

## 1.2.4 - 2022-02-17

### Fixed
Expand Down
8 changes: 4 additions & 4 deletions charts/nautobot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ annotations:
- title: Prefix hierarchy
url: https://raw.githubusercontent.com/nautobot/nautobot/develop/nautobot/docs/media/screenshot3.png
artifacthub.io/changes: |
- kind: fixed
description: Sidecars are the wrong data type in the schema
- kind: added
description: extraPorts for the Nautobot service, useful for sidecars
links:
- name: Github Issue
url: https://github.com/nautobot/helm-charts/issues/138
url: https://github.com/nautobot/helm-charts/issues/141
apiVersion: "v2"
appVersion: "1.2.5"
dependencies:
Expand Down Expand Up @@ -66,4 +66,4 @@ name: "nautobot"
sources:
- "https://github.com/nautobot/nautobot"
- "https://github.com/nautobot/helm-charts"
version: "1.2.4"
version: "1.3.0"
3 changes: 2 additions & 1 deletion charts/nautobot/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# nautobot

![Version: 1.2.4](https://img.shields.io/badge/Version-1.2.4-informational?style=flat-square) ![AppVersion: 1.2.5](https://img.shields.io/badge/AppVersion-1.2.5-informational?style=flat-square)
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) ![AppVersion: 1.2.5](https://img.shields.io/badge/AppVersion-1.2.5-informational?style=flat-square)

Nautobot is a Network Source of Truth and Network Automation Platform.

Expand Down Expand Up @@ -931,6 +931,7 @@ helm delete nautobot
| service.annotations | object | `{}` | Annotations to be applied to the service resource |
| service.clusterIP | string | `nil` | IP address to use as the clusterIP |
| service.externalTrafficPolicy | string | `"Cluster"` | Kubernetes externalTrafficPolicy valid values: `Cluster` or `Local` |
| service.extraPorts | list | `[]` | Extra ports to expose in the nautobot service (normally used with the `sidecars` value) |
| service.httpsPort | int | `443` | Port to expose for Nautobot https access |
| service.loadBalancerIP | string | `nil` | IP address to use as the loadBalancerIP |
| service.loadBalancerSourceRanges | list | `[]` | List of allowed CIDRs to access the load balancer default 0.0.0.0/0, cloud provider dependent |
Expand Down
3 changes: 3 additions & 0 deletions charts/nautobot/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@ spec:
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePorts.http))) }}
nodePort: {{ .Values.service.nodePorts.http }}
{{- end }}
{{- if .Values.service.extraPorts }}
{{- include "common.tplvalues.render" (dict "value" .Values.service.extraPorts "context" $) | nindent 4 }}
{{- end }}
selector: {{- include "common.labels.matchLabels" . | nindent 4 }}
app.kubernetes.io/component: nautobot
8 changes: 8 additions & 0 deletions charts/nautobot/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,7 @@
"required": [
"annotations",
"externalTrafficPolicy",
"extraPorts",
"httpsPort",
"loadBalancerSourceRanges",
"nodePorts",
Expand All @@ -985,6 +986,13 @@
"pattern": "^(Cluster|Local)$",
"description": "External Traffic Policy: https://kubernetes.io/docs/concepts/services-networking/service/"
},
"extraPorts": {
"type": "array",
"items": {
"type": "object"
},
"description": "Extra ports to expose in the nautobot service (normally used with the `sidecars` value)"
},
"httpsPort": {
"type": "integer",
"minimum": 1,
Expand Down
2 changes: 2 additions & 0 deletions charts/nautobot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ service:
externalTrafficPolicy: "Cluster"
# -- Annotations to be applied to the service resource
annotations: {}
# -- Extra ports to expose in the nautobot service (normally used with the `sidecars` value)
extraPorts: []

# Nautobot Server
nautobot:
Expand Down

0 comments on commit 89b936b

Please sign in to comment.