Skip to content

Commit 5f950c4

Browse files
committed
Update completion.yaml with newely introduced command
1 parent 29833fd commit 5f950c4

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

completion.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,28 @@ commands:
2525
- no-color
2626
- o
2727
- output
28+
- raw
2829
- r
2930
- registry
3031
- skip
3132
- u
3233
- unique
34+
- name: all
35+
flags:
36+
- configmap-image-regex
37+
- default-namespace
38+
- image-regex
39+
- k
40+
- kind
41+
- l
42+
- log-level
43+
- no-color
44+
- o
45+
- output
46+
- r
47+
- registry
48+
- skip
49+
- skip-release
50+
- u
51+
- unique
3352
- name: version
Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
# Sample empty manifest
1+
##;dkljed;lwej fljwe
2+
{{/*apiVersion: v1*/}}
3+
{{/*kind: ConfigMap*/}}
4+
{{/*metadata:*/}}
5+
{{/* name: sample-config-map*/}}
6+
{{/* namespace: default*/}}
7+
{{/*data:*/}}
8+
{{/* prometheusImage: "ghcr.io/prometheus/prom:v2.0.0"*/}}
9+
{{/* image: "ghcr.io/example/sample:v2.2.0"*/}}
10+
{{/* enemies: "aliens"*/}}
11+
{{/* lives: "3"*/}}

pkg/k8s/k8s.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func (name *Name) Get(dataMap string, log *logrus.Logger) (string, error) {
108108
}
109109

110110
func (kin *Kind) Get(dataMap string, log *logrus.Logger) (string, error) {
111-
if err := yaml.Unmarshal([]byte(dataMap), &kin); err != nil {
111+
if err := yaml.Unmarshal([]byte(dataMap), kin); err != nil {
112112
return "", err
113113
}
114114

0 commit comments

Comments
 (0)