|
16 | 16 | $priority = 0; |
17 | 17 |
|
18 | 18 | $section->add( |
19 | | - N_('Nodes'), |
20 | | - [ |
21 | | - 'description' => $this->translate('Nodes'), |
22 | | - 'url' => 'kubernetes/nodes', |
23 | | - 'priority' => $priority++ |
24 | | - ] |
25 | | -); |
26 | | - |
27 | | -$section->add( |
28 | | - N_('Namespaces'), |
| 19 | + N_('Cluster Services'), |
29 | 20 | [ |
30 | | - 'description' => $this->translate('Namespaces'), |
31 | | - 'url' => 'kubernetes/namespaces', |
| 21 | + 'description' => $this->translate('Cluster Services'), |
| 22 | + 'url' => 'kubernetes/services?label.name=kubernetes.io%2Fcluster-service&label.value=true', |
32 | 23 | 'priority' => $priority++ |
33 | 24 | ] |
34 | 25 | ); |
35 | 26 |
|
36 | 27 | $section->add( |
37 | | - N_('Deployments'), |
| 28 | + N_('Config Maps'), |
38 | 29 | [ |
39 | | - 'description' => $this->translate('Deployments'), |
40 | | - 'url' => 'kubernetes/deployments', |
| 30 | + 'description' => $this->translate('Config Maps'), |
| 31 | + 'url' => 'kubernetes/configmaps', |
41 | 32 | 'priority' => $priority++ |
42 | 33 | ] |
43 | 34 | ); |
44 | 35 |
|
45 | 36 | $section->add( |
46 | | - N_('Replica Sets'), |
| 37 | + N_('Cron Jobs'), |
47 | 38 | [ |
48 | | - 'description' => $this->translate('Replica Sets'), |
49 | | - 'url' => 'kubernetes/replicasets', |
| 39 | + 'description' => $this->translate('Cron Jobs'), |
| 40 | + 'url' => 'kubernetes/cronjobs', |
50 | 41 | 'priority' => $priority++ |
51 | 42 | ] |
52 | 43 | ); |
|
61 | 52 | ); |
62 | 53 |
|
63 | 54 | $section->add( |
64 | | - N_('Stateful Sets'), |
| 55 | + N_('Deployments'), |
65 | 56 | [ |
66 | | - 'description' => $this->translate('Stateful Sets'), |
67 | | - 'url' => 'kubernetes/statefulsets', |
| 57 | + 'description' => $this->translate('Deployments'), |
| 58 | + 'url' => 'kubernetes/deployments', |
68 | 59 | 'priority' => $priority++ |
69 | 60 | ] |
70 | 61 | ); |
71 | 62 |
|
72 | 63 | $section->add( |
73 | | - N_('Pods'), |
| 64 | + N_('Events'), |
74 | 65 | [ |
75 | | - 'description' => $this->translate('Pods'), |
76 | | - 'url' => 'kubernetes/pods', |
| 66 | + 'description' => $this->translate('Events'), |
| 67 | + 'url' => 'kubernetes/events', |
77 | 68 | 'priority' => $priority++ |
78 | 69 | ] |
79 | 70 | ); |
80 | 71 |
|
81 | 72 | $section->add( |
82 | | - N_('Persistent Volumes'), |
| 73 | + N_('Ingresses'), |
83 | 74 | [ |
84 | | - 'description' => $this->translate('Persistent Volumes'), |
85 | | - 'url' => 'kubernetes/persistentvolumes', |
| 75 | + 'description' => $this->translate('Ingresses'), |
| 76 | + 'url' => 'kubernetes/ingresses', |
86 | 77 | 'priority' => $priority++ |
87 | 78 | ] |
88 | 79 | ); |
89 | 80 |
|
90 | 81 | $section->add( |
91 | | - N_('Persistent Volume Claims'), |
| 82 | + N_('Jobs'), |
92 | 83 | [ |
93 | | - 'description' => $this->translate('Persistent Volume Claims'), |
94 | | - 'url' => 'kubernetes/persistentvolumeclaims', |
| 84 | + 'description' => $this->translate('Jobs'), |
| 85 | + 'url' => 'kubernetes/jobs', |
95 | 86 | 'priority' => $priority++ |
96 | 87 | ] |
97 | 88 | ); |
98 | 89 |
|
99 | 90 | $section->add( |
100 | | - N_('Cron Jobs'), |
| 91 | + N_('Namespaces'), |
101 | 92 | [ |
102 | | - 'description' => $this->translate('Cron Jobs'), |
103 | | - 'url' => 'kubernetes/cronjobs', |
| 93 | + 'description' => $this->translate('Namespaces'), |
| 94 | + 'url' => 'kubernetes/namespaces', |
104 | 95 | 'priority' => $priority++ |
105 | 96 | ] |
106 | 97 | ); |
107 | 98 |
|
108 | 99 | $section->add( |
109 | | - N_('Jobs'), |
| 100 | + N_('Nodes'), |
110 | 101 | [ |
111 | | - 'description' => $this->translate('Jobs'), |
112 | | - 'url' => 'kubernetes/jobs', |
| 102 | + 'description' => $this->translate('Nodes'), |
| 103 | + 'url' => 'kubernetes/nodes', |
113 | 104 | 'priority' => $priority++ |
114 | 105 | ] |
115 | 106 | ); |
116 | 107 |
|
117 | 108 | $section->add( |
118 | | - N_('Services'), |
| 109 | + N_('Persistent Volume Claims'), |
119 | 110 | [ |
120 | | - 'description' => $this->translate('Services'), |
121 | | - 'url' => 'kubernetes/services', |
| 111 | + 'description' => $this->translate('Persistent Volume Claims'), |
| 112 | + 'url' => 'kubernetes/persistentvolumeclaims', |
122 | 113 | 'priority' => $priority++ |
123 | 114 | ] |
124 | 115 | ); |
125 | 116 |
|
126 | 117 | $section->add( |
127 | | - N_('Cluster Services'), |
| 118 | + N_('Persistent Volumes'), |
128 | 119 | [ |
129 | | - 'description' => $this->translate('Cluster Services'), |
130 | | - 'url' => 'kubernetes/services?label.name=kubernetes.io%2Fcluster-service&label.value=true', |
| 120 | + 'description' => $this->translate('Persistent Volumes'), |
| 121 | + 'url' => 'kubernetes/persistentvolumes', |
131 | 122 | 'priority' => $priority++ |
132 | 123 | ] |
133 | 124 | ); |
134 | 125 |
|
135 | 126 | $section->add( |
136 | | - N_('Ingresses'), |
| 127 | + N_('Pods'), |
137 | 128 | [ |
138 | | - 'description' => $this->translate('Ingresses'), |
139 | | - 'url' => 'kubernetes/ingresses', |
| 129 | + 'description' => $this->translate('Pods'), |
| 130 | + 'url' => 'kubernetes/pods', |
140 | 131 | 'priority' => $priority++ |
141 | 132 | ] |
142 | 133 | ); |
143 | 134 |
|
144 | 135 | $section->add( |
145 | | - N_('Config Maps'), |
| 136 | + N_('Replica Sets'), |
146 | 137 | [ |
147 | | - 'description' => $this->translate('Config Maps'), |
148 | | - 'url' => 'kubernetes/configmaps', |
| 138 | + 'description' => $this->translate('Replica Sets'), |
| 139 | + 'url' => 'kubernetes/replicasets', |
149 | 140 | 'priority' => $priority++ |
150 | 141 | ] |
151 | 142 | ); |
|
160 | 151 | ); |
161 | 152 |
|
162 | 153 | $section->add( |
163 | | - N_('Events'), |
| 154 | + N_('Services'), |
164 | 155 | [ |
165 | | - 'description' => $this->translate('Events'), |
166 | | - 'url' => 'kubernetes/events', |
| 156 | + 'description' => $this->translate('Services'), |
| 157 | + 'url' => 'kubernetes/services', |
| 158 | + 'priority' => $priority++ |
| 159 | + ] |
| 160 | +); |
| 161 | + |
| 162 | +$section->add( |
| 163 | + N_('Stateful Sets'), |
| 164 | + [ |
| 165 | + 'description' => $this->translate('Stateful Sets'), |
| 166 | + 'url' => 'kubernetes/statefulsets', |
167 | 167 | 'priority' => $priority++ |
168 | 168 | ] |
169 | 169 | ); |
|
0 commit comments