Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
janekbaraniewski committed Jun 27, 2022
1 parent 6bd73cc commit 350d8c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/kubeserial/templates/managers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
default: _default
serial:
additionalPorts:
- /dev/devices/ender3
- /dev/device
autoconnect: true
baudrate: 0
port: /dev/device
Expand Down
4 changes: 2 additions & 2 deletions charts/kubeserial/templates/serialdevices.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
labels:
{{- include "kubeserial.labels" $ | nindent 4 }}
spec:
IDProduct: {{ .IDProduct | quote }}
IDVendor: {{ .IDVendor | quote }}
idProduct: {{ .idProduct | quote }}
idVendor: {{ .idVendor | quote }}
name: {{ .name | quote }}
manager: {{ .manager | quote }}
---
Expand Down
2 changes: 1 addition & 1 deletion pkg/gateway/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func CreateDeployment(device *appv1alpha1.SerialDevice, fs utils.FileSystem) (*a
volumes := []corev1.Volume{}

for _, volume := range deployment.Spec.Template.Spec.Volumes {
if volume.Name == "config" {
if volume.Name == "config" { // TODO: fix this, shouldn't be hardcoded string
volume.ConfigMap.Name = name
}
volumes = append(volumes, volume)
Expand Down

0 comments on commit 350d8c8

Please sign in to comment.