|
6 | 6 |
|
7 | 7 | from knack.help_files import helps # pylint: disable=unused-import |
8 | 8 |
|
9 | | -helps['k8s-configuration'] = """ |
| 9 | +helps[ |
| 10 | + "k8s-configuration" |
| 11 | +] = """ |
10 | 12 | type: group |
11 | 13 | short-summary: Commands to manage resources from Microsoft.KubernetesConfiguration. |
12 | 14 | """ |
13 | 15 |
|
14 | | -helps['k8s-configuration create'] = """ |
| 16 | +helps[ |
| 17 | + "k8s-configuration create" |
| 18 | +] = """ |
15 | 19 | type: command |
16 | 20 | short-summary: Create a Flux v1 Kubernetes configuration (This command is for Flux v1, to use the newer Flux v2, run "az k8s-configuration flux create"). |
17 | 21 | examples: |
|
26 | 30 | --ssh-known-hosts '' --ssh-known-hosts-file '' |
27 | 31 | """ |
28 | 32 |
|
29 | | -helps['k8s-configuration list'] = """ |
| 33 | +helps[ |
| 34 | + "k8s-configuration list" |
| 35 | +] = """ |
30 | 36 | type: command |
31 | 37 | short-summary: List Flux v1 Kubernetes configurations (This command is for Flux v1, to use the newer Flux v2, run "az k8s-configuration flux list"). |
32 | 38 | examples: |
|
36 | 42 | --cluster-type connectedClusters |
37 | 43 | """ |
38 | 44 |
|
39 | | -helps['k8s-configuration delete'] = """ |
| 45 | +helps[ |
| 46 | + "k8s-configuration delete" |
| 47 | +] = """ |
40 | 48 | type: command |
41 | 49 | short-summary: Delete a Flux v1 Kubernetes configuration (This command is for Flux v1, to use the newer Flux v2, run "az k8s-configuration flux delete"). |
42 | 50 | examples: |
|
46 | 54 | --cluster-type connectedClusters --name MyConfigurationName |
47 | 55 | """ |
48 | 56 |
|
49 | | -helps['k8s-configuration show'] = """ |
| 57 | +helps[ |
| 58 | + "k8s-configuration show" |
| 59 | +] = """ |
50 | 60 | type: command |
51 | 61 | short-summary: Show details of a Flux v1 Kubernetes configuration (This command is for Flux v1, to use the newer Flux v2, run "az k8s-configuration flux show"). |
52 | 62 | examples: |
|
56 | 66 | --cluster-type connectedClusters --name MyConfigurationName |
57 | 67 | """ |
58 | 68 |
|
59 | | -helps['k8s-configuration flux'] = """ |
| 69 | +helps[ |
| 70 | + "k8s-configuration flux" |
| 71 | +] = """ |
60 | 72 | type: group |
61 | 73 | short-summary: Commands to manage Flux v2 Kubernetes configurations. |
62 | 74 | """ |
63 | 75 |
|
64 | | -helps['k8s-configuration flux create'] = """ |
| 76 | +helps[ |
| 77 | + "k8s-configuration flux create" |
| 78 | +] = """ |
65 | 79 | type: command |
66 | | - short-summary: Create a Kubernetes Flux v2 Configuration. |
| 80 | + short-summary: Create a Flux v2 Kubernetes configuration. |
67 | 81 | examples: |
68 | | - - name: Create a Kubernetes v2 Flux Configuration |
| 82 | + - name: Create a Flux v2 Kubernetes configuration |
69 | 83 | text: |- |
70 | 84 | az k8s-configuration flux create --resource-group my-resource-group \\ |
71 | 85 | --cluster-name mycluster --cluster-type connectedClusters \\ |
|
74 | 88 | --branch main --kustomization name=my-kustomization |
75 | 89 | """ |
76 | 90 |
|
77 | | -helps['k8s-configuration flux update'] = """ |
| 91 | +helps[ |
| 92 | + "k8s-configuration flux update" |
| 93 | +] = """ |
78 | 94 | type: command |
79 | | - short-summary: Update a Kubernetes Flux v2 Configuration. |
| 95 | + short-summary: Update a Flux v2 Kubernetes configuration. |
80 | 96 | examples: |
81 | | - - name: Update a Kubernetes v2 Flux Configuration |
| 97 | + - name: Update a Flux v2 Kubernetes configuration |
82 | 98 | text: |- |
83 | 99 | az k8s-configuration flux update --resource-group my-resource-group \\ |
84 | 100 | --cluster-name mycluster --cluster-type connectedClusters --name myconfig \\ |
85 | 101 | --url https://github.com/Azure/arc-k8s-demo --branch main \\ |
86 | 102 | --kustomization name=my-kustomization path=./my/new-path |
87 | 103 | """ |
88 | 104 |
|
89 | | -helps['k8s-configuration flux list'] = """ |
| 105 | +helps[ |
| 106 | + "k8s-configuration flux list" |
| 107 | +] = """ |
90 | 108 | type: command |
91 | | - short-summary: List Kubernetes Flux v2 Configurations. |
| 109 | + short-summary: List all Flux v2 Kubernetes configurations. |
92 | 110 | examples: |
93 | | - - name: List all Kubernetes Flux v2 Configurations on a cluster |
| 111 | + - name: List Flux v2 Kubernetes configurations on a cluster |
94 | 112 | text: |- |
95 | 113 | az k8s-configuration flux list --resource-group my-resource-group \\ |
96 | 114 | --cluster-name mycluster --cluster-type connectedClusters |
97 | 115 | """ |
98 | 116 |
|
99 | | -helps['k8s-configuration flux show'] = """ |
| 117 | +helps[ |
| 118 | + "k8s-configuration flux show" |
| 119 | +] = """ |
100 | 120 | type: command |
101 | | - short-summary: Show a Kubernetes Flux v2 Configuration. |
| 121 | + short-summary: Show a Flux v2 Kubernetes configuration. |
102 | 122 | examples: |
103 | | - - name: Show details of a Kubernetes Flux v2 Configuration |
| 123 | + - name: Show details of a Flux v2 Kubernetes configuration |
104 | 124 | text: |- |
105 | 125 | az k8s-configuration flux show --resource-group my-resource-group \\ |
106 | 126 | --cluster-name mycluster --cluster-type connectedClusters --name myconfig |
107 | 127 | """ |
108 | 128 |
|
109 | | -helps['k8s-configuration flux delete'] = """ |
| 129 | +helps[ |
| 130 | + "k8s-configuration flux delete" |
| 131 | +] = """ |
110 | 132 | type: command |
111 | | - short-summary: Delete a Kubernetes Flux v2 Configuration. |
| 133 | + short-summary: Delete a Flux v2 Kubernetes configuration. |
112 | 134 | examples: |
113 | | - - name: Delete an existing Kubernetes Flux v2 Configuration |
| 135 | + - name: Delete an existing Flux v2 Kubernetes configuration |
114 | 136 | text: |- |
115 | 137 | az k8s-configuration flux delete --resource-group my-resource-group \\ |
116 | 138 | --cluster-name mycluster --cluster-type connectedClusters --name myconfig |
117 | 139 | """ |
118 | 140 |
|
119 | | -helps['k8s-configuration flux kustomization'] = """ |
| 141 | +helps[ |
| 142 | + "k8s-configuration flux kustomization" |
| 143 | +] = """ |
120 | 144 | type: group |
121 | 145 | short-summary: Commands to manage Kustomizations associated with Flux v2 Kubernetes configurations. |
122 | 146 | """ |
123 | 147 |
|
124 | | -helps['k8s-configuration flux kustomization create'] = """ |
| 148 | +helps[ |
| 149 | + "k8s-configuration flux kustomization create" |
| 150 | +] = """ |
125 | 151 | type: command |
126 | | - short-summary: Create a Kustomization associated with a Kubernetes Flux v2 Configuration. |
| 152 | + short-summary: Create a Kustomization associated with a Flux v2 Kubernetes configuration. |
127 | 153 | examples: |
128 | | - - name: Create a Kustomization associated wiht a Kubernetes v2 Flux Configuration |
| 154 | + - name: Create a Kustomization associated with a Flux v2 Kubernetes configuration |
129 | 155 | text: |- |
130 | 156 | az k8s-configuration flux kustomization create --resource-group my-resource-group \\ |
131 | 157 | --cluster-name mycluster --cluster-type connectedClusters --name myconfig \\ |
132 | 158 | --kustomization-name my-kustomization-2 --path ./my/path --prune --force |
133 | 159 | """ |
134 | 160 |
|
135 | | -helps['k8s-configuration flux kustomization update'] = """ |
| 161 | +helps[ |
| 162 | + "k8s-configuration flux kustomization update" |
| 163 | +] = """ |
136 | 164 | type: command |
137 | | - short-summary: Update a Kustomization associated with a Kubernetes Flux v2 Configuration. |
| 165 | + short-summary: Update a Kustomization associated with a Flux v2 Kubernetes configuration. |
138 | 166 | examples: |
139 | | - - name: Update a Kustomization associated with a Kubernetes v2 Flux Configuration |
| 167 | + - name: Update a Kustomization associated with a Flux v2 Kubernetes configuration |
140 | 168 | text: |- |
141 | 169 | az k8s-configuration flux kustomization update --resource-group my-resource-group \\ |
142 | 170 | --cluster-name mycluster --cluster-type connectedClusters --name myconfig \\ |
143 | 171 | --kustomization-name my-kustomization --path ./my/new-path --prune --force |
144 | 172 | """ |
145 | 173 |
|
146 | | -helps['k8s-configuration flux kustomization list'] = """ |
| 174 | +helps[ |
| 175 | + "k8s-configuration flux kustomization list" |
| 176 | +] = """ |
147 | 177 | type: command |
148 | | - short-summary: List Kustomizations associated with a Kubernetes Flux v2 Configuration. |
| 178 | + short-summary: List Kustomizations associated with a Flux v2 Kubernetes configuration. |
149 | 179 | examples: |
150 | | - - name: List all Kustomizations associated with a Kubernetes Flux v2 Configuration on a cluster |
| 180 | + - name: List all Kustomizations associated with a Flux v2 Kubernetes configuration |
151 | 181 | text: |- |
152 | 182 | az k8s-configuration flux kustomization list --resource-group my-resource-group \\ |
153 | 183 | --cluster-name mycluster --name myconfig --cluster-type connectedClusters |
154 | 184 | """ |
155 | 185 |
|
156 | | -helps['k8s-configuration flux kustomization show'] = """ |
| 186 | +helps[ |
| 187 | + "k8s-configuration flux kustomization show" |
| 188 | +] = """ |
157 | 189 | type: command |
158 | | - short-summary: Show a Kustomization associated with a Flux v2 Configuration. |
| 190 | + short-summary: Show a Kustomization associated with a Flux v2 Kubernetes configuration. |
159 | 191 | examples: |
160 | | - - name: Show details of a Kustomization associated with a Kubernetes Flux v2 Configuration |
| 192 | + - name: Show details of a Kustomization associated with a Flux v2 Kubernetes configuration |
161 | 193 | text: |- |
162 | 194 | az k8s-configuration flux kustomization show --resource-group my-resource-group \\ |
163 | 195 | --cluster-name mycluster --cluster-type connectedClusters --name myconfig \\ |
164 | 196 | --kustomization-name my-kustomization |
165 | 197 | """ |
166 | 198 |
|
167 | | -helps['k8s-configuration flux kustomization delete'] = """ |
| 199 | +helps[ |
| 200 | + "k8s-configuration flux kustomization delete" |
| 201 | +] = """ |
168 | 202 | type: command |
169 | | - short-summary: Delete a Kustomization associated with a Kubernetes Flux v2 Configuration. |
| 203 | + short-summary: Delete a Kustomization associated with a Flux v2 Kubernetes configuration. |
170 | 204 | examples: |
171 | | - - name: Delete an existing Kustomization associated with a Kubernetes Flux v2 Configuration |
| 205 | + - name: Delete an existing Kustomization associated with a Flux v2 Kubernetes configuration |
172 | 206 | text: |- |
173 | 207 | az k8s-configuration flux kustomization delete --resource-group my-resource-group \\ |
174 | 208 | --cluster-name mycluster --cluster-type connectedClusters --name myconfig \\ |
175 | 209 | --kustomization-name my-kustomization |
176 | 210 | """ |
177 | 211 |
|
178 | | -helps['k8s-configuration flux deployed-object'] = """ |
| 212 | +helps[ |
| 213 | + "k8s-configuration flux deployed-object" |
| 214 | +] = """ |
179 | 215 | type: group |
180 | 216 | short-summary: Commands to see deployed objects associated with Flux v2 Kubernetes configurations. |
181 | 217 | """ |
182 | 218 |
|
183 | | -helps['k8s-configuration flux deployed-object list'] = """ |
| 219 | +helps[ |
| 220 | + "k8s-configuration flux deployed-object list" |
| 221 | +] = """ |
184 | 222 | type: command |
185 | | - short-summary: List deployed objects associated with a Kubernetes Flux v2 Configuration. |
| 223 | + short-summary: List deployed objects associated with a Flux v2 Kubernetes configuration. |
186 | 224 | examples: |
187 | | - - name: List all deployed objects associated with a Kubernetes Flux v2 Configuration on a cluster |
| 225 | + - name: List all deployed objects associated with a Flux v2 Kubernetes configuration |
188 | 226 | text: |- |
189 | 227 | az k8s-configuration flux deployed-object list --resource-group my-resource-group \\ |
190 | 228 | --cluster-name mycluster --name myconfig --cluster-type connectedClusters |
191 | 229 | """ |
192 | 230 |
|
193 | | -helps['k8s-configuration flux deployed-object show'] = """ |
| 231 | +helps[ |
| 232 | + "k8s-configuration flux deployed-object show" |
| 233 | +] = """ |
194 | 234 | type: command |
195 | | - short-summary: Show a deployed object associated with a Flux v2 Configuration. |
| 235 | + short-summary: Show a deployed object associated with a Flux v2 Kubernetes configuration. |
196 | 236 | examples: |
197 | | - - name: Show details of a deployed object associated with a Kubernetes Flux v2 Configuration |
| 237 | + - name: Show details of a deployed object associated with a Flux v2 Kubernetes configuration |
198 | 238 | text: |- |
199 | 239 | az k8s-configuration flux deployed-object show --resource-group my-resource-group \\ |
200 | 240 | --cluster-name mycluster --cluster-type connectedClusters --name myconfig \\ |
|
0 commit comments