mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
[samba] changed samba server docker image (#1402)
This commit is contained in:
parent
a7aaa5a524
commit
f7b54c65ff
@ -1,8 +1,8 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: latest
|
appVersion: 4.15.5
|
||||||
description: A simple in-cluster Samba server
|
description: A simple in-cluster Samba server
|
||||||
name: samba
|
name: samba
|
||||||
version: 5.2.0
|
version: 6.0.0
|
||||||
kubeVersion: ">=1.16.0-0"
|
kubeVersion: ">=1.16.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- samba
|
- samba
|
||||||
@ -20,4 +20,4 @@ dependencies:
|
|||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Upgraded `common` chart dependency to version `4.3.0`.
|
description: Migrated to docker image `crazy-max/samba` in order to fix https://github.com/k8s-at-home/charts/issues/1401
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# samba
|
# samba
|
||||||
|
|
||||||
![Version: 5.2.0](https://img.shields.io/badge/Version-5.2.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
|
![Version: 6.0.0](https://img.shields.io/badge/Version-6.0.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
|
||||||
|
|
||||||
A simple in-cluster Samba server
|
A simple in-cluster Samba server
|
||||||
|
|
||||||
@ -86,7 +86,7 @@ N/A
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
### Version 5.2.0
|
### Version 6.0.0
|
||||||
|
|
||||||
#### Added
|
#### Added
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ N/A
|
|||||||
|
|
||||||
#### Changed
|
#### Changed
|
||||||
|
|
||||||
* Upgraded `common` chart dependency to version `4.3.0`.
|
* Migrated to docker image `crazy-max/samba` in order to fix https://github.com/k8s-at-home/charts/issues/1401.
|
||||||
|
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
|
||||||
|
@ -3,6 +3,23 @@
|
|||||||
|
|
||||||
{{/* Append the hardcoded settings */}}
|
{{/* Append the hardcoded settings */}}
|
||||||
{{- define "samba.harcodedValues" -}}
|
{{- define "samba.harcodedValues" -}}
|
||||||
|
{{- if .Values.configmap.config.enabled }}
|
||||||
|
{{/* merge Values specific annotations with podAnnotations*/}}
|
||||||
|
podAnnotations:
|
||||||
|
configmap/checksum: "{{ .Values.configmap.config.data | toYaml | sha256sum }}"
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
|
{{- if .Values.configmap.config.enabled }}
|
||||||
|
{{/* Append the configMap volume to the volumes */}}
|
||||||
|
persistence:
|
||||||
|
config:
|
||||||
|
enabled: true
|
||||||
|
type: "configMap"
|
||||||
|
name: "{{ include "common.names.fullname" . }}-config"
|
||||||
|
mountPath: "/data/config.yml"
|
||||||
|
subPath: "config.yml"
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
|
@ -7,19 +7,24 @@
|
|||||||
|
|
||||||
image:
|
image:
|
||||||
# -- image repository
|
# -- image repository
|
||||||
repository: dperson/samba
|
repository: ghcr.io/crazy-max/samba
|
||||||
# -- image tag
|
# -- image tag
|
||||||
tag: latest
|
tag: 4.15.5
|
||||||
# -- image pull policy
|
# -- image pull policy
|
||||||
pullPolicy: Always
|
pullPolicy: Always
|
||||||
|
|
||||||
# -- environment variables. See [image docs](https://github.com/dperson/samba/blob/master/README.md) for more details.
|
# -- environment variables. See [image docs](https://github.com/crazy-max/docker-samba#environment-variables) for more details.
|
||||||
# @default -- See below
|
# @default -- See below
|
||||||
env:
|
env:
|
||||||
# -- Set the container timezone
|
# -- Set the container timezone
|
||||||
TZ: UTC
|
TZ: UTC
|
||||||
# SHARE1: share1;/share/samba/share1
|
# SAMBA_WORKGROUP: NT-Domain-Name or Workgroup-Name. (default WORKGROUP)
|
||||||
# SHARE2: share2;/share/samba/share2
|
# SAMBA_SERVER_STRING: Server string is the equivalent of the NT Description field. (default Docker Samba Server)
|
||||||
|
# SAMBA_LOG_LEVEL: Log level. (default 0)
|
||||||
|
# SAMBA_FOLLOW_SYMLINKS: Allow to follow symlinks. (default yes)
|
||||||
|
# SAMBA_WIDE_LINKS: Controls whether or not links in the UNIX file system may be followed by the server. (default yes)
|
||||||
|
# SAMBA_HOSTS_ALLOW: Set of hosts which are permitted to access a service. (default 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16)
|
||||||
|
# SAMBA_INTERFACES: Allows you to override the default network interfaces list.
|
||||||
|
|
||||||
# -- Configures service settings for the chart.
|
# -- Configures service settings for the chart.
|
||||||
# @default -- See values.yaml
|
# @default -- See values.yaml
|
||||||
@ -48,3 +53,37 @@ persistence:
|
|||||||
enabled: false
|
enabled: false
|
||||||
type: hostPath
|
type: hostPath
|
||||||
hostPath: /share/samba/share1
|
hostPath: /share/samba/share1
|
||||||
|
|
||||||
|
configmap:
|
||||||
|
config:
|
||||||
|
# -- Store samba configuration as a ConfigMap
|
||||||
|
enabled: false
|
||||||
|
# -- Samba configuration. See [image documentation](https://github.com/crazy-max/docker-samba#configuration) for more information.
|
||||||
|
# @default -- See values.yaml
|
||||||
|
data:
|
||||||
|
config.yml: |
|
||||||
|
auth:
|
||||||
|
- user: foo
|
||||||
|
group: foo
|
||||||
|
uid: 1000
|
||||||
|
gid: 1000
|
||||||
|
password: bar
|
||||||
|
- user: baz
|
||||||
|
group: xxx
|
||||||
|
uid: 1100
|
||||||
|
gid: 1200
|
||||||
|
password: foobar
|
||||||
|
|
||||||
|
global:
|
||||||
|
- "force user = foo"
|
||||||
|
- "force group = foo"
|
||||||
|
|
||||||
|
share:
|
||||||
|
- name: foo
|
||||||
|
path: /share/samba/share1
|
||||||
|
browsable: yes
|
||||||
|
readonly: no
|
||||||
|
guestok: no
|
||||||
|
validusers: foo
|
||||||
|
writelist: foo
|
||||||
|
veto: no
|
||||||
|
Loading…
Reference in New Issue
Block a user