Skip to content

Commit

Permalink
Merge pull request #452 from nautobot/develop
Browse files Browse the repository at this point in the history
Release v2.3.2
  • Loading branch information
gertzakis authored Sep 24, 2024
2 parents a9774f8 + f89b4f4 commit 1a7cc23
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 49 deletions.
10 changes: 2 additions & 8 deletions charts/nautobot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,11 @@ annotations:
- title: Chatops
url: https://raw.githubusercontent.com/nautobot/nautobot/develop/nautobot/docs/media/ss_plugin_chatops.png
artifacthub.io/changes: |
- kind: added
description: Added additional properties in the root of values json schema
- kind: changed
description: Upgraded Nautobot from 2.3.2 to 2.3.4
- kind: changed
description: Upgraded Bitnami common subchart from 2.22.0 to 2.23.0
- kind: fixed
description: Documentation for persistent static and media files
description: Media files directory being overwritten by volumeMount
apiVersion: "v2"
appVersion: "2.3.4"
version: "2.3.1"
version: "2.3.2"
dependencies:
- condition: "redis.enabled"
name: "redis"
Expand Down
2 changes: 1 addition & 1 deletion charts/nautobot/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# nautobot

![Version: 2.3.1](https://img.shields.io/badge/Version-2.3.1-informational?style=flat-square) ![AppVersion: 2.3.4](https://img.shields.io/badge/AppVersion-2.3.4-informational?style=flat-square)
![Version: 2.3.2](https://img.shields.io/badge/Version-2.3.2-informational?style=flat-square) ![AppVersion: 2.3.4](https://img.shields.io/badge/AppVersion-2.3.4-informational?style=flat-square)

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

Expand Down
6 changes: 3 additions & 3 deletions charts/nautobot/templates/nautobot-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,10 @@ spec:
volumeMounts:
- name: "nautobot-static"
mountPath: "/opt/nautobot/static"
{{- if $nautobot.persistenceMediaFiles.enabled }}
- name: "nautobot-media"
mountPath: "/opt/nautobot/media"
{{- end }}
- name: "git-repos"
mountPath: "/opt/nautobot/git"
- name: "nautobot-config"
Expand Down Expand Up @@ -416,12 +418,10 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
- name: "nautobot-media"
{{- if $nautobot.persistenceMediaFiles.enabled }}
- name: "nautobot-media"
persistentVolumeClaim:
claimName: {{ include "common.names.fullname" $ }}-media
{{- else }}
emptyDir: {}
{{- end }}
- name: "git-repos"
emptyDir: {}
Expand Down
35 changes: 0 additions & 35 deletions charts/nautobot/templates/pvc-media.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,37 @@ spec:
{{- toYaml . | nindent 4 }}
{{- end }}
{{ end -}}
{{- if .Values.nautobot.persistenceMediaFiles.enabled -}}
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "common.names.fullname" $ }}-media
namespace: {{ .Release.Namespace | quote }}
labels: {{- include "common.labels.standard" $ | nindent 4 }}
app.kubernetes.io/component: nautobot-media-pvc
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" $.Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $.Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
spec:
{{- if .Values.nautobot.persistenceMediaFiles.storageClassName }}
{{- if (eq "-" .Values.nautobot.persistenceMediaFiles.storageClassName) }}
storageClassName: ""
{{- else }}
storageClassName: {{ .Values.nautobot.persistenceMediaFiles.storageClassName | quote }}
{{- end }}
{{- end }}
accessModes:
- {{ .Values.nautobot.persistenceMediaFiles.accessMode | quote }}
resources:
requests:
storage: {{ .Values.nautobot.persistenceMediaFiles.size | quote }}
{{- with .Values.nautobot.persistenceMediaFiles.selector }}
selector:
{{- toYaml . | nindent 4 }}
{{- end }}
{{ end -}}
{{ end -}}
6 changes: 6 additions & 0 deletions docs/release-notes/version-2.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.3.2 - 2024-09-24

### Fixed

* [#445](https://github.com/nautobot/helm-charts/issues/445) Fix Media files directory being overwritten by volumeMount.

## 2.3.1 - 2024-09-20

### Added
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mkdocs==1.6.1
mkdocs-material==9.5.35
mkdocs-material==9.5.36
mkdocs-version-annotations==1.0.0
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ invoke = "*"
# Rendering docs to HTML
mkdocs = "~1.6.0"
# Material for MkDocs theme
mkdocs-material = "9.5.35"
mkdocs-material = "9.5.36"
# Render custom markdown for version added/changed/remove notes
mkdocs-version-annotations = "1.0.0"

Expand Down

0 comments on commit 1a7cc23

Please sign in to comment.