@codiac.io/codiac-cli 1.3.197 → 1.3.201

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.197",
2
+ "version": "1.3.201",
3
3
  "commands": {
4
4
  "branch": {
5
5
  "id": "branch",
@@ -6712,6 +6712,7 @@
6712
6712
  "AzureBlobStorage",
6713
6713
  "AzureDisk",
6714
6714
  "AzureFileStorage",
6715
+ "AzureNetAppFiles",
6715
6716
  "HostMachineFolder"
6716
6717
  ]
6717
6718
  },
@@ -8036,6 +8037,496 @@
8036
8037
  }
8037
8038
  }
8038
8039
  },
8040
+ "pvc:create": {
8041
+ "id": "pvc:create",
8042
+ "description": "Defines a new PersistentVolumeClaim-backed filestore for the given enterprise. The filestore is realized as a PVC in the target cabinet at deploy time, using either a Kubernetes StorageClass for dynamic provisioning or a pre-existing PersistentVolume for static binding.",
8043
+ "strict": true,
8044
+ "pluginName": "@codiac.io/codiac-cli",
8045
+ "pluginAlias": "@codiac.io/codiac-cli",
8046
+ "pluginType": "core",
8047
+ "aliases": [
8048
+ "pvc:create"
8049
+ ],
8050
+ "hiddenAliases": [],
8051
+ "examples": [
8052
+ {
8053
+ "description": "Azure File share, dynamic provisioning, default size.",
8054
+ "command": "<%= config.bin %> <%= command.id %> -e myEnt --name shared-files --type AzureFileStorage"
8055
+ },
8056
+ {
8057
+ "description": "Azure Disk per-asset (block storage), 50Gi.",
8058
+ "command": "<%= config.bin %> <%= command.id %> -e myEnt --name app-disk --type AzureDisk --size 50Gi"
8059
+ },
8060
+ {
8061
+ "description": "Azure Blob (fuse), 100Gi, statically bound to a pre-existing PV.",
8062
+ "command": "<%= config.bin %> <%= command.id %> -e myEnt --name pvc-blob --type AzureBlobStorage --size 100Gi --volume-name pv-blob-ingestion"
8063
+ },
8064
+ {
8065
+ "description": "Azure NetApp Files, statically bound, 700Gi.",
8066
+ "command": "<%= config.bin %> <%= command.id %> -e myEnt --name pvc-nfs41-document-vault --type AzureNetAppFiles --size 700Gi --volume-name pv-nfs41-document-vault"
8067
+ },
8068
+ {
8069
+ "description": "Override the default storage class (e.g., the in-tree azurefile class) on a non-prefixed PVC name.",
8070
+ "command": "<%= config.bin %> <%= command.id %> -e myEnt --name app-documents-share --type AzureFileStorage --size 700Gi --storage-class azurefile --access-modes ReadWriteMany"
8071
+ },
8072
+ {
8073
+ "description": "Non-interactive (scripted) invocation.",
8074
+ "command": "<%= config.bin %> <%= command.id %> -e myEnt --name shared-files --type AzureFileStorage --silent"
8075
+ },
8076
+ {
8077
+ "description": "Renders the equivalent silent command and then executes.",
8078
+ "command": "<%= config.bin %> <%= command.id %> -e myEnt --name shared-files --type AzureFileStorage --echo"
8079
+ }
8080
+ ],
8081
+ "flags": {
8082
+ "help": {
8083
+ "name": "help",
8084
+ "type": "boolean",
8085
+ "char": "h",
8086
+ "description": "Show CLI help.",
8087
+ "allowNo": false
8088
+ },
8089
+ "enterprise": {
8090
+ "name": "enterprise",
8091
+ "type": "option",
8092
+ "char": "e",
8093
+ "description": "Code name identifying the enterprise that will own this filestore reference.",
8094
+ "required": false,
8095
+ "multiple": false
8096
+ },
8097
+ "name": {
8098
+ "name": "name",
8099
+ "type": "option",
8100
+ "char": "n",
8101
+ "description": "Name by which this filestore is identified within the enterprise. Used to derive the PVC name.",
8102
+ "required": false,
8103
+ "multiple": false
8104
+ },
8105
+ "provider": {
8106
+ "name": "provider",
8107
+ "type": "option",
8108
+ "description": "Cloud provider hosting the underlying storage (defaults to azure; only Azure is supported at this time).",
8109
+ "required": false,
8110
+ "multiple": false,
8111
+ "options": [
8112
+ "artifactHub",
8113
+ "aws",
8114
+ "azure",
8115
+ "dockerHub",
8116
+ "localMachine",
8117
+ "other"
8118
+ ]
8119
+ },
8120
+ "type": {
8121
+ "name": "type",
8122
+ "type": "option",
8123
+ "char": "t",
8124
+ "description": "Storage technology backing the PVC (defaults to AzureFileStorage).",
8125
+ "required": false,
8126
+ "multiple": false,
8127
+ "options": [
8128
+ "AzureFileStorage",
8129
+ "AzureDisk",
8130
+ "AzureBlobStorage",
8131
+ "AzureNetAppFiles"
8132
+ ]
8133
+ },
8134
+ "share-name": {
8135
+ "name": "share-name",
8136
+ "type": "option",
8137
+ "description": "Underlying physical share name (used by the legacy AzureFileStorage path; ignored for native PVC types). Defaults to the value of --name.",
8138
+ "required": false,
8139
+ "multiple": false
8140
+ },
8141
+ "storage-class": {
8142
+ "name": "storage-class",
8143
+ "type": "option",
8144
+ "description": "Kubernetes StorageClass to bind to (e.g. 'azurefile', 'azureblob-fuse-premium', 'azure-netapp-files', 'managed-csi'). Defaults to a sensible per-type class when omitted.",
8145
+ "required": false,
8146
+ "multiple": false
8147
+ },
8148
+ "access-modes": {
8149
+ "name": "access-modes",
8150
+ "type": "option",
8151
+ "description": "Comma-separated PVC access modes (e.g. 'ReadWriteMany' or 'ReadWriteOnce,ReadOnlyMany'). Defaults to RWO for block storage, RWM for file/object/NAS storage. Allowed values: ReadWriteOnce, ReadOnlyMany, ReadWriteMany, ReadWriteOncePod.",
8152
+ "required": false,
8153
+ "multiple": false
8154
+ },
8155
+ "size": {
8156
+ "name": "size",
8157
+ "type": "option",
8158
+ "description": "Storage capacity request as a Kubernetes quantity (e.g. '5Gi', '100Gi', '700Gi'). Defaults to 500Mi.",
8159
+ "required": false,
8160
+ "multiple": false
8161
+ },
8162
+ "volume-name": {
8163
+ "name": "volume-name",
8164
+ "type": "option",
8165
+ "description": "Name of a pre-existing PersistentVolume to bind to. When set, the PVC binds statically to that PV instead of triggering dynamic provisioning.",
8166
+ "required": false,
8167
+ "multiple": false
8168
+ },
8169
+ "silent": {
8170
+ "name": "silent",
8171
+ "type": "boolean",
8172
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
8173
+ "required": false,
8174
+ "allowNo": false,
8175
+ "dependsOn": [
8176
+ "enterprise",
8177
+ "name"
8178
+ ],
8179
+ "exclusive": [
8180
+ "echo",
8181
+ "to-script"
8182
+ ]
8183
+ },
8184
+ "echo": {
8185
+ "name": "echo",
8186
+ "type": "boolean",
8187
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
8188
+ "allowNo": false,
8189
+ "exclusive": [
8190
+ "to-script",
8191
+ "silent"
8192
+ ]
8193
+ },
8194
+ "to-script": {
8195
+ "name": "to-script",
8196
+ "type": "boolean",
8197
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
8198
+ "allowNo": false,
8199
+ "exclusive": [
8200
+ "echo",
8201
+ "silent"
8202
+ ]
8203
+ },
8204
+ "take-defaults": {
8205
+ "name": "take-defaults",
8206
+ "type": "boolean",
8207
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode).",
8208
+ "allowNo": false,
8209
+ "exclusive": [
8210
+ "silent"
8211
+ ]
8212
+ }
8213
+ },
8214
+ "args": {},
8215
+ "dependsOn": [
8216
+ "enterprise",
8217
+ "name"
8218
+ ]
8219
+ },
8220
+ "pvc:delete": {
8221
+ "id": "pvc:delete",
8222
+ "description": "Deletes a PersistentVolumeClaim-backed filestore definition. Removes the FileStoreDef record in Codiac; physical PVCs in cabinets are reaped on the next deploy.",
8223
+ "strict": true,
8224
+ "pluginName": "@codiac.io/codiac-cli",
8225
+ "pluginAlias": "@codiac.io/codiac-cli",
8226
+ "pluginType": "core",
8227
+ "aliases": [
8228
+ "pvc:delete"
8229
+ ],
8230
+ "hiddenAliases": [],
8231
+ "examples": [
8232
+ {
8233
+ "description": "Delete by name (interactive enterprise resolution).",
8234
+ "command": "<%= config.bin %> <%= command.id %> --name shared-files"
8235
+ },
8236
+ {
8237
+ "description": "Delete by name in a specific enterprise.",
8238
+ "command": "<%= config.bin %> <%= command.id %> -e myEnt --name shared-files --silent"
8239
+ },
8240
+ {
8241
+ "description": "Delete by id (when name is ambiguous).",
8242
+ "command": "<%= config.bin %> <%= command.id %> --id <fileStoreDefId> --silent"
8243
+ }
8244
+ ],
8245
+ "flags": {
8246
+ "help": {
8247
+ "name": "help",
8248
+ "type": "boolean",
8249
+ "char": "h",
8250
+ "description": "Show CLI help.",
8251
+ "allowNo": false
8252
+ },
8253
+ "enterprise": {
8254
+ "name": "enterprise",
8255
+ "type": "option",
8256
+ "char": "e",
8257
+ "description": "Code name identifying the enterprise that owns this filestore (optional if there is only one).",
8258
+ "multiple": false
8259
+ },
8260
+ "name": {
8261
+ "name": "name",
8262
+ "type": "option",
8263
+ "char": "n",
8264
+ "description": "Name of the PVC filestore to delete.",
8265
+ "required": false,
8266
+ "multiple": false,
8267
+ "exclusive": [
8268
+ "id"
8269
+ ]
8270
+ },
8271
+ "id": {
8272
+ "name": "id",
8273
+ "type": "option",
8274
+ "description": "System id of the FileStoreDef record. Use this when --name is ambiguous.",
8275
+ "required": false,
8276
+ "multiple": false,
8277
+ "exclusive": [
8278
+ "name"
8279
+ ]
8280
+ },
8281
+ "silent": {
8282
+ "name": "silent",
8283
+ "type": "boolean",
8284
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
8285
+ "allowNo": false,
8286
+ "exclusive": [
8287
+ "echo",
8288
+ "to-script"
8289
+ ]
8290
+ },
8291
+ "echo": {
8292
+ "name": "echo",
8293
+ "type": "boolean",
8294
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
8295
+ "allowNo": false,
8296
+ "exclusive": [
8297
+ "to-script",
8298
+ "silent"
8299
+ ]
8300
+ },
8301
+ "to-script": {
8302
+ "name": "to-script",
8303
+ "type": "boolean",
8304
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
8305
+ "allowNo": false,
8306
+ "exclusive": [
8307
+ "echo",
8308
+ "silent"
8309
+ ]
8310
+ },
8311
+ "take-defaults": {
8312
+ "name": "take-defaults",
8313
+ "type": "boolean",
8314
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode).",
8315
+ "allowNo": false,
8316
+ "exclusive": [
8317
+ "silent"
8318
+ ]
8319
+ }
8320
+ },
8321
+ "args": {}
8322
+ },
8323
+ "pvc:get": {
8324
+ "id": "pvc:get",
8325
+ "description": "Renders the FileStoreDef record for a single PVC-backed filestore. Useful for inspecting how a PVC will be provisioned (storage class, access modes, size, static vs dynamic binding).",
8326
+ "strict": true,
8327
+ "pluginName": "@codiac.io/codiac-cli",
8328
+ "pluginAlias": "@codiac.io/codiac-cli",
8329
+ "pluginType": "core",
8330
+ "aliases": [
8331
+ "pvc:get"
8332
+ ],
8333
+ "hiddenAliases": [],
8334
+ "examples": [
8335
+ "<%= config.bin %> <%= command.id %> --name shared-files",
8336
+ "<%= config.bin %> <%= command.id %> --name pvc-blob -o yaml",
8337
+ "<%= config.bin %> <%= command.id %> --name app-documents-share --silent -o json"
8338
+ ],
8339
+ "flags": {
8340
+ "help": {
8341
+ "name": "help",
8342
+ "type": "boolean",
8343
+ "char": "h",
8344
+ "description": "Show CLI help.",
8345
+ "allowNo": false
8346
+ },
8347
+ "enterprise": {
8348
+ "name": "enterprise",
8349
+ "type": "option",
8350
+ "char": "e",
8351
+ "description": "Code name identifying the enterprise (optional if there is only one).",
8352
+ "required": false,
8353
+ "multiple": false
8354
+ },
8355
+ "name": {
8356
+ "name": "name",
8357
+ "type": "option",
8358
+ "char": "n",
8359
+ "description": "Name of the PVC filestore to look up.",
8360
+ "required": false,
8361
+ "multiple": false
8362
+ },
8363
+ "output": {
8364
+ "name": "output",
8365
+ "type": "option",
8366
+ "char": "o",
8367
+ "description": "Format in which to render the data.",
8368
+ "multiple": false,
8369
+ "options": [
8370
+ "json",
8371
+ "yaml",
8372
+ "auto"
8373
+ ],
8374
+ "default": "auto"
8375
+ },
8376
+ "silent": {
8377
+ "name": "silent",
8378
+ "type": "boolean",
8379
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
8380
+ "allowNo": false,
8381
+ "dependsOn": [
8382
+ "enterprise",
8383
+ "name"
8384
+ ],
8385
+ "exclusive": [
8386
+ "echo",
8387
+ "to-script"
8388
+ ]
8389
+ },
8390
+ "echo": {
8391
+ "name": "echo",
8392
+ "type": "boolean",
8393
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
8394
+ "allowNo": false,
8395
+ "exclusive": [
8396
+ "to-script",
8397
+ "silent"
8398
+ ]
8399
+ },
8400
+ "to-script": {
8401
+ "name": "to-script",
8402
+ "type": "boolean",
8403
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
8404
+ "allowNo": false,
8405
+ "exclusive": [
8406
+ "echo",
8407
+ "silent"
8408
+ ]
8409
+ },
8410
+ "take-defaults": {
8411
+ "name": "take-defaults",
8412
+ "type": "boolean",
8413
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode).",
8414
+ "allowNo": false,
8415
+ "exclusive": [
8416
+ "silent"
8417
+ ]
8418
+ }
8419
+ },
8420
+ "args": {},
8421
+ "dependsOn": [
8422
+ "enterprise",
8423
+ "name"
8424
+ ]
8425
+ },
8426
+ "pvc:list": {
8427
+ "id": "pvc:list",
8428
+ "description": "Lists the PersistentVolumeClaim-backed filestore definitions for a given enterprise.",
8429
+ "strict": true,
8430
+ "pluginName": "@codiac.io/codiac-cli",
8431
+ "pluginAlias": "@codiac.io/codiac-cli",
8432
+ "pluginType": "core",
8433
+ "aliases": [
8434
+ "pvc:list"
8435
+ ],
8436
+ "hiddenAliases": [],
8437
+ "examples": [
8438
+ "<%= config.bin %> <%= command.id %>",
8439
+ "<%= config.bin %> <%= command.id %> --type AzureBlobStorage",
8440
+ "<%= config.bin %> <%= command.id %> -o yaml"
8441
+ ],
8442
+ "flags": {
8443
+ "help": {
8444
+ "name": "help",
8445
+ "type": "boolean",
8446
+ "char": "h",
8447
+ "description": "Show CLI help.",
8448
+ "allowNo": false
8449
+ },
8450
+ "enterprise": {
8451
+ "name": "enterprise",
8452
+ "type": "option",
8453
+ "char": "e",
8454
+ "description": "Code name identifying the enterprise (optional if there is only one).",
8455
+ "multiple": false
8456
+ },
8457
+ "type": {
8458
+ "name": "type",
8459
+ "type": "option",
8460
+ "char": "t",
8461
+ "description": "Filter on the storage technology backing the PVC.",
8462
+ "required": false,
8463
+ "multiple": false,
8464
+ "options": [
8465
+ "AwsEbs",
8466
+ "AwsEfs",
8467
+ "AwsS3Bucket",
8468
+ "AzureBlobStorage",
8469
+ "AzureDisk",
8470
+ "AzureFileStorage",
8471
+ "AzureNetAppFiles",
8472
+ "HostMachineFolder"
8473
+ ]
8474
+ },
8475
+ "output": {
8476
+ "name": "output",
8477
+ "type": "option",
8478
+ "char": "o",
8479
+ "description": "Format in which to render the data.",
8480
+ "multiple": false,
8481
+ "options": [
8482
+ "json",
8483
+ "yaml",
8484
+ "auto"
8485
+ ],
8486
+ "default": "auto"
8487
+ },
8488
+ "silent": {
8489
+ "name": "silent",
8490
+ "type": "boolean",
8491
+ "description": "Non-Interactive mode; executes without any user interaction and fails on any missing or invalid arguments.",
8492
+ "allowNo": false,
8493
+ "exclusive": [
8494
+ "echo",
8495
+ "to-script"
8496
+ ]
8497
+ },
8498
+ "echo": {
8499
+ "name": "echo",
8500
+ "type": "boolean",
8501
+ "description": "Echo interaction mode; renders the equivalent non-interactive cli command for future use before final execution.",
8502
+ "allowNo": false,
8503
+ "exclusive": [
8504
+ "to-script",
8505
+ "silent"
8506
+ ]
8507
+ },
8508
+ "to-script": {
8509
+ "name": "to-script",
8510
+ "type": "boolean",
8511
+ "description": "Toscript interaction mode; renders the equivalent non-interactive cli command WITHOUT any execution.",
8512
+ "allowNo": false,
8513
+ "exclusive": [
8514
+ "echo",
8515
+ "silent"
8516
+ ]
8517
+ },
8518
+ "take-defaults": {
8519
+ "name": "take-defaults",
8520
+ "type": "boolean",
8521
+ "description": "Setting this to true prevents prompting for confirmation on parameters that were passed in or were automatically set to default values (Irrelevant in --silent mode).",
8522
+ "allowNo": false,
8523
+ "exclusive": [
8524
+ "silent"
8525
+ ]
8526
+ }
8527
+ },
8528
+ "args": {}
8529
+ },
8039
8530
  "secretStore:capture": {
8040
8531
  "id": "secretStore:capture",
8041
8532
  "description": "Upserts a reference to an existing secretStore.",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codiac.io/codiac-cli",
3
3
  "description": "Local command line interface for managing enterprise assets and environments.",
4
- "version": "1.3.197",
4
+ "version": "1.3.201",
5
5
  "author": "Codiac",
6
6
  "bin": {
7
7
  "codiac": "./bin/run",
@@ -32,7 +32,7 @@
32
32
  "@codiac.io/api-client-base": "^1.1.19",
33
33
  "@codiac.io/cli-tools": "^1.1.13",
34
34
  "@codiac.io/codiac-common": "^1.5.6",
35
- "@codiac.io/codiac-domain": "^1.12.6",
35
+ "@codiac.io/codiac-domain": "^1.12.7",
36
36
  "@codiac.io/codiac-messaging": "^1.4.25",
37
37
  "@codiac.io/codiac-ops-common": "^1.5.5",
38
38
  "@codiac.io/codiac-relay-contracts": "^1.3.2",