abiosoft / abiosoft/colima

k3s configmap reset to default value after restart cluster

Abierto
#634 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
30.8k
Forks
613
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### Description

How to persist modifications in k3s?

### Version

Colima Version: 0.5.2
Lima Version: 0.14.2
Qemu Version: 7.2.0

### Operating System

- [ ] macOS Intel <= 12 (Monterrey)
- [ ] macOS Intel >= 13 (Ventura)
- [ ] macOS M1 <= 12 (Monterrey)
- [X] macOS M1 >= 13 (Ventura)
- [ ] Linux

### Output of `colima status`

INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] address: 192.168.106.2
INFO[0000] socket: unix:///Users/archcst/.colima/default/docker.sock
INFO[0000] kubernetes: enabled

### Reproduction Steps

1. kubectl edit configmap local-path-config -n kube-system
2. change `"paths":["/var/lib/rancher/k3s/storage"]` to `"paths":["/some/path/in/mac"]`
3. create a pvc, local-path-provisioner succeed create dynamic pv in `/some/path/in/mac`
4. colima stop
5. colima start
6. kubectl edit configmap local-path-config -n kube-system
7. the `"paths":["/var/lib/rancher/k3s/storage"]` restored

### Expected behaviour

Expecting configMap local-path-config remains `"paths":["/some/path/in/mac"]`.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.