github.com/argoproj/argo-cd@v1.8.7/assets/swagger.json (about) 1 { 2 "consumes": [ 3 "application/json" 4 ], 5 "produces": [ 6 "application/json" 7 ], 8 "swagger": "2.0", 9 "info": { 10 "description": "Description of all APIs", 11 "title": "Consolidate Services", 12 "version": "version not set" 13 }, 14 "paths": { 15 "/api/v1/account": { 16 "get": { 17 "tags": [ 18 "AccountService" 19 ], 20 "summary": "ListAccounts returns the list of accounts", 21 "operationId": "ListAccounts", 22 "responses": { 23 "200": { 24 "description": "A successful response.", 25 "schema": { 26 "$ref": "#/definitions/accountAccountsList" 27 } 28 } 29 } 30 } 31 }, 32 "/api/v1/account/can-i/{resource}/{action}/{subresource}": { 33 "get": { 34 "tags": [ 35 "AccountService" 36 ], 37 "summary": "CanI checks if the current account has permission to perform an action", 38 "operationId": "CanI", 39 "parameters": [ 40 { 41 "type": "string", 42 "name": "resource", 43 "in": "path", 44 "required": true 45 }, 46 { 47 "type": "string", 48 "name": "action", 49 "in": "path", 50 "required": true 51 }, 52 { 53 "type": "string", 54 "name": "subresource", 55 "in": "path", 56 "required": true 57 } 58 ], 59 "responses": { 60 "200": { 61 "description": "A successful response.", 62 "schema": { 63 "$ref": "#/definitions/accountCanIResponse" 64 } 65 } 66 } 67 } 68 }, 69 "/api/v1/account/password": { 70 "put": { 71 "tags": [ 72 "AccountService" 73 ], 74 "summary": "UpdatePassword updates an account's password to a new value", 75 "operationId": "UpdatePassword", 76 "parameters": [ 77 { 78 "name": "body", 79 "in": "body", 80 "required": true, 81 "schema": { 82 "$ref": "#/definitions/accountUpdatePasswordRequest" 83 } 84 } 85 ], 86 "responses": { 87 "200": { 88 "description": "A successful response.", 89 "schema": { 90 "$ref": "#/definitions/accountUpdatePasswordResponse" 91 } 92 } 93 } 94 } 95 }, 96 "/api/v1/account/{name}": { 97 "get": { 98 "tags": [ 99 "AccountService" 100 ], 101 "summary": "GetAccount returns an account", 102 "operationId": "GetAccount", 103 "parameters": [ 104 { 105 "type": "string", 106 "name": "name", 107 "in": "path", 108 "required": true 109 } 110 ], 111 "responses": { 112 "200": { 113 "description": "A successful response.", 114 "schema": { 115 "$ref": "#/definitions/accountAccount" 116 } 117 } 118 } 119 } 120 }, 121 "/api/v1/account/{name}/token": { 122 "post": { 123 "tags": [ 124 "AccountService" 125 ], 126 "summary": "CreateToken creates a token", 127 "operationId": "CreateToken", 128 "parameters": [ 129 { 130 "type": "string", 131 "name": "name", 132 "in": "path", 133 "required": true 134 }, 135 { 136 "name": "body", 137 "in": "body", 138 "required": true, 139 "schema": { 140 "$ref": "#/definitions/accountCreateTokenRequest" 141 } 142 } 143 ], 144 "responses": { 145 "200": { 146 "description": "A successful response.", 147 "schema": { 148 "$ref": "#/definitions/accountCreateTokenResponse" 149 } 150 } 151 } 152 } 153 }, 154 "/api/v1/account/{name}/token/{id}": { 155 "delete": { 156 "tags": [ 157 "AccountService" 158 ], 159 "summary": "DeleteToken deletes a token", 160 "operationId": "DeleteToken", 161 "parameters": [ 162 { 163 "type": "string", 164 "name": "name", 165 "in": "path", 166 "required": true 167 }, 168 { 169 "type": "string", 170 "name": "id", 171 "in": "path", 172 "required": true 173 } 174 ], 175 "responses": { 176 "200": { 177 "description": "A successful response.", 178 "schema": { 179 "$ref": "#/definitions/accountEmptyResponse" 180 } 181 } 182 } 183 } 184 }, 185 "/api/v1/applications": { 186 "get": { 187 "tags": [ 188 "ApplicationService" 189 ], 190 "summary": "List returns list of applications", 191 "operationId": "List", 192 "parameters": [ 193 { 194 "type": "string", 195 "description": "the application's name.", 196 "name": "name", 197 "in": "query" 198 }, 199 { 200 "type": "string", 201 "description": "forces application reconciliation if set to true.", 202 "name": "refresh", 203 "in": "query" 204 }, 205 { 206 "type": "array", 207 "items": { 208 "type": "string" 209 }, 210 "collectionFormat": "multi", 211 "description": "the project names to restrict returned list applications.", 212 "name": "project", 213 "in": "query" 214 }, 215 { 216 "type": "string", 217 "description": "when specified with a watch call, shows changes that occur after that particular version of a resource.", 218 "name": "resourceVersion", 219 "in": "query" 220 }, 221 { 222 "type": "string", 223 "description": "the selector to to restrict returned list to applications only with matched labels.", 224 "name": "selector", 225 "in": "query" 226 } 227 ], 228 "responses": { 229 "200": { 230 "description": "A successful response.", 231 "schema": { 232 "$ref": "#/definitions/v1alpha1ApplicationList" 233 } 234 } 235 } 236 }, 237 "post": { 238 "tags": [ 239 "ApplicationService" 240 ], 241 "summary": "Create creates an application", 242 "operationId": "Create", 243 "parameters": [ 244 { 245 "name": "body", 246 "in": "body", 247 "required": true, 248 "schema": { 249 "$ref": "#/definitions/v1alpha1Application" 250 } 251 } 252 ], 253 "responses": { 254 "200": { 255 "description": "A successful response.", 256 "schema": { 257 "$ref": "#/definitions/v1alpha1Application" 258 } 259 } 260 } 261 } 262 }, 263 "/api/v1/applications/{application.metadata.name}": { 264 "put": { 265 "tags": [ 266 "ApplicationService" 267 ], 268 "summary": "Update updates an application", 269 "operationId": "Update", 270 "parameters": [ 271 { 272 "type": "string", 273 "description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#names\n+optional", 274 "name": "application.metadata.name", 275 "in": "path", 276 "required": true 277 }, 278 { 279 "name": "body", 280 "in": "body", 281 "required": true, 282 "schema": { 283 "$ref": "#/definitions/v1alpha1Application" 284 } 285 } 286 ], 287 "responses": { 288 "200": { 289 "description": "A successful response.", 290 "schema": { 291 "$ref": "#/definitions/v1alpha1Application" 292 } 293 } 294 } 295 } 296 }, 297 "/api/v1/applications/{applicationName}/managed-resources": { 298 "get": { 299 "tags": [ 300 "ApplicationService" 301 ], 302 "summary": "ManagedResources returns list of managed resources", 303 "operationId": "ManagedResources", 304 "parameters": [ 305 { 306 "type": "string", 307 "name": "applicationName", 308 "in": "path", 309 "required": true 310 }, 311 { 312 "type": "string", 313 "name": "namespace", 314 "in": "query" 315 }, 316 { 317 "type": "string", 318 "name": "name", 319 "in": "query" 320 }, 321 { 322 "type": "string", 323 "name": "version", 324 "in": "query" 325 }, 326 { 327 "type": "string", 328 "name": "group", 329 "in": "query" 330 }, 331 { 332 "type": "string", 333 "name": "kind", 334 "in": "query" 335 } 336 ], 337 "responses": { 338 "200": { 339 "description": "A successful response.", 340 "schema": { 341 "$ref": "#/definitions/applicationManagedResourcesResponse" 342 } 343 } 344 } 345 } 346 }, 347 "/api/v1/applications/{applicationName}/resource-tree": { 348 "get": { 349 "tags": [ 350 "ApplicationService" 351 ], 352 "summary": "ResourceTree returns resource tree", 353 "operationId": "ResourceTree", 354 "parameters": [ 355 { 356 "type": "string", 357 "name": "applicationName", 358 "in": "path", 359 "required": true 360 }, 361 { 362 "type": "string", 363 "name": "namespace", 364 "in": "query" 365 }, 366 { 367 "type": "string", 368 "name": "name", 369 "in": "query" 370 }, 371 { 372 "type": "string", 373 "name": "version", 374 "in": "query" 375 }, 376 { 377 "type": "string", 378 "name": "group", 379 "in": "query" 380 }, 381 { 382 "type": "string", 383 "name": "kind", 384 "in": "query" 385 } 386 ], 387 "responses": { 388 "200": { 389 "description": "A successful response.", 390 "schema": { 391 "$ref": "#/definitions/v1alpha1ApplicationTree" 392 } 393 } 394 } 395 } 396 }, 397 "/api/v1/applications/{name}": { 398 "get": { 399 "tags": [ 400 "ApplicationService" 401 ], 402 "summary": "Get returns an application by name", 403 "operationId": "Get", 404 "parameters": [ 405 { 406 "type": "string", 407 "description": "the application's name", 408 "name": "name", 409 "in": "path", 410 "required": true 411 }, 412 { 413 "type": "string", 414 "description": "forces application reconciliation if set to true.", 415 "name": "refresh", 416 "in": "query" 417 }, 418 { 419 "type": "array", 420 "items": { 421 "type": "string" 422 }, 423 "collectionFormat": "multi", 424 "description": "the project names to restrict returned list applications.", 425 "name": "project", 426 "in": "query" 427 }, 428 { 429 "type": "string", 430 "description": "when specified with a watch call, shows changes that occur after that particular version of a resource.", 431 "name": "resourceVersion", 432 "in": "query" 433 }, 434 { 435 "type": "string", 436 "description": "the selector to to restrict returned list to applications only with matched labels.", 437 "name": "selector", 438 "in": "query" 439 } 440 ], 441 "responses": { 442 "200": { 443 "description": "A successful response.", 444 "schema": { 445 "$ref": "#/definitions/v1alpha1Application" 446 } 447 } 448 } 449 }, 450 "delete": { 451 "tags": [ 452 "ApplicationService" 453 ], 454 "summary": "Delete deletes an application", 455 "operationId": "Delete", 456 "parameters": [ 457 { 458 "type": "string", 459 "name": "name", 460 "in": "path", 461 "required": true 462 }, 463 { 464 "type": "boolean", 465 "format": "boolean", 466 "name": "cascade", 467 "in": "query" 468 } 469 ], 470 "responses": { 471 "200": { 472 "description": "A successful response.", 473 "schema": { 474 "$ref": "#/definitions/applicationApplicationResponse" 475 } 476 } 477 } 478 }, 479 "patch": { 480 "tags": [ 481 "ApplicationService" 482 ], 483 "summary": "Patch patch an application", 484 "operationId": "Patch", 485 "parameters": [ 486 { 487 "type": "string", 488 "name": "name", 489 "in": "path", 490 "required": true 491 }, 492 { 493 "name": "body", 494 "in": "body", 495 "required": true, 496 "schema": { 497 "$ref": "#/definitions/applicationApplicationPatchRequest" 498 } 499 } 500 ], 501 "responses": { 502 "200": { 503 "description": "A successful response.", 504 "schema": { 505 "$ref": "#/definitions/v1alpha1Application" 506 } 507 } 508 } 509 } 510 }, 511 "/api/v1/applications/{name}/events": { 512 "get": { 513 "tags": [ 514 "ApplicationService" 515 ], 516 "summary": "ListResourceEvents returns a list of event resources", 517 "operationId": "ListResourceEvents", 518 "parameters": [ 519 { 520 "type": "string", 521 "name": "name", 522 "in": "path", 523 "required": true 524 }, 525 { 526 "type": "string", 527 "name": "resourceNamespace", 528 "in": "query" 529 }, 530 { 531 "type": "string", 532 "name": "resourceName", 533 "in": "query" 534 }, 535 { 536 "type": "string", 537 "name": "resourceUID", 538 "in": "query" 539 } 540 ], 541 "responses": { 542 "200": { 543 "description": "A successful response.", 544 "schema": { 545 "$ref": "#/definitions/v1EventList" 546 } 547 } 548 } 549 } 550 }, 551 "/api/v1/applications/{name}/manifests": { 552 "get": { 553 "tags": [ 554 "ApplicationService" 555 ], 556 "summary": "GetManifests returns application manifests", 557 "operationId": "GetManifests", 558 "parameters": [ 559 { 560 "type": "string", 561 "name": "name", 562 "in": "path", 563 "required": true 564 }, 565 { 566 "type": "string", 567 "name": "revision", 568 "in": "query" 569 } 570 ], 571 "responses": { 572 "200": { 573 "description": "A successful response.", 574 "schema": { 575 "$ref": "#/definitions/repositoryManifestResponse" 576 } 577 } 578 } 579 } 580 }, 581 "/api/v1/applications/{name}/operation": { 582 "delete": { 583 "tags": [ 584 "ApplicationService" 585 ], 586 "summary": "TerminateOperation terminates the currently running operation", 587 "operationId": "TerminateOperation", 588 "parameters": [ 589 { 590 "type": "string", 591 "name": "name", 592 "in": "path", 593 "required": true 594 } 595 ], 596 "responses": { 597 "200": { 598 "description": "A successful response.", 599 "schema": { 600 "$ref": "#/definitions/applicationOperationTerminateResponse" 601 } 602 } 603 } 604 } 605 }, 606 "/api/v1/applications/{name}/pods/{podName}/logs": { 607 "get": { 608 "tags": [ 609 "ApplicationService" 610 ], 611 "summary": "PodLogs returns stream of log entries for the specified pod. Pod", 612 "operationId": "PodLogs", 613 "parameters": [ 614 { 615 "type": "string", 616 "name": "name", 617 "in": "path", 618 "required": true 619 }, 620 { 621 "type": "string", 622 "name": "podName", 623 "in": "path", 624 "required": true 625 }, 626 { 627 "type": "string", 628 "name": "namespace", 629 "in": "query" 630 }, 631 { 632 "type": "string", 633 "name": "container", 634 "in": "query" 635 }, 636 { 637 "type": "string", 638 "format": "int64", 639 "name": "sinceSeconds", 640 "in": "query" 641 }, 642 { 643 "type": "string", 644 "format": "int64", 645 "description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.", 646 "name": "sinceTime.seconds", 647 "in": "query" 648 }, 649 { 650 "type": "integer", 651 "format": "int32", 652 "description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context.", 653 "name": "sinceTime.nanos", 654 "in": "query" 655 }, 656 { 657 "type": "string", 658 "format": "int64", 659 "name": "tailLines", 660 "in": "query" 661 }, 662 { 663 "type": "boolean", 664 "format": "boolean", 665 "name": "follow", 666 "in": "query" 667 } 668 ], 669 "responses": { 670 "200": { 671 "description": "A successful response.(streaming responses)", 672 "schema": { 673 "type": "object", 674 "title": "Stream result of applicationLogEntry", 675 "properties": { 676 "error": { 677 "$ref": "#/definitions/runtimeStreamError" 678 }, 679 "result": { 680 "$ref": "#/definitions/applicationLogEntry" 681 } 682 } 683 } 684 } 685 } 686 } 687 }, 688 "/api/v1/applications/{name}/resource": { 689 "get": { 690 "tags": [ 691 "ApplicationService" 692 ], 693 "summary": "GetResource returns single application resource", 694 "operationId": "GetResource", 695 "parameters": [ 696 { 697 "type": "string", 698 "name": "name", 699 "in": "path", 700 "required": true 701 }, 702 { 703 "type": "string", 704 "name": "namespace", 705 "in": "query" 706 }, 707 { 708 "type": "string", 709 "name": "resourceName", 710 "in": "query" 711 }, 712 { 713 "type": "string", 714 "name": "version", 715 "in": "query" 716 }, 717 { 718 "type": "string", 719 "name": "group", 720 "in": "query" 721 }, 722 { 723 "type": "string", 724 "name": "kind", 725 "in": "query" 726 } 727 ], 728 "responses": { 729 "200": { 730 "description": "A successful response.", 731 "schema": { 732 "$ref": "#/definitions/applicationApplicationResourceResponse" 733 } 734 } 735 } 736 }, 737 "post": { 738 "tags": [ 739 "ApplicationService" 740 ], 741 "summary": "PatchResource patch single application resource", 742 "operationId": "PatchResource", 743 "parameters": [ 744 { 745 "type": "string", 746 "name": "name", 747 "in": "path", 748 "required": true 749 }, 750 { 751 "name": "body", 752 "in": "body", 753 "required": true, 754 "schema": { 755 "type": "string" 756 } 757 } 758 ], 759 "responses": { 760 "200": { 761 "description": "A successful response.", 762 "schema": { 763 "$ref": "#/definitions/applicationApplicationResourceResponse" 764 } 765 } 766 } 767 }, 768 "delete": { 769 "tags": [ 770 "ApplicationService" 771 ], 772 "summary": "DeleteResource deletes a single application resource", 773 "operationId": "DeleteResource", 774 "parameters": [ 775 { 776 "type": "string", 777 "name": "name", 778 "in": "path", 779 "required": true 780 }, 781 { 782 "type": "string", 783 "name": "namespace", 784 "in": "query" 785 }, 786 { 787 "type": "string", 788 "name": "resourceName", 789 "in": "query" 790 }, 791 { 792 "type": "string", 793 "name": "version", 794 "in": "query" 795 }, 796 { 797 "type": "string", 798 "name": "group", 799 "in": "query" 800 }, 801 { 802 "type": "string", 803 "name": "kind", 804 "in": "query" 805 }, 806 { 807 "type": "boolean", 808 "format": "boolean", 809 "name": "force", 810 "in": "query" 811 } 812 ], 813 "responses": { 814 "200": { 815 "description": "A successful response.", 816 "schema": { 817 "$ref": "#/definitions/applicationApplicationResponse" 818 } 819 } 820 } 821 } 822 }, 823 "/api/v1/applications/{name}/resource/actions": { 824 "get": { 825 "tags": [ 826 "ApplicationService" 827 ], 828 "summary": "ListResourceActions returns list of resource actions", 829 "operationId": "ListResourceActions", 830 "parameters": [ 831 { 832 "type": "string", 833 "name": "name", 834 "in": "path", 835 "required": true 836 }, 837 { 838 "type": "string", 839 "name": "namespace", 840 "in": "query" 841 }, 842 { 843 "type": "string", 844 "name": "resourceName", 845 "in": "query" 846 }, 847 { 848 "type": "string", 849 "name": "version", 850 "in": "query" 851 }, 852 { 853 "type": "string", 854 "name": "group", 855 "in": "query" 856 }, 857 { 858 "type": "string", 859 "name": "kind", 860 "in": "query" 861 } 862 ], 863 "responses": { 864 "200": { 865 "description": "A successful response.", 866 "schema": { 867 "$ref": "#/definitions/applicationResourceActionsListResponse" 868 } 869 } 870 } 871 }, 872 "post": { 873 "tags": [ 874 "ApplicationService" 875 ], 876 "summary": "RunResourceAction run resource action", 877 "operationId": "RunResourceAction", 878 "parameters": [ 879 { 880 "type": "string", 881 "name": "name", 882 "in": "path", 883 "required": true 884 }, 885 { 886 "name": "body", 887 "in": "body", 888 "required": true, 889 "schema": { 890 "type": "string" 891 } 892 } 893 ], 894 "responses": { 895 "200": { 896 "description": "A successful response.", 897 "schema": { 898 "$ref": "#/definitions/applicationApplicationResponse" 899 } 900 } 901 } 902 } 903 }, 904 "/api/v1/applications/{name}/revisions/{revision}/metadata": { 905 "get": { 906 "tags": [ 907 "ApplicationService" 908 ], 909 "summary": "Get the meta-data (author, date, tags, message) for a specific revision of the application", 910 "operationId": "RevisionMetadata", 911 "parameters": [ 912 { 913 "type": "string", 914 "description": "the application's name", 915 "name": "name", 916 "in": "path", 917 "required": true 918 }, 919 { 920 "type": "string", 921 "description": "the revision of the app", 922 "name": "revision", 923 "in": "path", 924 "required": true 925 } 926 ], 927 "responses": { 928 "200": { 929 "description": "A successful response.", 930 "schema": { 931 "$ref": "#/definitions/v1alpha1RevisionMetadata" 932 } 933 } 934 } 935 } 936 }, 937 "/api/v1/applications/{name}/rollback": { 938 "post": { 939 "tags": [ 940 "ApplicationService" 941 ], 942 "summary": "Rollback syncs an application to its target state", 943 "operationId": "Rollback", 944 "parameters": [ 945 { 946 "type": "string", 947 "name": "name", 948 "in": "path", 949 "required": true 950 }, 951 { 952 "name": "body", 953 "in": "body", 954 "required": true, 955 "schema": { 956 "$ref": "#/definitions/applicationApplicationRollbackRequest" 957 } 958 } 959 ], 960 "responses": { 961 "200": { 962 "description": "A successful response.", 963 "schema": { 964 "$ref": "#/definitions/v1alpha1Application" 965 } 966 } 967 } 968 } 969 }, 970 "/api/v1/applications/{name}/spec": { 971 "put": { 972 "tags": [ 973 "ApplicationService" 974 ], 975 "summary": "UpdateSpec updates an application spec", 976 "operationId": "UpdateSpec", 977 "parameters": [ 978 { 979 "type": "string", 980 "name": "name", 981 "in": "path", 982 "required": true 983 }, 984 { 985 "name": "body", 986 "in": "body", 987 "required": true, 988 "schema": { 989 "$ref": "#/definitions/v1alpha1ApplicationSpec" 990 } 991 } 992 ], 993 "responses": { 994 "200": { 995 "description": "A successful response.", 996 "schema": { 997 "$ref": "#/definitions/v1alpha1ApplicationSpec" 998 } 999 } 1000 } 1001 } 1002 }, 1003 "/api/v1/applications/{name}/sync": { 1004 "post": { 1005 "tags": [ 1006 "ApplicationService" 1007 ], 1008 "summary": "Sync syncs an application to its target state", 1009 "operationId": "Sync", 1010 "parameters": [ 1011 { 1012 "type": "string", 1013 "name": "name", 1014 "in": "path", 1015 "required": true 1016 }, 1017 { 1018 "name": "body", 1019 "in": "body", 1020 "required": true, 1021 "schema": { 1022 "$ref": "#/definitions/applicationApplicationSyncRequest" 1023 } 1024 } 1025 ], 1026 "responses": { 1027 "200": { 1028 "description": "A successful response.", 1029 "schema": { 1030 "$ref": "#/definitions/v1alpha1Application" 1031 } 1032 } 1033 } 1034 } 1035 }, 1036 "/api/v1/applications/{name}/syncwindows": { 1037 "get": { 1038 "tags": [ 1039 "ApplicationService" 1040 ], 1041 "summary": "Get returns sync windows of the application", 1042 "operationId": "GetApplicationSyncWindows", 1043 "parameters": [ 1044 { 1045 "type": "string", 1046 "name": "name", 1047 "in": "path", 1048 "required": true 1049 } 1050 ], 1051 "responses": { 1052 "200": { 1053 "description": "A successful response.", 1054 "schema": { 1055 "$ref": "#/definitions/applicationApplicationSyncWindowsResponse" 1056 } 1057 } 1058 } 1059 } 1060 }, 1061 "/api/v1/certificates": { 1062 "get": { 1063 "tags": [ 1064 "CertificateService" 1065 ], 1066 "summary": "List all available repository certificates", 1067 "operationId": "ListCertificates", 1068 "parameters": [ 1069 { 1070 "type": "string", 1071 "description": "A file-glob pattern (not regular expression) the host name has to match.", 1072 "name": "hostNamePattern", 1073 "in": "query" 1074 }, 1075 { 1076 "type": "string", 1077 "description": "The type of the certificate to match (ssh or https).", 1078 "name": "certType", 1079 "in": "query" 1080 }, 1081 { 1082 "type": "string", 1083 "description": "The sub type of the certificate to match (protocol dependent, usually only used for ssh certs).", 1084 "name": "certSubType", 1085 "in": "query" 1086 } 1087 ], 1088 "responses": { 1089 "200": { 1090 "description": "A successful response.", 1091 "schema": { 1092 "$ref": "#/definitions/v1alpha1RepositoryCertificateList" 1093 } 1094 } 1095 } 1096 }, 1097 "post": { 1098 "tags": [ 1099 "CertificateService" 1100 ], 1101 "summary": "Creates repository certificates on the server", 1102 "operationId": "CreateCertificate", 1103 "parameters": [ 1104 { 1105 "description": "List of certificates to be created", 1106 "name": "body", 1107 "in": "body", 1108 "required": true, 1109 "schema": { 1110 "$ref": "#/definitions/v1alpha1RepositoryCertificateList" 1111 } 1112 } 1113 ], 1114 "responses": { 1115 "200": { 1116 "description": "A successful response.", 1117 "schema": { 1118 "$ref": "#/definitions/v1alpha1RepositoryCertificateList" 1119 } 1120 } 1121 } 1122 }, 1123 "delete": { 1124 "tags": [ 1125 "CertificateService" 1126 ], 1127 "summary": "Delete the certificates that match the RepositoryCertificateQuery", 1128 "operationId": "DeleteCertificate", 1129 "parameters": [ 1130 { 1131 "type": "string", 1132 "description": "A file-glob pattern (not regular expression) the host name has to match.", 1133 "name": "hostNamePattern", 1134 "in": "query" 1135 }, 1136 { 1137 "type": "string", 1138 "description": "The type of the certificate to match (ssh or https).", 1139 "name": "certType", 1140 "in": "query" 1141 }, 1142 { 1143 "type": "string", 1144 "description": "The sub type of the certificate to match (protocol dependent, usually only used for ssh certs).", 1145 "name": "certSubType", 1146 "in": "query" 1147 } 1148 ], 1149 "responses": { 1150 "200": { 1151 "description": "A successful response.", 1152 "schema": { 1153 "$ref": "#/definitions/v1alpha1RepositoryCertificateList" 1154 } 1155 } 1156 } 1157 } 1158 }, 1159 "/api/v1/clusters": { 1160 "get": { 1161 "tags": [ 1162 "ClusterService" 1163 ], 1164 "summary": "List returns list of clusters", 1165 "operationId": "ListMixin3", 1166 "parameters": [ 1167 { 1168 "type": "string", 1169 "name": "server", 1170 "in": "query" 1171 }, 1172 { 1173 "type": "string", 1174 "name": "name", 1175 "in": "query" 1176 } 1177 ], 1178 "responses": { 1179 "200": { 1180 "description": "A successful response.", 1181 "schema": { 1182 "$ref": "#/definitions/v1alpha1ClusterList" 1183 } 1184 } 1185 } 1186 }, 1187 "post": { 1188 "tags": [ 1189 "ClusterService" 1190 ], 1191 "summary": "Create creates a cluster", 1192 "operationId": "CreateMixin3", 1193 "parameters": [ 1194 { 1195 "name": "body", 1196 "in": "body", 1197 "required": true, 1198 "schema": { 1199 "$ref": "#/definitions/v1alpha1Cluster" 1200 } 1201 } 1202 ], 1203 "responses": { 1204 "200": { 1205 "description": "A successful response.", 1206 "schema": { 1207 "$ref": "#/definitions/v1alpha1Cluster" 1208 } 1209 } 1210 } 1211 } 1212 }, 1213 "/api/v1/clusters/{cluster.server}": { 1214 "put": { 1215 "tags": [ 1216 "ClusterService" 1217 ], 1218 "summary": "Update updates a cluster", 1219 "operationId": "UpdateMixin3", 1220 "parameters": [ 1221 { 1222 "type": "string", 1223 "description": "Server is the API server URL of the Kubernetes cluster", 1224 "name": "cluster.server", 1225 "in": "path", 1226 "required": true 1227 }, 1228 { 1229 "name": "body", 1230 "in": "body", 1231 "required": true, 1232 "schema": { 1233 "$ref": "#/definitions/v1alpha1Cluster" 1234 } 1235 } 1236 ], 1237 "responses": { 1238 "200": { 1239 "description": "A successful response.", 1240 "schema": { 1241 "$ref": "#/definitions/v1alpha1Cluster" 1242 } 1243 } 1244 } 1245 } 1246 }, 1247 "/api/v1/clusters/{server}": { 1248 "get": { 1249 "tags": [ 1250 "ClusterService" 1251 ], 1252 "summary": "Get returns a cluster by server address", 1253 "operationId": "GetMixin3", 1254 "parameters": [ 1255 { 1256 "type": "string", 1257 "name": "server", 1258 "in": "path", 1259 "required": true 1260 }, 1261 { 1262 "type": "string", 1263 "name": "name", 1264 "in": "query" 1265 } 1266 ], 1267 "responses": { 1268 "200": { 1269 "description": "A successful response.", 1270 "schema": { 1271 "$ref": "#/definitions/v1alpha1Cluster" 1272 } 1273 } 1274 } 1275 }, 1276 "delete": { 1277 "tags": [ 1278 "ClusterService" 1279 ], 1280 "summary": "Delete deletes a cluster", 1281 "operationId": "DeleteMixin3", 1282 "parameters": [ 1283 { 1284 "type": "string", 1285 "name": "server", 1286 "in": "path", 1287 "required": true 1288 }, 1289 { 1290 "type": "string", 1291 "name": "name", 1292 "in": "query" 1293 } 1294 ], 1295 "responses": { 1296 "200": { 1297 "description": "A successful response.", 1298 "schema": { 1299 "$ref": "#/definitions/clusterClusterResponse" 1300 } 1301 } 1302 } 1303 } 1304 }, 1305 "/api/v1/clusters/{server}/invalidate-cache": { 1306 "post": { 1307 "tags": [ 1308 "ClusterService" 1309 ], 1310 "summary": "InvalidateCache invalidates cluster cache", 1311 "operationId": "InvalidateCache", 1312 "parameters": [ 1313 { 1314 "type": "string", 1315 "name": "server", 1316 "in": "path", 1317 "required": true 1318 } 1319 ], 1320 "responses": { 1321 "200": { 1322 "description": "A successful response.", 1323 "schema": { 1324 "$ref": "#/definitions/v1alpha1Cluster" 1325 } 1326 } 1327 } 1328 } 1329 }, 1330 "/api/v1/clusters/{server}/rotate-auth": { 1331 "post": { 1332 "tags": [ 1333 "ClusterService" 1334 ], 1335 "summary": "RotateAuth rotates the bearer token used for a cluster", 1336 "operationId": "RotateAuth", 1337 "parameters": [ 1338 { 1339 "type": "string", 1340 "name": "server", 1341 "in": "path", 1342 "required": true 1343 } 1344 ], 1345 "responses": { 1346 "200": { 1347 "description": "A successful response.", 1348 "schema": { 1349 "$ref": "#/definitions/clusterClusterResponse" 1350 } 1351 } 1352 } 1353 } 1354 }, 1355 "/api/v1/gpgkeys": { 1356 "get": { 1357 "tags": [ 1358 "GPGKeyService" 1359 ], 1360 "summary": "List all available repository certificates", 1361 "operationId": "ListMixin4", 1362 "parameters": [ 1363 { 1364 "type": "string", 1365 "description": "The GPG key ID to query for.", 1366 "name": "keyID", 1367 "in": "query" 1368 } 1369 ], 1370 "responses": { 1371 "200": { 1372 "description": "A successful response.", 1373 "schema": { 1374 "$ref": "#/definitions/v1alpha1GnuPGPublicKeyList" 1375 } 1376 } 1377 } 1378 }, 1379 "post": { 1380 "tags": [ 1381 "GPGKeyService" 1382 ], 1383 "summary": "Create one or more GPG public keys in the server's configuration", 1384 "operationId": "CreateMixin4", 1385 "parameters": [ 1386 { 1387 "description": "Raw key data of the GPG key(s) to create", 1388 "name": "body", 1389 "in": "body", 1390 "required": true, 1391 "schema": { 1392 "$ref": "#/definitions/v1alpha1GnuPGPublicKey" 1393 } 1394 } 1395 ], 1396 "responses": { 1397 "200": { 1398 "description": "A successful response.", 1399 "schema": { 1400 "$ref": "#/definitions/gpgkeyGnuPGPublicKeyCreateResponse" 1401 } 1402 } 1403 } 1404 }, 1405 "delete": { 1406 "tags": [ 1407 "GPGKeyService" 1408 ], 1409 "summary": "Delete specified GPG public key from the server's configuration", 1410 "operationId": "DeleteMixin4", 1411 "parameters": [ 1412 { 1413 "type": "string", 1414 "description": "The GPG key ID to query for.", 1415 "name": "keyID", 1416 "in": "query" 1417 } 1418 ], 1419 "responses": { 1420 "200": { 1421 "description": "A successful response.", 1422 "schema": { 1423 "$ref": "#/definitions/gpgkeyGnuPGPublicKeyResponse" 1424 } 1425 } 1426 } 1427 } 1428 }, 1429 "/api/v1/gpgkeys/{keyID}": { 1430 "get": { 1431 "tags": [ 1432 "GPGKeyService" 1433 ], 1434 "summary": "Get information about specified GPG public key from the server", 1435 "operationId": "GetMixin4", 1436 "parameters": [ 1437 { 1438 "type": "string", 1439 "description": "The GPG key ID to query for", 1440 "name": "keyID", 1441 "in": "path", 1442 "required": true 1443 } 1444 ], 1445 "responses": { 1446 "200": { 1447 "description": "A successful response.", 1448 "schema": { 1449 "$ref": "#/definitions/v1alpha1GnuPGPublicKey" 1450 } 1451 } 1452 } 1453 } 1454 }, 1455 "/api/v1/projects": { 1456 "get": { 1457 "tags": [ 1458 "ProjectService" 1459 ], 1460 "summary": "List returns list of projects", 1461 "operationId": "ListMixin5", 1462 "parameters": [ 1463 { 1464 "type": "string", 1465 "name": "name", 1466 "in": "query" 1467 } 1468 ], 1469 "responses": { 1470 "200": { 1471 "description": "A successful response.", 1472 "schema": { 1473 "$ref": "#/definitions/v1alpha1AppProjectList" 1474 } 1475 } 1476 } 1477 }, 1478 "post": { 1479 "tags": [ 1480 "ProjectService" 1481 ], 1482 "summary": "Create a new project", 1483 "operationId": "CreateMixin5", 1484 "parameters": [ 1485 { 1486 "name": "body", 1487 "in": "body", 1488 "required": true, 1489 "schema": { 1490 "$ref": "#/definitions/projectProjectCreateRequest" 1491 } 1492 } 1493 ], 1494 "responses": { 1495 "200": { 1496 "description": "A successful response.", 1497 "schema": { 1498 "$ref": "#/definitions/v1alpha1AppProject" 1499 } 1500 } 1501 } 1502 } 1503 }, 1504 "/api/v1/projects/{name}": { 1505 "get": { 1506 "tags": [ 1507 "ProjectService" 1508 ], 1509 "summary": "Get returns a project by name", 1510 "operationId": "GetMixin5", 1511 "parameters": [ 1512 { 1513 "type": "string", 1514 "name": "name", 1515 "in": "path", 1516 "required": true 1517 } 1518 ], 1519 "responses": { 1520 "200": { 1521 "description": "A successful response.", 1522 "schema": { 1523 "$ref": "#/definitions/v1alpha1AppProject" 1524 } 1525 } 1526 } 1527 }, 1528 "delete": { 1529 "tags": [ 1530 "ProjectService" 1531 ], 1532 "summary": "Delete deletes a project", 1533 "operationId": "DeleteMixin5", 1534 "parameters": [ 1535 { 1536 "type": "string", 1537 "name": "name", 1538 "in": "path", 1539 "required": true 1540 } 1541 ], 1542 "responses": { 1543 "200": { 1544 "description": "A successful response.", 1545 "schema": { 1546 "$ref": "#/definitions/projectEmptyResponse" 1547 } 1548 } 1549 } 1550 } 1551 }, 1552 "/api/v1/projects/{name}/events": { 1553 "get": { 1554 "tags": [ 1555 "ProjectService" 1556 ], 1557 "summary": "ListEvents returns a list of project events", 1558 "operationId": "ListEvents", 1559 "parameters": [ 1560 { 1561 "type": "string", 1562 "name": "name", 1563 "in": "path", 1564 "required": true 1565 } 1566 ], 1567 "responses": { 1568 "200": { 1569 "description": "A successful response.", 1570 "schema": { 1571 "$ref": "#/definitions/v1EventList" 1572 } 1573 } 1574 } 1575 } 1576 }, 1577 "/api/v1/projects/{name}/globalprojects": { 1578 "get": { 1579 "tags": [ 1580 "ProjectService" 1581 ], 1582 "summary": "Get returns a virtual project by name", 1583 "operationId": "GetGlobalProjects", 1584 "parameters": [ 1585 { 1586 "type": "string", 1587 "name": "name", 1588 "in": "path", 1589 "required": true 1590 } 1591 ], 1592 "responses": { 1593 "200": { 1594 "description": "A successful response.", 1595 "schema": { 1596 "$ref": "#/definitions/projectGlobalProjectsResponse" 1597 } 1598 } 1599 } 1600 } 1601 }, 1602 "/api/v1/projects/{name}/syncwindows": { 1603 "get": { 1604 "tags": [ 1605 "ProjectService" 1606 ], 1607 "summary": "GetSchedulesState returns true if there are any active sync syncWindows", 1608 "operationId": "GetSyncWindowsState", 1609 "parameters": [ 1610 { 1611 "type": "string", 1612 "name": "name", 1613 "in": "path", 1614 "required": true 1615 } 1616 ], 1617 "responses": { 1618 "200": { 1619 "description": "A successful response.", 1620 "schema": { 1621 "$ref": "#/definitions/projectSyncWindowsResponse" 1622 } 1623 } 1624 } 1625 } 1626 }, 1627 "/api/v1/projects/{project.metadata.name}": { 1628 "put": { 1629 "tags": [ 1630 "ProjectService" 1631 ], 1632 "summary": "Update updates a project", 1633 "operationId": "UpdateMixin5", 1634 "parameters": [ 1635 { 1636 "type": "string", 1637 "description": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#names\n+optional", 1638 "name": "project.metadata.name", 1639 "in": "path", 1640 "required": true 1641 }, 1642 { 1643 "name": "body", 1644 "in": "body", 1645 "required": true, 1646 "schema": { 1647 "$ref": "#/definitions/projectProjectUpdateRequest" 1648 } 1649 } 1650 ], 1651 "responses": { 1652 "200": { 1653 "description": "A successful response.", 1654 "schema": { 1655 "$ref": "#/definitions/v1alpha1AppProject" 1656 } 1657 } 1658 } 1659 } 1660 }, 1661 "/api/v1/projects/{project}/roles/{role}/token": { 1662 "post": { 1663 "tags": [ 1664 "ProjectService" 1665 ], 1666 "summary": "Create a new project token", 1667 "operationId": "CreateTokenMixin5", 1668 "parameters": [ 1669 { 1670 "type": "string", 1671 "name": "project", 1672 "in": "path", 1673 "required": true 1674 }, 1675 { 1676 "type": "string", 1677 "name": "role", 1678 "in": "path", 1679 "required": true 1680 }, 1681 { 1682 "name": "body", 1683 "in": "body", 1684 "required": true, 1685 "schema": { 1686 "$ref": "#/definitions/projectProjectTokenCreateRequest" 1687 } 1688 } 1689 ], 1690 "responses": { 1691 "200": { 1692 "description": "A successful response.", 1693 "schema": { 1694 "$ref": "#/definitions/projectProjectTokenResponse" 1695 } 1696 } 1697 } 1698 } 1699 }, 1700 "/api/v1/projects/{project}/roles/{role}/token/{iat}": { 1701 "delete": { 1702 "tags": [ 1703 "ProjectService" 1704 ], 1705 "summary": "Delete a new project token", 1706 "operationId": "DeleteTokenMixin5", 1707 "parameters": [ 1708 { 1709 "type": "string", 1710 "name": "project", 1711 "in": "path", 1712 "required": true 1713 }, 1714 { 1715 "type": "string", 1716 "name": "role", 1717 "in": "path", 1718 "required": true 1719 }, 1720 { 1721 "type": "string", 1722 "format": "int64", 1723 "name": "iat", 1724 "in": "path", 1725 "required": true 1726 }, 1727 { 1728 "type": "string", 1729 "name": "id", 1730 "in": "query" 1731 } 1732 ], 1733 "responses": { 1734 "200": { 1735 "description": "A successful response.", 1736 "schema": { 1737 "$ref": "#/definitions/projectEmptyResponse" 1738 } 1739 } 1740 } 1741 } 1742 }, 1743 "/api/v1/repocreds": { 1744 "get": { 1745 "tags": [ 1746 "RepoCredsService" 1747 ], 1748 "summary": "ListRepositoryCredentials gets a list of all configured repository credential sets", 1749 "operationId": "ListRepositoryCredentials", 1750 "parameters": [ 1751 { 1752 "type": "string", 1753 "description": "Repo URL for query.", 1754 "name": "url", 1755 "in": "query" 1756 } 1757 ], 1758 "responses": { 1759 "200": { 1760 "description": "A successful response.", 1761 "schema": { 1762 "$ref": "#/definitions/v1alpha1RepoCredsList" 1763 } 1764 } 1765 } 1766 }, 1767 "post": { 1768 "tags": [ 1769 "RepoCredsService" 1770 ], 1771 "summary": "CreateRepositoryCredentials creates a new repository credential set", 1772 "operationId": "CreateRepositoryCredentials", 1773 "parameters": [ 1774 { 1775 "description": "Repository definition", 1776 "name": "body", 1777 "in": "body", 1778 "required": true, 1779 "schema": { 1780 "$ref": "#/definitions/v1alpha1RepoCreds" 1781 } 1782 } 1783 ], 1784 "responses": { 1785 "200": { 1786 "description": "A successful response.", 1787 "schema": { 1788 "$ref": "#/definitions/v1alpha1RepoCreds" 1789 } 1790 } 1791 } 1792 } 1793 }, 1794 "/api/v1/repocreds/{creds.url}": { 1795 "put": { 1796 "tags": [ 1797 "RepoCredsService" 1798 ], 1799 "summary": "UpdateRepositoryCredentials updates a repository credential set", 1800 "operationId": "UpdateRepositoryCredentials", 1801 "parameters": [ 1802 { 1803 "type": "string", 1804 "description": "URL is the URL that this credentials matches to", 1805 "name": "creds.url", 1806 "in": "path", 1807 "required": true 1808 }, 1809 { 1810 "name": "body", 1811 "in": "body", 1812 "required": true, 1813 "schema": { 1814 "$ref": "#/definitions/v1alpha1RepoCreds" 1815 } 1816 } 1817 ], 1818 "responses": { 1819 "200": { 1820 "description": "A successful response.", 1821 "schema": { 1822 "$ref": "#/definitions/v1alpha1RepoCreds" 1823 } 1824 } 1825 } 1826 } 1827 }, 1828 "/api/v1/repocreds/{url}": { 1829 "delete": { 1830 "tags": [ 1831 "RepoCredsService" 1832 ], 1833 "summary": "DeleteRepositoryCredentials deletes a repository credential set from the configuration", 1834 "operationId": "DeleteRepositoryCredentials", 1835 "parameters": [ 1836 { 1837 "type": "string", 1838 "name": "url", 1839 "in": "path", 1840 "required": true 1841 } 1842 ], 1843 "responses": { 1844 "200": { 1845 "description": "A successful response.", 1846 "schema": { 1847 "$ref": "#/definitions/repocredsRepoCredsResponse" 1848 } 1849 } 1850 } 1851 } 1852 }, 1853 "/api/v1/repositories": { 1854 "get": { 1855 "tags": [ 1856 "RepositoryService" 1857 ], 1858 "summary": "ListRepositories gets a list of all configured repositories", 1859 "operationId": "ListRepositories", 1860 "parameters": [ 1861 { 1862 "type": "string", 1863 "description": "Repo URL for query.", 1864 "name": "repo", 1865 "in": "query" 1866 }, 1867 { 1868 "type": "boolean", 1869 "format": "boolean", 1870 "description": "Whether to force a cache refresh on repo's connection state.", 1871 "name": "forceRefresh", 1872 "in": "query" 1873 } 1874 ], 1875 "responses": { 1876 "200": { 1877 "description": "A successful response.", 1878 "schema": { 1879 "$ref": "#/definitions/v1alpha1RepositoryList" 1880 } 1881 } 1882 } 1883 }, 1884 "post": { 1885 "tags": [ 1886 "RepositoryService" 1887 ], 1888 "summary": "CreateRepository creates a new repository configuration", 1889 "operationId": "CreateRepository", 1890 "parameters": [ 1891 { 1892 "description": "Repository definition", 1893 "name": "body", 1894 "in": "body", 1895 "required": true, 1896 "schema": { 1897 "$ref": "#/definitions/v1alpha1Repository" 1898 } 1899 } 1900 ], 1901 "responses": { 1902 "200": { 1903 "description": "A successful response.", 1904 "schema": { 1905 "$ref": "#/definitions/v1alpha1Repository" 1906 } 1907 } 1908 } 1909 } 1910 }, 1911 "/api/v1/repositories/{repo.repo}": { 1912 "put": { 1913 "tags": [ 1914 "RepositoryService" 1915 ], 1916 "summary": "UpdateRepository updates a repository configuration", 1917 "operationId": "UpdateRepository", 1918 "parameters": [ 1919 { 1920 "type": "string", 1921 "description": "URL of the repo", 1922 "name": "repo.repo", 1923 "in": "path", 1924 "required": true 1925 }, 1926 { 1927 "name": "body", 1928 "in": "body", 1929 "required": true, 1930 "schema": { 1931 "$ref": "#/definitions/v1alpha1Repository" 1932 } 1933 } 1934 ], 1935 "responses": { 1936 "200": { 1937 "description": "A successful response.", 1938 "schema": { 1939 "$ref": "#/definitions/v1alpha1Repository" 1940 } 1941 } 1942 } 1943 } 1944 }, 1945 "/api/v1/repositories/{repo}": { 1946 "get": { 1947 "tags": [ 1948 "RepositoryService" 1949 ], 1950 "summary": "Get returns a repository or its credentials", 1951 "operationId": "GetMixin7", 1952 "parameters": [ 1953 { 1954 "type": "string", 1955 "description": "Repo URL for query", 1956 "name": "repo", 1957 "in": "path", 1958 "required": true 1959 }, 1960 { 1961 "type": "boolean", 1962 "format": "boolean", 1963 "description": "Whether to force a cache refresh on repo's connection state.", 1964 "name": "forceRefresh", 1965 "in": "query" 1966 } 1967 ], 1968 "responses": { 1969 "200": { 1970 "description": "A successful response.", 1971 "schema": { 1972 "$ref": "#/definitions/v1alpha1Repository" 1973 } 1974 } 1975 } 1976 }, 1977 "delete": { 1978 "tags": [ 1979 "RepositoryService" 1980 ], 1981 "summary": "DeleteRepository deletes a repository from the configuration", 1982 "operationId": "DeleteRepository", 1983 "parameters": [ 1984 { 1985 "type": "string", 1986 "description": "Repo URL for query", 1987 "name": "repo", 1988 "in": "path", 1989 "required": true 1990 }, 1991 { 1992 "type": "boolean", 1993 "format": "boolean", 1994 "description": "Whether to force a cache refresh on repo's connection state.", 1995 "name": "forceRefresh", 1996 "in": "query" 1997 } 1998 ], 1999 "responses": { 2000 "200": { 2001 "description": "A successful response.", 2002 "schema": { 2003 "$ref": "#/definitions/repositoryRepoResponse" 2004 } 2005 } 2006 } 2007 } 2008 }, 2009 "/api/v1/repositories/{repo}/apps": { 2010 "get": { 2011 "tags": [ 2012 "RepositoryService" 2013 ], 2014 "summary": "ListApps returns list of apps in the repe", 2015 "operationId": "ListApps", 2016 "parameters": [ 2017 { 2018 "type": "string", 2019 "name": "repo", 2020 "in": "path", 2021 "required": true 2022 }, 2023 { 2024 "type": "string", 2025 "name": "revision", 2026 "in": "query" 2027 } 2028 ], 2029 "responses": { 2030 "200": { 2031 "description": "A successful response.", 2032 "schema": { 2033 "$ref": "#/definitions/repositoryRepoAppsResponse" 2034 } 2035 } 2036 } 2037 } 2038 }, 2039 "/api/v1/repositories/{repo}/helmcharts": { 2040 "get": { 2041 "tags": [ 2042 "RepositoryService" 2043 ], 2044 "summary": "GetHelmCharts returns list of helm charts in the specified repository", 2045 "operationId": "GetHelmCharts", 2046 "parameters": [ 2047 { 2048 "type": "string", 2049 "description": "Repo URL for query", 2050 "name": "repo", 2051 "in": "path", 2052 "required": true 2053 }, 2054 { 2055 "type": "boolean", 2056 "format": "boolean", 2057 "description": "Whether to force a cache refresh on repo's connection state.", 2058 "name": "forceRefresh", 2059 "in": "query" 2060 } 2061 ], 2062 "responses": { 2063 "200": { 2064 "description": "A successful response.", 2065 "schema": { 2066 "$ref": "#/definitions/repositoryHelmChartsResponse" 2067 } 2068 } 2069 } 2070 } 2071 }, 2072 "/api/v1/repositories/{repo}/refs": { 2073 "get": { 2074 "tags": [ 2075 "RepositoryService" 2076 ], 2077 "operationId": "ListRefs", 2078 "parameters": [ 2079 { 2080 "type": "string", 2081 "description": "Repo URL for query", 2082 "name": "repo", 2083 "in": "path", 2084 "required": true 2085 }, 2086 { 2087 "type": "boolean", 2088 "format": "boolean", 2089 "description": "Whether to force a cache refresh on repo's connection state.", 2090 "name": "forceRefresh", 2091 "in": "query" 2092 } 2093 ], 2094 "responses": { 2095 "200": { 2096 "description": "A successful response.", 2097 "schema": { 2098 "$ref": "#/definitions/repositoryRefs" 2099 } 2100 } 2101 } 2102 } 2103 }, 2104 "/api/v1/repositories/{repo}/validate": { 2105 "post": { 2106 "tags": [ 2107 "RepositoryService" 2108 ], 2109 "summary": "ValidateAccess validates access to a repository with given parameters", 2110 "operationId": "ValidateAccess", 2111 "parameters": [ 2112 { 2113 "type": "string", 2114 "description": "The URL to the repo", 2115 "name": "repo", 2116 "in": "path", 2117 "required": true 2118 }, 2119 { 2120 "description": "The URL to the repo", 2121 "name": "body", 2122 "in": "body", 2123 "required": true, 2124 "schema": { 2125 "type": "string" 2126 } 2127 } 2128 ], 2129 "responses": { 2130 "200": { 2131 "description": "A successful response.", 2132 "schema": { 2133 "$ref": "#/definitions/repositoryRepoResponse" 2134 } 2135 } 2136 } 2137 } 2138 }, 2139 "/api/v1/repositories/{source.repoURL}/appdetails": { 2140 "post": { 2141 "tags": [ 2142 "RepositoryService" 2143 ], 2144 "summary": "GetAppDetails returns application details by given path", 2145 "operationId": "GetAppDetails", 2146 "parameters": [ 2147 { 2148 "type": "string", 2149 "description": "RepoURL is the repository URL of the application manifests", 2150 "name": "source.repoURL", 2151 "in": "path", 2152 "required": true 2153 }, 2154 { 2155 "name": "body", 2156 "in": "body", 2157 "required": true, 2158 "schema": { 2159 "$ref": "#/definitions/repositoryRepoAppDetailsQuery" 2160 } 2161 } 2162 ], 2163 "responses": { 2164 "200": { 2165 "description": "A successful response.", 2166 "schema": { 2167 "$ref": "#/definitions/repositoryRepoAppDetailsResponse" 2168 } 2169 } 2170 } 2171 } 2172 }, 2173 "/api/v1/session": { 2174 "post": { 2175 "tags": [ 2176 "SessionService" 2177 ], 2178 "summary": "Create a new JWT for authentication and set a cookie if using HTTP", 2179 "operationId": "CreateMixin8", 2180 "parameters": [ 2181 { 2182 "name": "body", 2183 "in": "body", 2184 "required": true, 2185 "schema": { 2186 "$ref": "#/definitions/sessionSessionCreateRequest" 2187 } 2188 } 2189 ], 2190 "responses": { 2191 "200": { 2192 "description": "A successful response.", 2193 "schema": { 2194 "$ref": "#/definitions/sessionSessionResponse" 2195 } 2196 } 2197 } 2198 }, 2199 "delete": { 2200 "tags": [ 2201 "SessionService" 2202 ], 2203 "summary": "Delete an existing JWT cookie if using HTTP", 2204 "operationId": "DeleteMixin8", 2205 "responses": { 2206 "200": { 2207 "description": "A successful response.", 2208 "schema": { 2209 "$ref": "#/definitions/sessionSessionResponse" 2210 } 2211 } 2212 } 2213 } 2214 }, 2215 "/api/v1/session/userinfo": { 2216 "get": { 2217 "tags": [ 2218 "SessionService" 2219 ], 2220 "summary": "Get the current user's info", 2221 "operationId": "GetUserInfo", 2222 "responses": { 2223 "200": { 2224 "description": "A successful response.", 2225 "schema": { 2226 "$ref": "#/definitions/sessionGetUserInfoResponse" 2227 } 2228 } 2229 } 2230 } 2231 }, 2232 "/api/v1/settings": { 2233 "get": { 2234 "tags": [ 2235 "SettingsService" 2236 ], 2237 "summary": "Get returns Argo CD settings", 2238 "operationId": "GetMixin10", 2239 "responses": { 2240 "200": { 2241 "description": "A successful response.", 2242 "schema": { 2243 "$ref": "#/definitions/clusterSettings" 2244 } 2245 } 2246 } 2247 } 2248 }, 2249 "/api/v1/stream/applications": { 2250 "get": { 2251 "tags": [ 2252 "ApplicationService" 2253 ], 2254 "summary": "Watch returns stream of application change events", 2255 "operationId": "Watch", 2256 "parameters": [ 2257 { 2258 "type": "string", 2259 "description": "the application's name.", 2260 "name": "name", 2261 "in": "query" 2262 }, 2263 { 2264 "type": "string", 2265 "description": "forces application reconciliation if set to true.", 2266 "name": "refresh", 2267 "in": "query" 2268 }, 2269 { 2270 "type": "array", 2271 "items": { 2272 "type": "string" 2273 }, 2274 "collectionFormat": "multi", 2275 "description": "the project names to restrict returned list applications.", 2276 "name": "project", 2277 "in": "query" 2278 }, 2279 { 2280 "type": "string", 2281 "description": "when specified with a watch call, shows changes that occur after that particular version of a resource.", 2282 "name": "resourceVersion", 2283 "in": "query" 2284 }, 2285 { 2286 "type": "string", 2287 "description": "the selector to to restrict returned list to applications only with matched labels.", 2288 "name": "selector", 2289 "in": "query" 2290 } 2291 ], 2292 "responses": { 2293 "200": { 2294 "description": "A successful response.(streaming responses)", 2295 "schema": { 2296 "type": "object", 2297 "title": "Stream result of v1alpha1ApplicationWatchEvent", 2298 "properties": { 2299 "error": { 2300 "$ref": "#/definitions/runtimeStreamError" 2301 }, 2302 "result": { 2303 "$ref": "#/definitions/v1alpha1ApplicationWatchEvent" 2304 } 2305 } 2306 } 2307 } 2308 } 2309 } 2310 }, 2311 "/api/v1/stream/applications/{applicationName}/resource-tree": { 2312 "get": { 2313 "tags": [ 2314 "ApplicationService" 2315 ], 2316 "summary": "Watch returns stream of application resource tree", 2317 "operationId": "WatchResourceTree", 2318 "parameters": [ 2319 { 2320 "type": "string", 2321 "name": "applicationName", 2322 "in": "path", 2323 "required": true 2324 }, 2325 { 2326 "type": "string", 2327 "name": "namespace", 2328 "in": "query" 2329 }, 2330 { 2331 "type": "string", 2332 "name": "name", 2333 "in": "query" 2334 }, 2335 { 2336 "type": "string", 2337 "name": "version", 2338 "in": "query" 2339 }, 2340 { 2341 "type": "string", 2342 "name": "group", 2343 "in": "query" 2344 }, 2345 { 2346 "type": "string", 2347 "name": "kind", 2348 "in": "query" 2349 } 2350 ], 2351 "responses": { 2352 "200": { 2353 "description": "A successful response.(streaming responses)", 2354 "schema": { 2355 "type": "object", 2356 "title": "Stream result of v1alpha1ApplicationTree", 2357 "properties": { 2358 "error": { 2359 "$ref": "#/definitions/runtimeStreamError" 2360 }, 2361 "result": { 2362 "$ref": "#/definitions/v1alpha1ApplicationTree" 2363 } 2364 } 2365 } 2366 } 2367 } 2368 } 2369 }, 2370 "/api/version": { 2371 "get": { 2372 "tags": [ 2373 "VersionService" 2374 ], 2375 "summary": "Version returns version information of the API server", 2376 "operationId": "Version", 2377 "responses": { 2378 "200": { 2379 "description": "A successful response.", 2380 "schema": { 2381 "$ref": "#/definitions/versionVersionMessage" 2382 } 2383 } 2384 } 2385 } 2386 } 2387 }, 2388 "definitions": { 2389 "accountAccount": { 2390 "type": "object", 2391 "properties": { 2392 "capabilities": { 2393 "type": "array", 2394 "items": { 2395 "type": "string" 2396 } 2397 }, 2398 "enabled": { 2399 "type": "boolean", 2400 "format": "boolean" 2401 }, 2402 "name": { 2403 "type": "string" 2404 }, 2405 "tokens": { 2406 "type": "array", 2407 "items": { 2408 "$ref": "#/definitions/accountToken" 2409 } 2410 } 2411 } 2412 }, 2413 "accountAccountsList": { 2414 "type": "object", 2415 "properties": { 2416 "items": { 2417 "type": "array", 2418 "items": { 2419 "$ref": "#/definitions/accountAccount" 2420 } 2421 } 2422 } 2423 }, 2424 "accountCanIResponse": { 2425 "type": "object", 2426 "properties": { 2427 "value": { 2428 "type": "string" 2429 } 2430 } 2431 }, 2432 "accountCreateTokenRequest": { 2433 "type": "object", 2434 "properties": { 2435 "expiresIn": { 2436 "type": "string", 2437 "format": "int64", 2438 "title": "expiresIn represents a duration in seconds" 2439 }, 2440 "id": { 2441 "type": "string" 2442 }, 2443 "name": { 2444 "type": "string" 2445 } 2446 } 2447 }, 2448 "accountCreateTokenResponse": { 2449 "type": "object", 2450 "properties": { 2451 "token": { 2452 "type": "string" 2453 } 2454 } 2455 }, 2456 "accountEmptyResponse": { 2457 "type": "object" 2458 }, 2459 "accountToken": { 2460 "type": "object", 2461 "properties": { 2462 "expiresAt": { 2463 "type": "string", 2464 "format": "int64" 2465 }, 2466 "id": { 2467 "type": "string" 2468 }, 2469 "issuedAt": { 2470 "type": "string", 2471 "format": "int64" 2472 } 2473 } 2474 }, 2475 "accountUpdatePasswordRequest": { 2476 "type": "object", 2477 "properties": { 2478 "currentPassword": { 2479 "type": "string" 2480 }, 2481 "name": { 2482 "type": "string" 2483 }, 2484 "newPassword": { 2485 "type": "string" 2486 } 2487 } 2488 }, 2489 "accountUpdatePasswordResponse": { 2490 "type": "object" 2491 }, 2492 "applicationApplicationPatchRequest": { 2493 "type": "object", 2494 "title": "ApplicationPatchRequest is a request to patch an application", 2495 "properties": { 2496 "name": { 2497 "type": "string" 2498 }, 2499 "patch": { 2500 "type": "string" 2501 }, 2502 "patchType": { 2503 "type": "string" 2504 } 2505 } 2506 }, 2507 "applicationApplicationResourceResponse": { 2508 "type": "object", 2509 "properties": { 2510 "manifest": { 2511 "type": "string" 2512 } 2513 } 2514 }, 2515 "applicationApplicationResponse": { 2516 "type": "object" 2517 }, 2518 "applicationApplicationRollbackRequest": { 2519 "type": "object", 2520 "properties": { 2521 "dryRun": { 2522 "type": "boolean", 2523 "format": "boolean" 2524 }, 2525 "id": { 2526 "type": "string", 2527 "format": "int64" 2528 }, 2529 "name": { 2530 "type": "string" 2531 }, 2532 "prune": { 2533 "type": "boolean", 2534 "format": "boolean" 2535 } 2536 } 2537 }, 2538 "applicationApplicationSyncRequest": { 2539 "type": "object", 2540 "title": "ApplicationSyncRequest is a request to apply the config state to live state", 2541 "properties": { 2542 "dryRun": { 2543 "type": "boolean", 2544 "format": "boolean" 2545 }, 2546 "infos": { 2547 "type": "array", 2548 "items": { 2549 "$ref": "#/definitions/v1alpha1Info" 2550 } 2551 }, 2552 "manifests": { 2553 "type": "array", 2554 "items": { 2555 "type": "string" 2556 } 2557 }, 2558 "name": { 2559 "type": "string" 2560 }, 2561 "prune": { 2562 "type": "boolean", 2563 "format": "boolean" 2564 }, 2565 "resources": { 2566 "type": "array", 2567 "items": { 2568 "$ref": "#/definitions/v1alpha1SyncOperationResource" 2569 } 2570 }, 2571 "retryStrategy": { 2572 "$ref": "#/definitions/v1alpha1RetryStrategy" 2573 }, 2574 "revision": { 2575 "type": "string" 2576 }, 2577 "strategy": { 2578 "$ref": "#/definitions/v1alpha1SyncStrategy" 2579 } 2580 } 2581 }, 2582 "applicationApplicationSyncWindow": { 2583 "type": "object", 2584 "properties": { 2585 "duration": { 2586 "type": "string" 2587 }, 2588 "kind": { 2589 "type": "string" 2590 }, 2591 "manualSync": { 2592 "type": "boolean", 2593 "format": "boolean" 2594 }, 2595 "schedule": { 2596 "type": "string" 2597 } 2598 } 2599 }, 2600 "applicationApplicationSyncWindowsResponse": { 2601 "type": "object", 2602 "properties": { 2603 "activeWindows": { 2604 "type": "array", 2605 "items": { 2606 "$ref": "#/definitions/applicationApplicationSyncWindow" 2607 } 2608 }, 2609 "assignedWindows": { 2610 "type": "array", 2611 "items": { 2612 "$ref": "#/definitions/applicationApplicationSyncWindow" 2613 } 2614 }, 2615 "canSync": { 2616 "type": "boolean", 2617 "format": "boolean" 2618 } 2619 } 2620 }, 2621 "applicationLogEntry": { 2622 "type": "object", 2623 "properties": { 2624 "content": { 2625 "type": "string" 2626 }, 2627 "last": { 2628 "type": "boolean", 2629 "format": "boolean" 2630 }, 2631 "timeStamp": { 2632 "$ref": "#/definitions/v1Time" 2633 } 2634 } 2635 }, 2636 "applicationManagedResourcesResponse": { 2637 "type": "object", 2638 "properties": { 2639 "items": { 2640 "type": "array", 2641 "items": { 2642 "$ref": "#/definitions/v1alpha1ResourceDiff" 2643 } 2644 } 2645 } 2646 }, 2647 "applicationOperationTerminateResponse": { 2648 "type": "object" 2649 }, 2650 "applicationResourceActionsListResponse": { 2651 "type": "object", 2652 "properties": { 2653 "actions": { 2654 "type": "array", 2655 "items": { 2656 "$ref": "#/definitions/v1alpha1ResourceAction" 2657 } 2658 } 2659 } 2660 }, 2661 "applicationv1alpha1EnvEntry": { 2662 "type": "object", 2663 "properties": { 2664 "name": { 2665 "type": "string", 2666 "title": "the name, usually uppercase" 2667 }, 2668 "value": { 2669 "type": "string", 2670 "title": "the value" 2671 } 2672 } 2673 }, 2674 "clusterClusterResponse": { 2675 "type": "object" 2676 }, 2677 "clusterConnector": { 2678 "type": "object", 2679 "properties": { 2680 "name": { 2681 "type": "string" 2682 }, 2683 "type": { 2684 "type": "string" 2685 } 2686 } 2687 }, 2688 "clusterDexConfig": { 2689 "type": "object", 2690 "properties": { 2691 "connectors": { 2692 "type": "array", 2693 "items": { 2694 "$ref": "#/definitions/clusterConnector" 2695 } 2696 } 2697 } 2698 }, 2699 "clusterGoogleAnalyticsConfig": { 2700 "type": "object", 2701 "properties": { 2702 "anonymizeUsers": { 2703 "type": "boolean", 2704 "format": "boolean" 2705 }, 2706 "trackingID": { 2707 "type": "string" 2708 } 2709 } 2710 }, 2711 "clusterHelp": { 2712 "type": "object", 2713 "title": "Help settings", 2714 "properties": { 2715 "chatText": { 2716 "type": "string", 2717 "title": "the text for getting chat help, defaults to \"Chat now!\"" 2718 }, 2719 "chatUrl": { 2720 "type": "string", 2721 "title": "the URL for getting chat help, this will typically be your Slack channel for support" 2722 } 2723 } 2724 }, 2725 "clusterOIDCConfig": { 2726 "type": "object", 2727 "properties": { 2728 "cliClientID": { 2729 "type": "string" 2730 }, 2731 "clientID": { 2732 "type": "string" 2733 }, 2734 "idTokenClaims": { 2735 "type": "object", 2736 "additionalProperties": { 2737 "$ref": "#/definitions/oidcClaim" 2738 } 2739 }, 2740 "issuer": { 2741 "type": "string" 2742 }, 2743 "name": { 2744 "type": "string" 2745 }, 2746 "scopes": { 2747 "type": "array", 2748 "items": { 2749 "type": "string" 2750 } 2751 } 2752 } 2753 }, 2754 "clusterPlugin": { 2755 "type": "object", 2756 "title": "Plugin settings", 2757 "properties": { 2758 "name": { 2759 "type": "string", 2760 "title": "the name of the plugin, e.g. \"kasane\"" 2761 } 2762 } 2763 }, 2764 "clusterSettings": { 2765 "type": "object", 2766 "properties": { 2767 "appLabelKey": { 2768 "type": "string" 2769 }, 2770 "configManagementPlugins": { 2771 "type": "array", 2772 "items": { 2773 "$ref": "#/definitions/v1alpha1ConfigManagementPlugin" 2774 } 2775 }, 2776 "dexConfig": { 2777 "$ref": "#/definitions/clusterDexConfig" 2778 }, 2779 "googleAnalytics": { 2780 "$ref": "#/definitions/clusterGoogleAnalyticsConfig" 2781 }, 2782 "help": { 2783 "$ref": "#/definitions/clusterHelp" 2784 }, 2785 "kustomizeOptions": { 2786 "$ref": "#/definitions/v1alpha1KustomizeOptions" 2787 }, 2788 "kustomizeVersions": { 2789 "type": "array", 2790 "items": { 2791 "type": "string" 2792 } 2793 }, 2794 "oidcConfig": { 2795 "$ref": "#/definitions/clusterOIDCConfig" 2796 }, 2797 "plugins": { 2798 "type": "array", 2799 "items": { 2800 "$ref": "#/definitions/clusterPlugin" 2801 } 2802 }, 2803 "resourceOverrides": { 2804 "type": "object", 2805 "additionalProperties": { 2806 "$ref": "#/definitions/v1alpha1ResourceOverride" 2807 } 2808 }, 2809 "statusBadgeEnabled": { 2810 "type": "boolean", 2811 "format": "boolean" 2812 }, 2813 "uiCssURL": { 2814 "type": "string" 2815 }, 2816 "url": { 2817 "type": "string" 2818 }, 2819 "userLoginsDisabled": { 2820 "type": "boolean", 2821 "format": "boolean" 2822 } 2823 } 2824 }, 2825 "gpgkeyGnuPGPublicKeyCreateResponse": { 2826 "type": "object", 2827 "title": "Response to a public key creation request", 2828 "properties": { 2829 "created": { 2830 "$ref": "#/definitions/v1alpha1GnuPGPublicKeyList" 2831 }, 2832 "skipped": { 2833 "type": "array", 2834 "title": "List of key IDs that haven been skipped because they already exist on the server", 2835 "items": { 2836 "type": "string" 2837 } 2838 } 2839 } 2840 }, 2841 "gpgkeyGnuPGPublicKeyResponse": { 2842 "type": "object", 2843 "title": "Generic (empty) response for GPG public key CRUD requests" 2844 }, 2845 "oidcClaim": { 2846 "type": "object", 2847 "properties": { 2848 "essential": { 2849 "type": "boolean", 2850 "format": "boolean" 2851 }, 2852 "value": { 2853 "type": "string" 2854 }, 2855 "values": { 2856 "type": "array", 2857 "items": { 2858 "type": "string" 2859 } 2860 } 2861 } 2862 }, 2863 "projectEmptyResponse": { 2864 "type": "object" 2865 }, 2866 "projectGlobalProjectsResponse": { 2867 "type": "object", 2868 "properties": { 2869 "items": { 2870 "type": "array", 2871 "items": { 2872 "$ref": "#/definitions/v1alpha1AppProject" 2873 } 2874 } 2875 } 2876 }, 2877 "projectProjectCreateRequest": { 2878 "description": "ProjectCreateRequest defines project creation parameters.", 2879 "type": "object", 2880 "properties": { 2881 "project": { 2882 "$ref": "#/definitions/v1alpha1AppProject" 2883 }, 2884 "upsert": { 2885 "type": "boolean", 2886 "format": "boolean" 2887 } 2888 } 2889 }, 2890 "projectProjectTokenCreateRequest": { 2891 "description": "ProjectTokenCreateRequest defines project token creation parameters.", 2892 "type": "object", 2893 "properties": { 2894 "description": { 2895 "type": "string" 2896 }, 2897 "expiresIn": { 2898 "type": "string", 2899 "format": "int64", 2900 "title": "expiresIn represents a duration in seconds" 2901 }, 2902 "id": { 2903 "type": "string" 2904 }, 2905 "project": { 2906 "type": "string" 2907 }, 2908 "role": { 2909 "type": "string" 2910 } 2911 } 2912 }, 2913 "projectProjectTokenResponse": { 2914 "description": "ProjectTokenResponse wraps the created token or returns an empty string if deleted.", 2915 "type": "object", 2916 "properties": { 2917 "token": { 2918 "type": "string" 2919 } 2920 } 2921 }, 2922 "projectProjectUpdateRequest": { 2923 "type": "object", 2924 "properties": { 2925 "project": { 2926 "$ref": "#/definitions/v1alpha1AppProject" 2927 } 2928 } 2929 }, 2930 "projectSyncWindowsResponse": { 2931 "type": "object", 2932 "properties": { 2933 "windows": { 2934 "type": "array", 2935 "items": { 2936 "$ref": "#/definitions/v1alpha1SyncWindow" 2937 } 2938 } 2939 } 2940 }, 2941 "protobufAny": { 2942 "type": "object", 2943 "properties": { 2944 "type_url": { 2945 "type": "string" 2946 }, 2947 "value": { 2948 "type": "string", 2949 "format": "byte" 2950 } 2951 } 2952 }, 2953 "repocredsRepoCredsResponse": { 2954 "type": "object", 2955 "title": "RepoCredsResponse is a response to most repository credentials requests" 2956 }, 2957 "repositoryAppInfo": { 2958 "type": "object", 2959 "title": "AppInfo contains application type and app file path", 2960 "properties": { 2961 "path": { 2962 "type": "string" 2963 }, 2964 "type": { 2965 "type": "string" 2966 } 2967 } 2968 }, 2969 "repositoryDirectoryAppSpec": { 2970 "type": "object", 2971 "title": "DirectoryAppSpec contains directory" 2972 }, 2973 "repositoryHelmAppSpec": { 2974 "type": "object", 2975 "title": "HelmAppSpec contains helm app name in source repo", 2976 "properties": { 2977 "fileParameters": { 2978 "type": "array", 2979 "title": "helm file parameters", 2980 "items": { 2981 "$ref": "#/definitions/v1alpha1HelmFileParameter" 2982 } 2983 }, 2984 "name": { 2985 "type": "string" 2986 }, 2987 "parameters": { 2988 "type": "array", 2989 "title": "the output of `helm inspect values`", 2990 "items": { 2991 "$ref": "#/definitions/v1alpha1HelmParameter" 2992 } 2993 }, 2994 "valueFiles": { 2995 "type": "array", 2996 "items": { 2997 "type": "string" 2998 } 2999 }, 3000 "values": { 3001 "type": "string", 3002 "title": "the contents of values.yaml" 3003 } 3004 } 3005 }, 3006 "repositoryHelmChart": { 3007 "type": "object", 3008 "properties": { 3009 "name": { 3010 "type": "string" 3011 }, 3012 "versions": { 3013 "type": "array", 3014 "items": { 3015 "type": "string" 3016 } 3017 } 3018 } 3019 }, 3020 "repositoryHelmChartsResponse": { 3021 "type": "object", 3022 "properties": { 3023 "items": { 3024 "type": "array", 3025 "items": { 3026 "$ref": "#/definitions/repositoryHelmChart" 3027 } 3028 } 3029 } 3030 }, 3031 "repositoryKsonnetAppSpec": { 3032 "type": "object", 3033 "title": "KsonnetAppSpec contains Ksonnet app response\nThis roughly reflects: ksonnet/ksonnet/metadata/app/schema.go", 3034 "properties": { 3035 "environments": { 3036 "type": "object", 3037 "additionalProperties": { 3038 "$ref": "#/definitions/repositoryKsonnetEnvironment" 3039 } 3040 }, 3041 "name": { 3042 "type": "string" 3043 }, 3044 "parameters": { 3045 "type": "array", 3046 "items": { 3047 "$ref": "#/definitions/v1alpha1KsonnetParameter" 3048 } 3049 } 3050 } 3051 }, 3052 "repositoryKsonnetEnvironment": { 3053 "type": "object", 3054 "properties": { 3055 "destination": { 3056 "$ref": "#/definitions/repositoryKsonnetEnvironmentDestination" 3057 }, 3058 "k8sVersion": { 3059 "description": "KubernetesVersion is the kubernetes version the targeted cluster is running on.", 3060 "type": "string" 3061 }, 3062 "name": { 3063 "type": "string", 3064 "title": "Name is the user defined name of an environment" 3065 } 3066 } 3067 }, 3068 "repositoryKsonnetEnvironmentDestination": { 3069 "type": "object", 3070 "properties": { 3071 "namespace": { 3072 "type": "string", 3073 "title": "Namespace is the namespace of the Kubernetes server that targets should be deployed to" 3074 }, 3075 "server": { 3076 "description": "Server is the Kubernetes server that the cluster is running on.", 3077 "type": "string" 3078 } 3079 } 3080 }, 3081 "repositoryKustomizeAppSpec": { 3082 "type": "object", 3083 "title": "KustomizeAppSpec contains kustomize images", 3084 "properties": { 3085 "images": { 3086 "description": "images is a list of available images.", 3087 "type": "array", 3088 "items": { 3089 "type": "string" 3090 } 3091 } 3092 } 3093 }, 3094 "repositoryManifestResponse": { 3095 "type": "object", 3096 "properties": { 3097 "manifests": { 3098 "type": "array", 3099 "items": { 3100 "type": "string" 3101 } 3102 }, 3103 "namespace": { 3104 "type": "string" 3105 }, 3106 "revision": { 3107 "type": "string", 3108 "title": "resolved revision" 3109 }, 3110 "server": { 3111 "type": "string" 3112 }, 3113 "sourceType": { 3114 "type": "string" 3115 }, 3116 "verifyResult": { 3117 "type": "string", 3118 "title": "Raw response of git verify-commit operation (always the empty string for Helm)" 3119 } 3120 } 3121 }, 3122 "repositoryRefs": { 3123 "type": "object", 3124 "title": "A subset of the repository's named refs", 3125 "properties": { 3126 "branches": { 3127 "type": "array", 3128 "items": { 3129 "type": "string" 3130 } 3131 }, 3132 "tags": { 3133 "type": "array", 3134 "items": { 3135 "type": "string" 3136 } 3137 } 3138 } 3139 }, 3140 "repositoryRepoAppDetailsQuery": { 3141 "type": "object", 3142 "title": "RepoAppDetailsQuery contains query information for app details request", 3143 "properties": { 3144 "source": { 3145 "$ref": "#/definitions/v1alpha1ApplicationSource" 3146 } 3147 } 3148 }, 3149 "repositoryRepoAppDetailsResponse": { 3150 "type": "object", 3151 "title": "RepoAppDetailsResponse application details", 3152 "properties": { 3153 "directory": { 3154 "$ref": "#/definitions/repositoryDirectoryAppSpec" 3155 }, 3156 "helm": { 3157 "$ref": "#/definitions/repositoryHelmAppSpec" 3158 }, 3159 "ksonnet": { 3160 "$ref": "#/definitions/repositoryKsonnetAppSpec" 3161 }, 3162 "kustomize": { 3163 "$ref": "#/definitions/repositoryKustomizeAppSpec" 3164 }, 3165 "type": { 3166 "type": "string" 3167 } 3168 } 3169 }, 3170 "repositoryRepoAppsResponse": { 3171 "type": "object", 3172 "title": "RepoAppsResponse contains applications of specified repository", 3173 "properties": { 3174 "items": { 3175 "type": "array", 3176 "items": { 3177 "$ref": "#/definitions/repositoryAppInfo" 3178 } 3179 } 3180 } 3181 }, 3182 "repositoryRepoResponse": { 3183 "type": "object" 3184 }, 3185 "runtimeStreamError": { 3186 "type": "object", 3187 "properties": { 3188 "details": { 3189 "type": "array", 3190 "items": { 3191 "$ref": "#/definitions/protobufAny" 3192 } 3193 }, 3194 "grpc_code": { 3195 "type": "integer", 3196 "format": "int32" 3197 }, 3198 "http_code": { 3199 "type": "integer", 3200 "format": "int32" 3201 }, 3202 "http_status": { 3203 "type": "string" 3204 }, 3205 "message": { 3206 "type": "string" 3207 } 3208 } 3209 }, 3210 "sessionGetUserInfoResponse": { 3211 "type": "object", 3212 "title": "The current user's userInfo info", 3213 "properties": { 3214 "groups": { 3215 "type": "array", 3216 "items": { 3217 "type": "string" 3218 } 3219 }, 3220 "iss": { 3221 "type": "string" 3222 }, 3223 "loggedIn": { 3224 "type": "boolean", 3225 "format": "boolean" 3226 }, 3227 "username": { 3228 "type": "string" 3229 } 3230 } 3231 }, 3232 "sessionSessionCreateRequest": { 3233 "description": "SessionCreateRequest is for logging in.", 3234 "type": "object", 3235 "properties": { 3236 "password": { 3237 "type": "string" 3238 }, 3239 "token": { 3240 "type": "string" 3241 }, 3242 "username": { 3243 "type": "string" 3244 } 3245 } 3246 }, 3247 "sessionSessionResponse": { 3248 "description": "SessionResponse wraps the created token or returns an empty string if deleted.", 3249 "type": "object", 3250 "properties": { 3251 "token": { 3252 "type": "string" 3253 } 3254 } 3255 }, 3256 "v1Event": { 3257 "description": "Event is a report of an event somewhere in the cluster.", 3258 "type": "object", 3259 "properties": { 3260 "action": { 3261 "type": "string", 3262 "title": "What action was taken/failed regarding to the Regarding object.\n+optional" 3263 }, 3264 "count": { 3265 "type": "integer", 3266 "format": "int32", 3267 "title": "The number of times this event has occurred.\n+optional" 3268 }, 3269 "eventTime": { 3270 "$ref": "#/definitions/v1MicroTime" 3271 }, 3272 "firstTimestamp": { 3273 "$ref": "#/definitions/v1Time" 3274 }, 3275 "involvedObject": { 3276 "$ref": "#/definitions/v1ObjectReference" 3277 }, 3278 "lastTimestamp": { 3279 "$ref": "#/definitions/v1Time" 3280 }, 3281 "message": { 3282 "type": "string", 3283 "title": "A human-readable description of the status of this operation.\nTODO: decide on maximum length.\n+optional" 3284 }, 3285 "metadata": { 3286 "$ref": "#/definitions/v1ObjectMeta" 3287 }, 3288 "reason": { 3289 "type": "string", 3290 "title": "This should be a short, machine understandable string that gives the reason\nfor the transition into the object's current status.\nTODO: provide exact specification for format.\n+optional" 3291 }, 3292 "related": { 3293 "$ref": "#/definitions/v1ObjectReference" 3294 }, 3295 "reportingComponent": { 3296 "type": "string", 3297 "title": "Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.\n+optional" 3298 }, 3299 "reportingInstance": { 3300 "type": "string", 3301 "title": "ID of the controller instance, e.g. `kubelet-xyzf`.\n+optional" 3302 }, 3303 "series": { 3304 "$ref": "#/definitions/v1EventSeries" 3305 }, 3306 "source": { 3307 "$ref": "#/definitions/v1EventSource" 3308 }, 3309 "type": { 3310 "type": "string", 3311 "title": "Type of this event (Normal, Warning), new types could be added in the future\n+optional" 3312 } 3313 } 3314 }, 3315 "v1EventList": { 3316 "description": "EventList is a list of events.", 3317 "type": "object", 3318 "properties": { 3319 "items": { 3320 "type": "array", 3321 "title": "List of events", 3322 "items": { 3323 "$ref": "#/definitions/v1Event" 3324 } 3325 }, 3326 "metadata": { 3327 "$ref": "#/definitions/v1ListMeta" 3328 } 3329 } 3330 }, 3331 "v1EventSeries": { 3332 "description": "EventSeries contain information on series of events, i.e. thing that was/is happening\ncontinuously for some time.", 3333 "type": "object", 3334 "properties": { 3335 "count": { 3336 "type": "integer", 3337 "format": "int32", 3338 "title": "Number of occurrences in this series up to the last heartbeat time" 3339 }, 3340 "lastObservedTime": { 3341 "$ref": "#/definitions/v1MicroTime" 3342 } 3343 } 3344 }, 3345 "v1EventSource": { 3346 "description": "EventSource contains information for an event.", 3347 "type": "object", 3348 "properties": { 3349 "component": { 3350 "type": "string", 3351 "title": "Component from which the event is generated.\n+optional" 3352 }, 3353 "host": { 3354 "type": "string", 3355 "title": "Node name on which the event is generated.\n+optional" 3356 } 3357 } 3358 }, 3359 "v1FieldsV1": { 3360 "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set,\nor a string representing a sub-field or item. The string will follow one of these four formats:\n'f:<name>', where <name> is the name of a field in a struct, or key in a map\n'v:<value>', where <value> is the exact json formatted value of a list item\n'i:<index>', where <index> is position of a item in a list\n'k:<keys>', where <keys> is a map of a list item's key fields to their unique values\nIf a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff\n+protobuf.options.(gogoproto.goproto_stringer)=false", 3361 "type": "object", 3362 "properties": { 3363 "Raw": { 3364 "description": "Raw is the underlying serialization of this object.", 3365 "type": "string", 3366 "format": "byte" 3367 } 3368 } 3369 }, 3370 "v1GroupKind": { 3371 "description": "+protobuf.options.(gogoproto.goproto_stringer)=false", 3372 "type": "object", 3373 "title": "GroupKind specifies a Group and a Kind, but does not force a version. This is useful for identifying\nconcepts during lookup stages without having partially valid types", 3374 "properties": { 3375 "group": { 3376 "type": "string" 3377 }, 3378 "kind": { 3379 "type": "string" 3380 } 3381 } 3382 }, 3383 "v1ListMeta": { 3384 "description": "ListMeta describes metadata that synthetic resources must have, including lists and\nvarious status objects. A resource may have only one of {ObjectMeta, ListMeta}.", 3385 "type": "object", 3386 "properties": { 3387 "continue": { 3388 "description": "continue may be set if the user set a limit on the number of items returned, and indicates that\nthe server has more data available. The value is opaque and may be used to issue another request\nto the endpoint that served this list to retrieve the next set of available objects. Continuing a\nconsistent list may not be possible if the server configuration has changed or more than a few\nminutes have passed. The resourceVersion field returned when using this continue value will be\nidentical to the value in the first response, unless you have received this token from an error\nmessage.", 3389 "type": "string" 3390 }, 3391 "remainingItemCount": { 3392 "type": "string", 3393 "format": "int64", 3394 "title": "remainingItemCount is the number of subsequent items in the list which are not included in this\nlist response. If the list request contained label or field selectors, then the number of\nremaining items is unknown and the field will be left unset and omitted during serialization.\nIf the list is complete (either because it is not chunking or because this is the last chunk),\nthen there are no more remaining items and this field will be left unset and omitted during\nserialization.\nServers older than v1.15 do not set this field.\nThe intended use of the remainingItemCount is *estimating* the size of a collection. Clients\nshould not rely on the remainingItemCount to be set or to be exact.\n+optional" 3395 }, 3396 "resourceVersion": { 3397 "type": "string", 3398 "title": "String that identifies the server's internal version of this object that\ncan be used by clients to determine when objects have changed.\nValue must be treated as opaque by clients and passed unmodified back to the server.\nPopulated by the system.\nRead-only.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency\n+optional" 3399 }, 3400 "selfLink": { 3401 "description": "selfLink is a URL representing this object.\nPopulated by the system.\nRead-only.\n\nDEPRECATED\nKubernetes will stop propagating this field in 1.20 release and the field is planned\nto be removed in 1.21 release.\n+optional", 3402 "type": "string" 3403 } 3404 } 3405 }, 3406 "v1LoadBalancerIngress": { 3407 "description": "LoadBalancerIngress represents the status of a load-balancer ingress point:\ntraffic intended for the service should be sent to an ingress point.", 3408 "type": "object", 3409 "properties": { 3410 "hostname": { 3411 "type": "string", 3412 "title": "Hostname is set for load-balancer ingress points that are DNS based\n(typically AWS load-balancers)\n+optional" 3413 }, 3414 "ip": { 3415 "type": "string", 3416 "title": "IP is set for load-balancer ingress points that are IP based\n(typically GCE or OpenStack load-balancers)\n+optional" 3417 } 3418 } 3419 }, 3420 "v1ManagedFieldsEntry": { 3421 "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource\nthat the fieldset applies to.", 3422 "type": "object", 3423 "properties": { 3424 "apiVersion": { 3425 "description": "APIVersion defines the version of this resource that this field set\napplies to. The format is \"group/version\" just like the top-level\nAPIVersion field. It is necessary to track the version of a field\nset because it cannot be automatically converted.", 3426 "type": "string" 3427 }, 3428 "fieldsType": { 3429 "type": "string", 3430 "title": "FieldsType is the discriminator for the different fields format and version.\nThere is currently only one possible value: \"FieldsV1\"" 3431 }, 3432 "fieldsV1": { 3433 "$ref": "#/definitions/v1FieldsV1" 3434 }, 3435 "manager": { 3436 "description": "Manager is an identifier of the workflow managing these fields.", 3437 "type": "string" 3438 }, 3439 "operation": { 3440 "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created.\nThe only valid values for this field are 'Apply' and 'Update'.", 3441 "type": "string" 3442 }, 3443 "time": { 3444 "$ref": "#/definitions/v1Time" 3445 } 3446 } 3447 }, 3448 "v1MicroTime": { 3449 "description": "MicroTime is version of Time with microsecond level precision.\n\n+protobuf.options.marshal=false\n+protobuf.as=Timestamp\n+protobuf.options.(gogoproto.goproto_stringer)=false", 3450 "type": "object", 3451 "properties": { 3452 "nanos": { 3453 "description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context.", 3454 "type": "integer", 3455 "format": "int32" 3456 }, 3457 "seconds": { 3458 "description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.", 3459 "type": "string", 3460 "format": "int64" 3461 } 3462 } 3463 }, 3464 "v1ObjectMeta": { 3465 "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects\nusers must create.", 3466 "type": "object", 3467 "properties": { 3468 "annotations": { 3469 "type": "object", 3470 "title": "Annotations is an unstructured key value map stored with a resource that may be\nset by external tools to store and retrieve arbitrary metadata. They are not\nqueryable and should be preserved when modifying objects.\nMore info: http://kubernetes.io/docs/user-guide/annotations\n+optional", 3471 "additionalProperties": { 3472 "type": "string" 3473 } 3474 }, 3475 "clusterName": { 3476 "type": "string", 3477 "title": "The name of the cluster which the object belongs to.\nThis is used to distinguish resources with same name and namespace in different clusters.\nThis field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.\n+optional" 3478 }, 3479 "creationTimestamp": { 3480 "$ref": "#/definitions/v1Time" 3481 }, 3482 "deletionGracePeriodSeconds": { 3483 "type": "string", 3484 "format": "int64", 3485 "title": "Number of seconds allowed for this object to gracefully terminate before\nit will be removed from the system. Only set when deletionTimestamp is also set.\nMay only be shortened.\nRead-only.\n+optional" 3486 }, 3487 "deletionTimestamp": { 3488 "$ref": "#/definitions/v1Time" 3489 }, 3490 "finalizers": { 3491 "type": "array", 3492 "title": "Must be empty before the object is deleted from the registry. Each entry\nis an identifier for the responsible component that will remove the entry\nfrom the list. If the deletionTimestamp of the object is non-nil, entries\nin this list can only be removed.\nFinalizers may be processed and removed in any order. Order is NOT enforced\nbecause it introduces significant risk of stuck finalizers.\nfinalizers is a shared field, any actor with permission can reorder it.\nIf the finalizer list is processed in order, then this can lead to a situation\nin which the component responsible for the first finalizer in the list is\nwaiting for a signal (field value, external system, or other) produced by a\ncomponent responsible for a finalizer later in the list, resulting in a deadlock.\nWithout enforced ordering finalizers are free to order amongst themselves and\nare not vulnerable to ordering changes in the list.\n+optional\n+patchStrategy=merge", 3493 "items": { 3494 "type": "string" 3495 } 3496 }, 3497 "generateName": { 3498 "description": "GenerateName is an optional prefix, used by the server, to generate a unique\nname ONLY IF the Name field has not been provided.\nIf this field is used, the name returned to the client will be different\nthan the name passed. This value will also be combined with a unique suffix.\nThe provided value has the same validation rules as the Name field,\nand may be truncated by the length of the suffix required to make the value\nunique on the server.\n\nIf this field is specified and the generated name exists, the server will\nNOT return a 409 - instead, it will either return 201 Created or 500 with Reason\nServerTimeout indicating a unique name could not be found in the time allotted, and the client\nshould retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency\n+optional", 3499 "type": "string" 3500 }, 3501 "generation": { 3502 "type": "string", 3503 "format": "int64", 3504 "title": "A sequence number representing a specific generation of the desired state.\nPopulated by the system. Read-only.\n+optional" 3505 }, 3506 "labels": { 3507 "type": "object", 3508 "title": "Map of string keys and values that can be used to organize and categorize\n(scope and select) objects. May match selectors of replication controllers\nand services.\nMore info: http://kubernetes.io/docs/user-guide/labels\n+optional", 3509 "additionalProperties": { 3510 "type": "string" 3511 } 3512 }, 3513 "managedFields": { 3514 "description": "ManagedFields maps workflow-id and version to the set of fields\nthat are managed by that workflow. This is mostly for internal\nhousekeeping, and users typically shouldn't need to set or\nunderstand this field. A workflow can be the user's name, a\ncontroller's name, or the name of a specific apply path like\n\"ci-cd\". The set of fields is always in the version that the\nworkflow used when modifying the object.\n\n+optional", 3515 "type": "array", 3516 "items": { 3517 "$ref": "#/definitions/v1ManagedFieldsEntry" 3518 } 3519 }, 3520 "name": { 3521 "type": "string", 3522 "title": "Name must be unique within a namespace. Is required when creating resources, although\nsome resources may allow a client to request the generation of an appropriate name\nautomatically. Name is primarily intended for creation idempotence and configuration\ndefinition.\nCannot be updated.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#names\n+optional" 3523 }, 3524 "namespace": { 3525 "description": "Namespace defines the space within which each name must be unique. An empty namespace is\nequivalent to the \"default\" namespace, but \"default\" is the canonical representation.\nNot all objects are required to be scoped to a namespace - the value of this field for\nthose objects will be empty.\n\nMust be a DNS_LABEL.\nCannot be updated.\nMore info: http://kubernetes.io/docs/user-guide/namespaces\n+optional", 3526 "type": "string" 3527 }, 3528 "ownerReferences": { 3529 "type": "array", 3530 "title": "List of objects depended by this object. If ALL objects in the list have\nbeen deleted, this object will be garbage collected. If this object is managed by a controller,\nthen an entry in this list will point to this controller, with the controller field set to true.\nThere cannot be more than one managing controller.\n+optional\n+patchMergeKey=uid\n+patchStrategy=merge", 3531 "items": { 3532 "$ref": "#/definitions/v1OwnerReference" 3533 } 3534 }, 3535 "resourceVersion": { 3536 "description": "An opaque value that represents the internal version of this object that can\nbe used by clients to determine when objects have changed. May be used for optimistic\nconcurrency, change detection, and the watch operation on a resource or set of resources.\nClients must treat these values as opaque and passed unmodified back to the server.\nThey may only be valid for a particular resource or set of resources.\n\nPopulated by the system.\nRead-only.\nValue must be treated as opaque by clients and .\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency\n+optional", 3537 "type": "string" 3538 }, 3539 "selfLink": { 3540 "description": "SelfLink is a URL representing this object.\nPopulated by the system.\nRead-only.\n\nDEPRECATED\nKubernetes will stop propagating this field in 1.20 release and the field is planned\nto be removed in 1.21 release.\n+optional", 3541 "type": "string" 3542 }, 3543 "uid": { 3544 "description": "UID is the unique in time and space value for this object. It is typically generated by\nthe server on successful creation of a resource and is not allowed to change on PUT\noperations.\n\nPopulated by the system.\nRead-only.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#uids\n+optional", 3545 "type": "string" 3546 } 3547 } 3548 }, 3549 "v1ObjectReference": { 3550 "type": "object", 3551 "title": "ObjectReference contains enough information to let you inspect or modify the referred object.\n---\nNew uses of this type are discouraged because of difficulty describing its usage when embedded in APIs.\n 1. Ignored fields. It includes many fields which are not generally honored. For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage.\n 2. Invalid usage help. It is impossible to add specific help for individual usage. In most embedded usages, there are particular\n restrictions like, \"must refer only to types A and B\" or \"UID not honored\" or \"name must be restricted\".\n Those cannot be well described when embedded.\n 3. Inconsistent validation. Because the usages are different, the validation rules are different by usage, which makes it hard for users to predict what will happen.\n 4. The fields are both imprecise and overly precise. Kind is not a precise mapping to a URL. This can produce ambiguity\n during interpretation and require a REST mapping. In most cases, the dependency is on the group,resource tuple\n and the version of the actual struct is irrelevant.\n 5. We cannot easily change it. Because this type is embedded in many locations, updates to this type\n will affect numerous schemas. Don't make new APIs embed an underspecified API type they do not control.\nInstead of using this type, create a locally provided and used type that is well-focused on your reference.\nFor example, ServiceReferences for admission registration: https://github.com/kubernetes/api/blob/release-1.17/admissionregistration/v1/types.go#L533 .\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", 3552 "properties": { 3553 "apiVersion": { 3554 "type": "string", 3555 "title": "API version of the referent.\n+optional" 3556 }, 3557 "fieldPath": { 3558 "type": "string", 3559 "title": "If referring to a piece of an object instead of an entire object, this string\nshould contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2].\nFor example, if the object reference is to a container within a pod, this would take on a value like:\n\"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered\nthe event) or if no container name is specified \"spec.containers[2]\" (container with\nindex 2 in this pod). This syntax is chosen only to have some well-defined way of\nreferencing a part of an object.\nTODO: this design is not final and this field is subject to change in the future.\n+optional" 3560 }, 3561 "kind": { 3562 "type": "string", 3563 "title": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\n+optional" 3564 }, 3565 "name": { 3566 "type": "string", 3567 "title": "Name of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names\n+optional" 3568 }, 3569 "namespace": { 3570 "type": "string", 3571 "title": "Namespace of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/\n+optional" 3572 }, 3573 "resourceVersion": { 3574 "type": "string", 3575 "title": "Specific resourceVersion to which this reference is made, if any.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency\n+optional" 3576 }, 3577 "uid": { 3578 "type": "string", 3579 "title": "UID of the referent.\nMore info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids\n+optional" 3580 } 3581 } 3582 }, 3583 "v1OwnerReference": { 3584 "description": "OwnerReference contains enough information to let you identify an owning\nobject. An owning object must be in the same namespace as the dependent, or\nbe cluster-scoped, so there is no namespace field.", 3585 "type": "object", 3586 "properties": { 3587 "apiVersion": { 3588 "description": "API version of the referent.", 3589 "type": "string" 3590 }, 3591 "blockOwnerDeletion": { 3592 "type": "boolean", 3593 "format": "boolean", 3594 "title": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then\nthe owner cannot be deleted from the key-value store until this\nreference is removed.\nDefaults to false.\nTo set this field, a user needs \"delete\" permission of the owner,\notherwise 422 (Unprocessable Entity) will be returned.\n+optional" 3595 }, 3596 "controller": { 3597 "type": "boolean", 3598 "format": "boolean", 3599 "title": "If true, this reference points to the managing controller.\n+optional" 3600 }, 3601 "kind": { 3602 "type": "string", 3603 "title": "Kind of the referent.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds" 3604 }, 3605 "name": { 3606 "type": "string", 3607 "title": "Name of the referent.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#names" 3608 }, 3609 "uid": { 3610 "type": "string", 3611 "title": "UID of the referent.\nMore info: http://kubernetes.io/docs/user-guide/identifiers#uids" 3612 } 3613 } 3614 }, 3615 "v1Time": { 3616 "description": "Time is a wrapper around time.Time which supports correct\nmarshaling to YAML and JSON. Wrappers are provided for many\nof the factory methods that the time package offers.\n\n+protobuf.options.marshal=false\n+protobuf.as=Timestamp\n+protobuf.options.(gogoproto.goproto_stringer)=false", 3617 "type": "object", 3618 "properties": { 3619 "nanos": { 3620 "description": "Non-negative fractions of a second at nanosecond resolution. Negative\nsecond values with fractions must still have non-negative nanos values\nthat count forward in time. Must be from 0 to 999,999,999\ninclusive. This field may be limited in precision depending on context.", 3621 "type": "integer", 3622 "format": "int32" 3623 }, 3624 "seconds": { 3625 "description": "Represents seconds of UTC time since Unix epoch\n1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to\n9999-12-31T23:59:59Z inclusive.", 3626 "type": "string", 3627 "format": "int64" 3628 } 3629 } 3630 }, 3631 "v1alpha1AWSAuthConfig": { 3632 "type": "object", 3633 "title": "AWSAuthConfig is an AWS IAM authentication configuration", 3634 "properties": { 3635 "clusterName": { 3636 "type": "string", 3637 "title": "ClusterName contains AWS cluster name" 3638 }, 3639 "roleARN": { 3640 "description": "RoleARN contains optional role ARN. If set then AWS IAM Authenticator assume a role to perform cluster operations instead of the default AWS credential provider chain.", 3641 "type": "string" 3642 } 3643 } 3644 }, 3645 "v1alpha1AppProject": { 3646 "type": "object", 3647 "title": "AppProject provides a logical grouping of applications, providing controls for:\n* where the apps may deploy to (cluster whitelist)\n* what may be deployed (repository whitelist, resource whitelist/blacklist)\n* who can access these applications (roles, OIDC group claims bindings)\n* and what they can do (RBAC policies)\n* automation access to these roles (JWT tokens)\n+genclient\n+genclient:noStatus\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object\n+kubebuilder:resource:path=appprojects,shortName=appproj;appprojs", 3648 "properties": { 3649 "metadata": { 3650 "$ref": "#/definitions/v1ObjectMeta" 3651 }, 3652 "spec": { 3653 "$ref": "#/definitions/v1alpha1AppProjectSpec" 3654 }, 3655 "status": { 3656 "$ref": "#/definitions/v1alpha1AppProjectStatus" 3657 } 3658 } 3659 }, 3660 "v1alpha1AppProjectList": { 3661 "type": "object", 3662 "title": "AppProjectList is list of AppProject resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", 3663 "properties": { 3664 "items": { 3665 "type": "array", 3666 "items": { 3667 "$ref": "#/definitions/v1alpha1AppProject" 3668 } 3669 }, 3670 "metadata": { 3671 "$ref": "#/definitions/v1ListMeta" 3672 } 3673 } 3674 }, 3675 "v1alpha1AppProjectSpec": { 3676 "type": "object", 3677 "title": "AppProjectSpec is the specification of an AppProject", 3678 "properties": { 3679 "clusterResourceBlacklist": { 3680 "type": "array", 3681 "title": "ClusterResourceBlacklist contains list of blacklisted cluster level resources", 3682 "items": { 3683 "$ref": "#/definitions/v1GroupKind" 3684 } 3685 }, 3686 "clusterResourceWhitelist": { 3687 "type": "array", 3688 "title": "ClusterResourceWhitelist contains list of whitelisted cluster level resources", 3689 "items": { 3690 "$ref": "#/definitions/v1GroupKind" 3691 } 3692 }, 3693 "description": { 3694 "type": "string", 3695 "title": "Description contains optional project description" 3696 }, 3697 "destinations": { 3698 "type": "array", 3699 "title": "Destinations contains list of destinations available for deployment", 3700 "items": { 3701 "$ref": "#/definitions/v1alpha1ApplicationDestination" 3702 } 3703 }, 3704 "namespaceResourceBlacklist": { 3705 "type": "array", 3706 "title": "NamespaceResourceBlacklist contains list of blacklisted namespace level resources", 3707 "items": { 3708 "$ref": "#/definitions/v1GroupKind" 3709 } 3710 }, 3711 "namespaceResourceWhitelist": { 3712 "type": "array", 3713 "title": "NamespaceResourceWhitelist contains list of whitelisted namespace level resources", 3714 "items": { 3715 "$ref": "#/definitions/v1GroupKind" 3716 } 3717 }, 3718 "orphanedResources": { 3719 "$ref": "#/definitions/v1alpha1OrphanedResourcesMonitorSettings" 3720 }, 3721 "roles": { 3722 "type": "array", 3723 "title": "Roles are user defined RBAC roles associated with this project", 3724 "items": { 3725 "$ref": "#/definitions/v1alpha1ProjectRole" 3726 } 3727 }, 3728 "signatureKeys": { 3729 "type": "array", 3730 "title": "List of PGP key IDs that commits to be synced to must be signed with", 3731 "items": { 3732 "$ref": "#/definitions/v1alpha1SignatureKey" 3733 } 3734 }, 3735 "sourceRepos": { 3736 "type": "array", 3737 "title": "SourceRepos contains list of repository URLs which can be used for deployment", 3738 "items": { 3739 "type": "string" 3740 } 3741 }, 3742 "syncWindows": { 3743 "type": "array", 3744 "title": "SyncWindows controls when syncs can be run for apps in this project", 3745 "items": { 3746 "$ref": "#/definitions/v1alpha1SyncWindow" 3747 } 3748 } 3749 } 3750 }, 3751 "v1alpha1AppProjectStatus": { 3752 "type": "object", 3753 "title": "AppProjectStatus contains information about appproj", 3754 "properties": { 3755 "jwtTokensByRole": { 3756 "type": "object", 3757 "additionalProperties": { 3758 "$ref": "#/definitions/v1alpha1JWTTokens" 3759 } 3760 } 3761 } 3762 }, 3763 "v1alpha1Application": { 3764 "type": "object", 3765 "title": "Application is a definition of Application resource.\n+genclient\n+genclient:noStatus\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object\n+kubebuilder:resource:path=applications,shortName=app;apps\n+kubebuilder:printcolumn:name=\"Sync Status\",type=string,JSONPath=`.status.sync.status`\n+kubebuilder:printcolumn:name=\"Health Status\",type=string,JSONPath=`.status.health.status`\n+kubebuilder:printcolumn:name=\"Revision\",type=string,JSONPath=`.status.sync.revision`,priority=10", 3766 "properties": { 3767 "metadata": { 3768 "$ref": "#/definitions/v1ObjectMeta" 3769 }, 3770 "operation": { 3771 "$ref": "#/definitions/v1alpha1Operation" 3772 }, 3773 "spec": { 3774 "$ref": "#/definitions/v1alpha1ApplicationSpec" 3775 }, 3776 "status": { 3777 "$ref": "#/definitions/v1alpha1ApplicationStatus" 3778 } 3779 } 3780 }, 3781 "v1alpha1ApplicationCondition": { 3782 "type": "object", 3783 "title": "ApplicationCondition contains details about current application condition", 3784 "properties": { 3785 "lastTransitionTime": { 3786 "$ref": "#/definitions/v1Time" 3787 }, 3788 "message": { 3789 "type": "string", 3790 "title": "Message contains human-readable message indicating details about condition" 3791 }, 3792 "type": { 3793 "type": "string", 3794 "title": "Type is an application condition type" 3795 } 3796 } 3797 }, 3798 "v1alpha1ApplicationDestination": { 3799 "type": "object", 3800 "title": "ApplicationDestination contains deployment destination information", 3801 "properties": { 3802 "name": { 3803 "type": "string", 3804 "title": "Name of the destination cluster which can be used instead of server (url) field" 3805 }, 3806 "namespace": { 3807 "type": "string", 3808 "title": "Namespace overrides the environment namespace value in the ksonnet app.yaml" 3809 }, 3810 "server": { 3811 "type": "string", 3812 "title": "Server overrides the environment server value in the ksonnet app.yaml" 3813 } 3814 } 3815 }, 3816 "v1alpha1ApplicationList": { 3817 "type": "object", 3818 "title": "ApplicationList is list of Application resources\n+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object", 3819 "properties": { 3820 "items": { 3821 "type": "array", 3822 "items": { 3823 "$ref": "#/definitions/v1alpha1Application" 3824 } 3825 }, 3826 "metadata": { 3827 "$ref": "#/definitions/v1ListMeta" 3828 } 3829 } 3830 }, 3831 "v1alpha1ApplicationSource": { 3832 "description": "ApplicationSource contains information about github repository, path within repository and target application environment.", 3833 "type": "object", 3834 "properties": { 3835 "chart": { 3836 "type": "string", 3837 "title": "Chart is a Helm chart name" 3838 }, 3839 "directory": { 3840 "$ref": "#/definitions/v1alpha1ApplicationSourceDirectory" 3841 }, 3842 "helm": { 3843 "$ref": "#/definitions/v1alpha1ApplicationSourceHelm" 3844 }, 3845 "ksonnet": { 3846 "$ref": "#/definitions/v1alpha1ApplicationSourceKsonnet" 3847 }, 3848 "kustomize": { 3849 "$ref": "#/definitions/v1alpha1ApplicationSourceKustomize" 3850 }, 3851 "path": { 3852 "type": "string", 3853 "title": "Path is a directory path within the Git repository" 3854 }, 3855 "plugin": { 3856 "$ref": "#/definitions/v1alpha1ApplicationSourcePlugin" 3857 }, 3858 "repoURL": { 3859 "type": "string", 3860 "title": "RepoURL is the repository URL of the application manifests" 3861 }, 3862 "targetRevision": { 3863 "type": "string", 3864 "title": "TargetRevision defines the commit, tag, or branch in which to sync the application to.\nIf omitted, will sync to HEAD" 3865 } 3866 } 3867 }, 3868 "v1alpha1ApplicationSourceDirectory": { 3869 "type": "object", 3870 "properties": { 3871 "exclude": { 3872 "type": "string" 3873 }, 3874 "jsonnet": { 3875 "$ref": "#/definitions/v1alpha1ApplicationSourceJsonnet" 3876 }, 3877 "recurse": { 3878 "type": "boolean", 3879 "format": "boolean" 3880 } 3881 } 3882 }, 3883 "v1alpha1ApplicationSourceHelm": { 3884 "type": "object", 3885 "title": "ApplicationSourceHelm holds helm specific options", 3886 "properties": { 3887 "fileParameters": { 3888 "type": "array", 3889 "title": "FileParameters are file parameters to the helm template", 3890 "items": { 3891 "$ref": "#/definitions/v1alpha1HelmFileParameter" 3892 } 3893 }, 3894 "parameters": { 3895 "type": "array", 3896 "title": "Parameters are parameters to the helm template", 3897 "items": { 3898 "$ref": "#/definitions/v1alpha1HelmParameter" 3899 } 3900 }, 3901 "releaseName": { 3902 "type": "string", 3903 "title": "The Helm release name. If omitted it will use the application name" 3904 }, 3905 "valueFiles": { 3906 "type": "array", 3907 "title": "ValuesFiles is a list of Helm value files to use when generating a template", 3908 "items": { 3909 "type": "string" 3910 } 3911 }, 3912 "values": { 3913 "type": "string", 3914 "title": "Values is Helm values, typically defined as a block" 3915 }, 3916 "version": { 3917 "type": "string", 3918 "title": "Version is the Helm version to use for templating with" 3919 } 3920 } 3921 }, 3922 "v1alpha1ApplicationSourceJsonnet": { 3923 "type": "object", 3924 "title": "ApplicationSourceJsonnet holds jsonnet specific options", 3925 "properties": { 3926 "extVars": { 3927 "type": "array", 3928 "title": "ExtVars is a list of Jsonnet External Variables", 3929 "items": { 3930 "$ref": "#/definitions/v1alpha1JsonnetVar" 3931 } 3932 }, 3933 "libs": { 3934 "type": "array", 3935 "title": "Additional library search dirs", 3936 "items": { 3937 "type": "string" 3938 } 3939 }, 3940 "tlas": { 3941 "type": "array", 3942 "title": "TLAS is a list of Jsonnet Top-level Arguments", 3943 "items": { 3944 "$ref": "#/definitions/v1alpha1JsonnetVar" 3945 } 3946 } 3947 } 3948 }, 3949 "v1alpha1ApplicationSourceKsonnet": { 3950 "type": "object", 3951 "title": "ApplicationSourceKsonnet holds ksonnet specific options", 3952 "properties": { 3953 "environment": { 3954 "type": "string", 3955 "title": "Environment is a ksonnet application environment name" 3956 }, 3957 "parameters": { 3958 "type": "array", 3959 "title": "Parameters are a list of ksonnet component parameter override values", 3960 "items": { 3961 "$ref": "#/definitions/v1alpha1KsonnetParameter" 3962 } 3963 } 3964 } 3965 }, 3966 "v1alpha1ApplicationSourceKustomize": { 3967 "type": "object", 3968 "title": "ApplicationSourceKustomize holds kustomize specific options", 3969 "properties": { 3970 "commonAnnotations": { 3971 "type": "object", 3972 "title": "CommonAnnotations adds additional kustomize commonAnnotations", 3973 "additionalProperties": { 3974 "type": "string" 3975 } 3976 }, 3977 "commonLabels": { 3978 "type": "object", 3979 "title": "CommonLabels adds additional kustomize commonLabels", 3980 "additionalProperties": { 3981 "type": "string" 3982 } 3983 }, 3984 "images": { 3985 "type": "array", 3986 "title": "Images are kustomize image overrides", 3987 "items": { 3988 "type": "string" 3989 } 3990 }, 3991 "namePrefix": { 3992 "type": "string", 3993 "title": "NamePrefix is a prefix appended to resources for kustomize apps" 3994 }, 3995 "nameSuffix": { 3996 "type": "string", 3997 "title": "NameSuffix is a suffix appended to resources for kustomize apps" 3998 }, 3999 "version": { 4000 "type": "string", 4001 "title": "Version contains optional Kustomize version" 4002 } 4003 } 4004 }, 4005 "v1alpha1ApplicationSourcePlugin": { 4006 "type": "object", 4007 "title": "ApplicationSourcePlugin holds config management plugin specific options", 4008 "properties": { 4009 "env": { 4010 "type": "array", 4011 "items": { 4012 "$ref": "#/definitions/applicationv1alpha1EnvEntry" 4013 } 4014 }, 4015 "name": { 4016 "type": "string" 4017 } 4018 } 4019 }, 4020 "v1alpha1ApplicationSpec": { 4021 "description": "ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision.", 4022 "type": "object", 4023 "properties": { 4024 "destination": { 4025 "$ref": "#/definitions/v1alpha1ApplicationDestination" 4026 }, 4027 "ignoreDifferences": { 4028 "type": "array", 4029 "title": "IgnoreDifferences controls resources fields which should be ignored during comparison", 4030 "items": { 4031 "$ref": "#/definitions/v1alpha1ResourceIgnoreDifferences" 4032 } 4033 }, 4034 "info": { 4035 "type": "array", 4036 "title": "Infos contains a list of useful information (URLs, email addresses, and plain text) that relates to the application", 4037 "items": { 4038 "$ref": "#/definitions/v1alpha1Info" 4039 } 4040 }, 4041 "project": { 4042 "description": "Project is a application project name. Empty name means that application belongs to 'default' project.", 4043 "type": "string" 4044 }, 4045 "revisionHistoryLimit": { 4046 "description": "This limits this number of items kept in the apps revision history.\nThis should only be changed in exceptional circumstances.\nSetting to zero will store no history. This will reduce storage used.\nIncreasing will increase the space used to store the history, so we do not recommend increasing it.\nDefault is 10.", 4047 "type": "string", 4048 "format": "int64" 4049 }, 4050 "source": { 4051 "$ref": "#/definitions/v1alpha1ApplicationSource" 4052 }, 4053 "syncPolicy": { 4054 "$ref": "#/definitions/v1alpha1SyncPolicy" 4055 } 4056 } 4057 }, 4058 "v1alpha1ApplicationStatus": { 4059 "type": "object", 4060 "title": "ApplicationStatus contains information about application sync, health status", 4061 "properties": { 4062 "conditions": { 4063 "type": "array", 4064 "items": { 4065 "$ref": "#/definitions/v1alpha1ApplicationCondition" 4066 } 4067 }, 4068 "health": { 4069 "$ref": "#/definitions/v1alpha1HealthStatus" 4070 }, 4071 "history": { 4072 "type": "array", 4073 "items": { 4074 "$ref": "#/definitions/v1alpha1RevisionHistory" 4075 } 4076 }, 4077 "observedAt": { 4078 "$ref": "#/definitions/v1Time" 4079 }, 4080 "operationState": { 4081 "$ref": "#/definitions/v1alpha1OperationState" 4082 }, 4083 "reconciledAt": { 4084 "$ref": "#/definitions/v1Time" 4085 }, 4086 "resources": { 4087 "type": "array", 4088 "items": { 4089 "$ref": "#/definitions/v1alpha1ResourceStatus" 4090 } 4091 }, 4092 "sourceType": { 4093 "type": "string" 4094 }, 4095 "summary": { 4096 "$ref": "#/definitions/v1alpha1ApplicationSummary" 4097 }, 4098 "sync": { 4099 "$ref": "#/definitions/v1alpha1SyncStatus" 4100 } 4101 } 4102 }, 4103 "v1alpha1ApplicationSummary": { 4104 "type": "object", 4105 "properties": { 4106 "externalURLs": { 4107 "description": "ExternalURLs holds all external URLs of application child resources.", 4108 "type": "array", 4109 "items": { 4110 "type": "string" 4111 } 4112 }, 4113 "images": { 4114 "description": "Images holds all images of application child resources.", 4115 "type": "array", 4116 "items": { 4117 "type": "string" 4118 } 4119 } 4120 } 4121 }, 4122 "v1alpha1ApplicationTree": { 4123 "type": "object", 4124 "title": "ApplicationTree holds nodes which belongs to the application", 4125 "properties": { 4126 "nodes": { 4127 "description": "Nodes contains list of nodes which either directly managed by the application and children of directly managed nodes.", 4128 "type": "array", 4129 "items": { 4130 "$ref": "#/definitions/v1alpha1ResourceNode" 4131 } 4132 }, 4133 "orphanedNodes": { 4134 "description": "OrphanedNodes contains if or orphaned nodes: nodes which are not managed by the app but in the same namespace. List is populated only if orphaned resources enabled in app project.", 4135 "type": "array", 4136 "items": { 4137 "$ref": "#/definitions/v1alpha1ResourceNode" 4138 } 4139 } 4140 } 4141 }, 4142 "v1alpha1ApplicationWatchEvent": { 4143 "description": "ApplicationWatchEvent contains information about application change.", 4144 "type": "object", 4145 "properties": { 4146 "application": { 4147 "$ref": "#/definitions/v1alpha1Application" 4148 }, 4149 "type": { 4150 "type": "string" 4151 } 4152 } 4153 }, 4154 "v1alpha1Backoff": { 4155 "type": "object", 4156 "title": "Backoff is a backoff strategy to use within retryStrategy", 4157 "properties": { 4158 "duration": { 4159 "type": "string", 4160 "title": "Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")" 4161 }, 4162 "factor": { 4163 "type": "string", 4164 "format": "int64", 4165 "title": "Factor is a factor to multiply the base duration after each failed retry" 4166 }, 4167 "maxDuration": { 4168 "type": "string", 4169 "title": "MaxDuration is the maximum amount of time allowed for the backoff strategy" 4170 } 4171 } 4172 }, 4173 "v1alpha1Cluster": { 4174 "type": "object", 4175 "title": "Cluster is the definition of a cluster resource", 4176 "properties": { 4177 "config": { 4178 "$ref": "#/definitions/v1alpha1ClusterConfig" 4179 }, 4180 "connectionState": { 4181 "$ref": "#/definitions/v1alpha1ConnectionState" 4182 }, 4183 "info": { 4184 "$ref": "#/definitions/v1alpha1ClusterInfo" 4185 }, 4186 "name": { 4187 "type": "string", 4188 "title": "Name of the cluster. If omitted, will use the server address" 4189 }, 4190 "namespaces": { 4191 "description": "Holds list of namespaces which are accessible in that cluster. Cluster level resources would be ignored if namespace list is not empty.", 4192 "type": "array", 4193 "items": { 4194 "type": "string" 4195 } 4196 }, 4197 "refreshRequestedAt": { 4198 "$ref": "#/definitions/v1Time" 4199 }, 4200 "server": { 4201 "type": "string", 4202 "title": "Server is the API server URL of the Kubernetes cluster" 4203 }, 4204 "serverVersion": { 4205 "type": "string", 4206 "title": "DEPRECATED: use Info.ServerVersion field instead.\nThe server version" 4207 }, 4208 "shard": { 4209 "description": "Shard contains optional shard number. Calculated on the fly by the application controller if not specified.", 4210 "type": "string", 4211 "format": "int64" 4212 } 4213 } 4214 }, 4215 "v1alpha1ClusterCacheInfo": { 4216 "type": "object", 4217 "properties": { 4218 "apisCount": { 4219 "type": "string", 4220 "format": "int64", 4221 "title": "APIsCount holds number of observed Kubernetes API count" 4222 }, 4223 "lastCacheSyncTime": { 4224 "$ref": "#/definitions/v1Time" 4225 }, 4226 "resourcesCount": { 4227 "type": "string", 4228 "format": "int64", 4229 "title": "ResourcesCount holds number of observed Kubernetes resources" 4230 } 4231 } 4232 }, 4233 "v1alpha1ClusterConfig": { 4234 "description": "ClusterConfig is the configuration attributes. This structure is subset of the go-client\nrest.Config with annotations added for marshalling.", 4235 "type": "object", 4236 "properties": { 4237 "awsAuthConfig": { 4238 "$ref": "#/definitions/v1alpha1AWSAuthConfig" 4239 }, 4240 "bearerToken": { 4241 "description": "Server requires Bearer authentication. This client will not attempt to use\nrefresh tokens for an OAuth2 flow.\nTODO: demonstrate an OAuth2 compatible client.", 4242 "type": "string" 4243 }, 4244 "execProviderConfig": { 4245 "$ref": "#/definitions/v1alpha1ExecProviderConfig" 4246 }, 4247 "password": { 4248 "type": "string" 4249 }, 4250 "tlsClientConfig": { 4251 "$ref": "#/definitions/v1alpha1TLSClientConfig" 4252 }, 4253 "username": { 4254 "type": "string", 4255 "title": "Server requires Basic authentication" 4256 } 4257 } 4258 }, 4259 "v1alpha1ClusterInfo": { 4260 "type": "object", 4261 "properties": { 4262 "applicationsCount": { 4263 "type": "string", 4264 "format": "int64" 4265 }, 4266 "cacheInfo": { 4267 "$ref": "#/definitions/v1alpha1ClusterCacheInfo" 4268 }, 4269 "connectionState": { 4270 "$ref": "#/definitions/v1alpha1ConnectionState" 4271 }, 4272 "serverVersion": { 4273 "type": "string" 4274 } 4275 } 4276 }, 4277 "v1alpha1ClusterList": { 4278 "description": "ClusterList is a collection of Clusters.", 4279 "type": "object", 4280 "properties": { 4281 "items": { 4282 "type": "array", 4283 "items": { 4284 "$ref": "#/definitions/v1alpha1Cluster" 4285 } 4286 }, 4287 "metadata": { 4288 "$ref": "#/definitions/v1ListMeta" 4289 } 4290 } 4291 }, 4292 "v1alpha1Command": { 4293 "type": "object", 4294 "title": "Command holds binary path and arguments list", 4295 "properties": { 4296 "args": { 4297 "type": "array", 4298 "items": { 4299 "type": "string" 4300 } 4301 }, 4302 "command": { 4303 "type": "array", 4304 "items": { 4305 "type": "string" 4306 } 4307 } 4308 } 4309 }, 4310 "v1alpha1ComparedTo": { 4311 "type": "object", 4312 "title": "ComparedTo contains application source and target which was used for resources comparison", 4313 "properties": { 4314 "destination": { 4315 "$ref": "#/definitions/v1alpha1ApplicationDestination" 4316 }, 4317 "source": { 4318 "$ref": "#/definitions/v1alpha1ApplicationSource" 4319 } 4320 } 4321 }, 4322 "v1alpha1ConfigManagementPlugin": { 4323 "type": "object", 4324 "title": "ConfigManagementPlugin contains config management plugin configuration", 4325 "properties": { 4326 "generate": { 4327 "$ref": "#/definitions/v1alpha1Command" 4328 }, 4329 "init": { 4330 "$ref": "#/definitions/v1alpha1Command" 4331 }, 4332 "name": { 4333 "type": "string" 4334 } 4335 } 4336 }, 4337 "v1alpha1ConnectionState": { 4338 "type": "object", 4339 "title": "ConnectionState contains information about remote resource connection state", 4340 "properties": { 4341 "attemptedAt": { 4342 "$ref": "#/definitions/v1Time" 4343 }, 4344 "message": { 4345 "type": "string" 4346 }, 4347 "status": { 4348 "type": "string" 4349 } 4350 } 4351 }, 4352 "v1alpha1ExecProviderConfig": { 4353 "type": "object", 4354 "title": "ExecProviderConfig is config used to call an external command to perform cluster authentication\nSee: https://godoc.org/k8s.io/client-go/tools/clientcmd/api#ExecConfig", 4355 "properties": { 4356 "apiVersion": { 4357 "type": "string", 4358 "title": "Preferred input version of the ExecInfo" 4359 }, 4360 "args": { 4361 "type": "array", 4362 "title": "Arguments to pass to the command when executing it", 4363 "items": { 4364 "type": "string" 4365 } 4366 }, 4367 "command": { 4368 "type": "string", 4369 "title": "Command to execute" 4370 }, 4371 "env": { 4372 "type": "object", 4373 "title": "Env defines additional environment variables to expose to the process", 4374 "additionalProperties": { 4375 "type": "string" 4376 } 4377 }, 4378 "installHint": { 4379 "type": "string", 4380 "title": "This text is shown to the user when the executable doesn't seem to be present" 4381 } 4382 } 4383 }, 4384 "v1alpha1GnuPGPublicKey": { 4385 "type": "object", 4386 "title": "GnuPGPublicKey is a representation of a GnuPG public key", 4387 "properties": { 4388 "fingerprint": { 4389 "type": "string", 4390 "title": "Fingerprint of the key" 4391 }, 4392 "keyData": { 4393 "type": "string", 4394 "title": "Key data" 4395 }, 4396 "keyID": { 4397 "type": "string", 4398 "title": "KeyID in hexadecimal string format" 4399 }, 4400 "owner": { 4401 "type": "string", 4402 "title": "Owner identification" 4403 }, 4404 "subType": { 4405 "type": "string", 4406 "title": "Key sub type (e.g. rsa4096)" 4407 }, 4408 "trust": { 4409 "type": "string", 4410 "title": "Trust level" 4411 } 4412 } 4413 }, 4414 "v1alpha1GnuPGPublicKeyList": { 4415 "type": "object", 4416 "title": "GnuPGPublicKeyList is a collection of GnuPGPublicKey objects", 4417 "properties": { 4418 "items": { 4419 "type": "array", 4420 "items": { 4421 "$ref": "#/definitions/v1alpha1GnuPGPublicKey" 4422 } 4423 }, 4424 "metadata": { 4425 "$ref": "#/definitions/v1ListMeta" 4426 } 4427 } 4428 }, 4429 "v1alpha1HealthStatus": { 4430 "type": "object", 4431 "properties": { 4432 "message": { 4433 "type": "string" 4434 }, 4435 "status": { 4436 "type": "string" 4437 } 4438 } 4439 }, 4440 "v1alpha1HelmFileParameter": { 4441 "type": "object", 4442 "title": "HelmFileParameter is a file parameter to a helm template", 4443 "properties": { 4444 "name": { 4445 "type": "string", 4446 "title": "Name is the name of the helm parameter" 4447 }, 4448 "path": { 4449 "type": "string", 4450 "title": "Path is the path value for the helm parameter" 4451 } 4452 } 4453 }, 4454 "v1alpha1HelmParameter": { 4455 "type": "object", 4456 "title": "HelmParameter is a parameter to a helm template", 4457 "properties": { 4458 "forceString": { 4459 "type": "boolean", 4460 "format": "boolean", 4461 "title": "ForceString determines whether to tell Helm to interpret booleans and numbers as strings" 4462 }, 4463 "name": { 4464 "type": "string", 4465 "title": "Name is the name of the helm parameter" 4466 }, 4467 "value": { 4468 "type": "string", 4469 "title": "Value is the value for the helm parameter" 4470 } 4471 } 4472 }, 4473 "v1alpha1Info": { 4474 "type": "object", 4475 "properties": { 4476 "name": { 4477 "type": "string" 4478 }, 4479 "value": { 4480 "type": "string" 4481 } 4482 } 4483 }, 4484 "v1alpha1InfoItem": { 4485 "type": "object", 4486 "title": "InfoItem contains human readable information about object", 4487 "properties": { 4488 "name": { 4489 "description": "Name is a human readable title for this piece of information.", 4490 "type": "string" 4491 }, 4492 "value": { 4493 "description": "Value is human readable content.", 4494 "type": "string" 4495 } 4496 } 4497 }, 4498 "v1alpha1JWTToken": { 4499 "type": "object", 4500 "title": "JWTToken holds the issuedAt and expiresAt values of a token", 4501 "properties": { 4502 "exp": { 4503 "type": "string", 4504 "format": "int64" 4505 }, 4506 "iat": { 4507 "type": "string", 4508 "format": "int64" 4509 }, 4510 "id": { 4511 "type": "string" 4512 } 4513 } 4514 }, 4515 "v1alpha1JWTTokens": { 4516 "type": "object", 4517 "properties": { 4518 "items": { 4519 "type": "array", 4520 "items": { 4521 "$ref": "#/definitions/v1alpha1JWTToken" 4522 } 4523 } 4524 } 4525 }, 4526 "v1alpha1JsonnetVar": { 4527 "type": "object", 4528 "title": "JsonnetVar is a jsonnet variable", 4529 "properties": { 4530 "code": { 4531 "type": "boolean", 4532 "format": "boolean" 4533 }, 4534 "name": { 4535 "type": "string" 4536 }, 4537 "value": { 4538 "type": "string" 4539 } 4540 } 4541 }, 4542 "v1alpha1KnownTypeField": { 4543 "type": "object", 4544 "title": "KnownTypeField contains mapping between CRD field and known Kubernetes type", 4545 "properties": { 4546 "field": { 4547 "type": "string" 4548 }, 4549 "type": { 4550 "type": "string" 4551 } 4552 } 4553 }, 4554 "v1alpha1KsonnetParameter": { 4555 "type": "object", 4556 "title": "KsonnetParameter is a ksonnet component parameter", 4557 "properties": { 4558 "component": { 4559 "type": "string" 4560 }, 4561 "name": { 4562 "type": "string" 4563 }, 4564 "value": { 4565 "type": "string" 4566 } 4567 } 4568 }, 4569 "v1alpha1KustomizeOptions": { 4570 "type": "object", 4571 "title": "KustomizeOptions are options for kustomize to use when building manifests", 4572 "properties": { 4573 "binaryPath": { 4574 "type": "string", 4575 "title": "BinaryPath holds optional path to kustomize binary" 4576 }, 4577 "buildOptions": { 4578 "type": "string", 4579 "title": "BuildOptions is a string of build parameters to use when calling `kustomize build`" 4580 } 4581 } 4582 }, 4583 "v1alpha1Operation": { 4584 "description": "Operation contains requested operation parameters.", 4585 "type": "object", 4586 "properties": { 4587 "info": { 4588 "type": "array", 4589 "items": { 4590 "$ref": "#/definitions/v1alpha1Info" 4591 } 4592 }, 4593 "initiatedBy": { 4594 "$ref": "#/definitions/v1alpha1OperationInitiator" 4595 }, 4596 "retry": { 4597 "$ref": "#/definitions/v1alpha1RetryStrategy" 4598 }, 4599 "sync": { 4600 "$ref": "#/definitions/v1alpha1SyncOperation" 4601 } 4602 } 4603 }, 4604 "v1alpha1OperationInitiator": { 4605 "type": "object", 4606 "title": "OperationInitiator holds information about the operation initiator", 4607 "properties": { 4608 "automated": { 4609 "description": "Automated is set to true if operation was initiated automatically by the application controller.", 4610 "type": "boolean", 4611 "format": "boolean" 4612 }, 4613 "username": { 4614 "description": "Name of a user who started operation.", 4615 "type": "string" 4616 } 4617 } 4618 }, 4619 "v1alpha1OperationState": { 4620 "description": "OperationState contains information about state of currently performing operation on application.", 4621 "type": "object", 4622 "properties": { 4623 "finishedAt": { 4624 "$ref": "#/definitions/v1Time" 4625 }, 4626 "message": { 4627 "description": "Message hold any pertinent messages when attempting to perform operation (typically errors).", 4628 "type": "string" 4629 }, 4630 "operation": { 4631 "$ref": "#/definitions/v1alpha1Operation" 4632 }, 4633 "phase": { 4634 "type": "string", 4635 "title": "Phase is the current phase of the operation" 4636 }, 4637 "retryCount": { 4638 "type": "string", 4639 "format": "int64", 4640 "title": "RetryCount contains time of operation retries" 4641 }, 4642 "startedAt": { 4643 "$ref": "#/definitions/v1Time" 4644 }, 4645 "syncResult": { 4646 "$ref": "#/definitions/v1alpha1SyncOperationResult" 4647 } 4648 } 4649 }, 4650 "v1alpha1OrphanedResourceKey": { 4651 "type": "object", 4652 "properties": { 4653 "group": { 4654 "type": "string" 4655 }, 4656 "kind": { 4657 "type": "string" 4658 }, 4659 "name": { 4660 "type": "string" 4661 } 4662 } 4663 }, 4664 "v1alpha1OrphanedResourcesMonitorSettings": { 4665 "type": "object", 4666 "title": "OrphanedResourcesMonitorSettings holds settings of orphaned resources monitoring", 4667 "properties": { 4668 "ignore": { 4669 "type": "array", 4670 "items": { 4671 "$ref": "#/definitions/v1alpha1OrphanedResourceKey" 4672 } 4673 }, 4674 "warn": { 4675 "type": "boolean", 4676 "format": "boolean", 4677 "title": "Warn indicates if warning condition should be created for apps which have orphaned resources" 4678 } 4679 } 4680 }, 4681 "v1alpha1OverrideIgnoreDiff": { 4682 "type": "object", 4683 "properties": { 4684 "jSONPointers": { 4685 "type": "array", 4686 "items": { 4687 "type": "string" 4688 } 4689 } 4690 } 4691 }, 4692 "v1alpha1ProjectRole": { 4693 "type": "object", 4694 "title": "ProjectRole represents a role that has access to a project", 4695 "properties": { 4696 "description": { 4697 "type": "string", 4698 "title": "Description is a description of the role" 4699 }, 4700 "groups": { 4701 "type": "array", 4702 "title": "Groups are a list of OIDC group claims bound to this role", 4703 "items": { 4704 "type": "string" 4705 } 4706 }, 4707 "jwtTokens": { 4708 "type": "array", 4709 "title": "JWTTokens are a list of generated JWT tokens bound to this role", 4710 "items": { 4711 "$ref": "#/definitions/v1alpha1JWTToken" 4712 } 4713 }, 4714 "name": { 4715 "type": "string", 4716 "title": "Name is a name for this role" 4717 }, 4718 "policies": { 4719 "type": "array", 4720 "title": "Policies Stores a list of casbin formated strings that define access policies for the role in the project", 4721 "items": { 4722 "type": "string" 4723 } 4724 } 4725 } 4726 }, 4727 "v1alpha1RepoCreds": { 4728 "type": "object", 4729 "title": "RepoCreds holds a repository credentials definition", 4730 "properties": { 4731 "password": { 4732 "type": "string", 4733 "title": "Password for authenticating at the repo server" 4734 }, 4735 "sshPrivateKey": { 4736 "type": "string", 4737 "title": "SSH private key data for authenticating at the repo server (only Git repos)" 4738 }, 4739 "tlsClientCertData": { 4740 "type": "string", 4741 "title": "TLS client cert data for authenticating at the repo server" 4742 }, 4743 "tlsClientCertKey": { 4744 "type": "string", 4745 "title": "TLS client cert key for authenticating at the repo server" 4746 }, 4747 "url": { 4748 "type": "string", 4749 "title": "URL is the URL that this credentials matches to" 4750 }, 4751 "username": { 4752 "type": "string", 4753 "title": "Username for authenticating at the repo server" 4754 } 4755 } 4756 }, 4757 "v1alpha1RepoCredsList": { 4758 "description": "RepositoryList is a collection of Repositories.", 4759 "type": "object", 4760 "properties": { 4761 "items": { 4762 "type": "array", 4763 "items": { 4764 "$ref": "#/definitions/v1alpha1RepoCreds" 4765 } 4766 }, 4767 "metadata": { 4768 "$ref": "#/definitions/v1ListMeta" 4769 } 4770 } 4771 }, 4772 "v1alpha1Repository": { 4773 "type": "object", 4774 "title": "Repository is a repository holding application configurations", 4775 "properties": { 4776 "connectionState": { 4777 "$ref": "#/definitions/v1alpha1ConnectionState" 4778 }, 4779 "enableLfs": { 4780 "type": "boolean", 4781 "format": "boolean", 4782 "title": "Whether git-lfs support should be enabled for this repo" 4783 }, 4784 "enableOCI": { 4785 "type": "boolean", 4786 "format": "boolean", 4787 "title": "Whether helm-oci support should be enabled for this repo" 4788 }, 4789 "inheritedCreds": { 4790 "type": "boolean", 4791 "format": "boolean", 4792 "title": "Whether credentials were inherited from a credential set" 4793 }, 4794 "insecure": { 4795 "type": "boolean", 4796 "format": "boolean", 4797 "title": "Whether the repo is insecure" 4798 }, 4799 "insecureIgnoreHostKey": { 4800 "type": "boolean", 4801 "format": "boolean", 4802 "title": "InsecureIgnoreHostKey should not be used anymore, Insecure is favoured\nonly for Git repos" 4803 }, 4804 "name": { 4805 "type": "string", 4806 "title": "only for Helm repos" 4807 }, 4808 "password": { 4809 "type": "string", 4810 "title": "Password for authenticating at the repo server" 4811 }, 4812 "repo": { 4813 "type": "string", 4814 "title": "URL of the repo" 4815 }, 4816 "sshPrivateKey": { 4817 "type": "string", 4818 "title": "SSH private key data for authenticating at the repo server\nonly for Git repos" 4819 }, 4820 "tlsClientCertData": { 4821 "type": "string", 4822 "title": "TLS client cert data for authenticating at the repo server" 4823 }, 4824 "tlsClientCertKey": { 4825 "type": "string", 4826 "title": "TLS client cert key for authenticating at the repo server" 4827 }, 4828 "type": { 4829 "type": "string", 4830 "title": "type of the repo, maybe \"git or \"helm, \"git\" is assumed if empty or absent" 4831 }, 4832 "username": { 4833 "type": "string", 4834 "title": "Username for authenticating at the repo server" 4835 } 4836 } 4837 }, 4838 "v1alpha1RepositoryCertificate": { 4839 "type": "object", 4840 "title": "A RepositoryCertificate is either SSH known hosts entry or TLS certificate", 4841 "properties": { 4842 "certData": { 4843 "type": "string", 4844 "format": "byte", 4845 "title": "Actual certificate data, protocol dependent" 4846 }, 4847 "certInfo": { 4848 "type": "string", 4849 "title": "Additional certificate info (e.g. SSH fingerprint, X509 CommonName)" 4850 }, 4851 "certSubType": { 4852 "type": "string", 4853 "title": "The sub type of the cert, i.e. \"ssh-rsa\"" 4854 }, 4855 "certType": { 4856 "type": "string", 4857 "title": "Type of certificate - currently \"https\" or \"ssh\"" 4858 }, 4859 "serverName": { 4860 "type": "string", 4861 "title": "Name of the server the certificate is intended for" 4862 } 4863 } 4864 }, 4865 "v1alpha1RepositoryCertificateList": { 4866 "type": "object", 4867 "title": "RepositoryCertificateList is a collection of RepositoryCertificates", 4868 "properties": { 4869 "items": { 4870 "type": "array", 4871 "title": "List of certificates to be processed", 4872 "items": { 4873 "$ref": "#/definitions/v1alpha1RepositoryCertificate" 4874 } 4875 }, 4876 "metadata": { 4877 "$ref": "#/definitions/v1ListMeta" 4878 } 4879 } 4880 }, 4881 "v1alpha1RepositoryList": { 4882 "description": "RepositoryList is a collection of Repositories.", 4883 "type": "object", 4884 "properties": { 4885 "items": { 4886 "type": "array", 4887 "items": { 4888 "$ref": "#/definitions/v1alpha1Repository" 4889 } 4890 }, 4891 "metadata": { 4892 "$ref": "#/definitions/v1ListMeta" 4893 } 4894 } 4895 }, 4896 "v1alpha1ResourceAction": { 4897 "type": "object", 4898 "properties": { 4899 "disabled": { 4900 "type": "boolean", 4901 "format": "boolean" 4902 }, 4903 "name": { 4904 "type": "string" 4905 }, 4906 "params": { 4907 "type": "array", 4908 "items": { 4909 "$ref": "#/definitions/v1alpha1ResourceActionParam" 4910 } 4911 } 4912 } 4913 }, 4914 "v1alpha1ResourceActionParam": { 4915 "type": "object", 4916 "properties": { 4917 "default": { 4918 "type": "string" 4919 }, 4920 "name": { 4921 "type": "string" 4922 }, 4923 "type": { 4924 "type": "string" 4925 }, 4926 "value": { 4927 "type": "string" 4928 } 4929 } 4930 }, 4931 "v1alpha1ResourceDiff": { 4932 "type": "object", 4933 "title": "ResourceDiff holds the diff of a live and target resource object", 4934 "properties": { 4935 "diff": { 4936 "type": "string", 4937 "title": "Diff contains the JSON patch between target and live resource\nDeprecated: use NormalizedLiveState and PredictedLiveState to render the difference" 4938 }, 4939 "group": { 4940 "type": "string" 4941 }, 4942 "hook": { 4943 "type": "boolean", 4944 "format": "boolean" 4945 }, 4946 "kind": { 4947 "type": "string" 4948 }, 4949 "liveState": { 4950 "type": "string", 4951 "title": "TargetState contains the JSON live resource manifest" 4952 }, 4953 "name": { 4954 "type": "string" 4955 }, 4956 "namespace": { 4957 "type": "string" 4958 }, 4959 "normalizedLiveState": { 4960 "type": "string", 4961 "title": "NormalizedLiveState contains JSON serialized live resource state with applied normalizations" 4962 }, 4963 "predictedLiveState": { 4964 "type": "string", 4965 "title": "PredictedLiveState contains JSON serialized resource state that is calculated based on normalized and target resource state" 4966 }, 4967 "targetState": { 4968 "type": "string", 4969 "title": "TargetState contains the JSON serialized resource manifest defined in the Git/Helm" 4970 } 4971 } 4972 }, 4973 "v1alpha1ResourceIgnoreDifferences": { 4974 "description": "ResourceIgnoreDifferences contains resource filter and list of json paths which should be ignored during comparison with live state.", 4975 "type": "object", 4976 "properties": { 4977 "group": { 4978 "type": "string" 4979 }, 4980 "jsonPointers": { 4981 "type": "array", 4982 "items": { 4983 "type": "string" 4984 } 4985 }, 4986 "kind": { 4987 "type": "string" 4988 }, 4989 "name": { 4990 "type": "string" 4991 }, 4992 "namespace": { 4993 "type": "string" 4994 } 4995 } 4996 }, 4997 "v1alpha1ResourceNetworkingInfo": { 4998 "type": "object", 4999 "title": "ResourceNetworkingInfo holds networking resource related information", 5000 "properties": { 5001 "externalURLs": { 5002 "description": "ExternalURLs holds list of URLs which should be available externally. List is populated for ingress resources using rules hostnames.", 5003 "type": "array", 5004 "items": { 5005 "type": "string" 5006 } 5007 }, 5008 "ingress": { 5009 "type": "array", 5010 "items": { 5011 "$ref": "#/definitions/v1LoadBalancerIngress" 5012 } 5013 }, 5014 "labels": { 5015 "type": "object", 5016 "additionalProperties": { 5017 "type": "string" 5018 } 5019 }, 5020 "targetLabels": { 5021 "type": "object", 5022 "additionalProperties": { 5023 "type": "string" 5024 } 5025 }, 5026 "targetRefs": { 5027 "type": "array", 5028 "items": { 5029 "$ref": "#/definitions/v1alpha1ResourceRef" 5030 } 5031 } 5032 } 5033 }, 5034 "v1alpha1ResourceNode": { 5035 "type": "object", 5036 "title": "ResourceNode contains information about live resource and its children", 5037 "properties": { 5038 "createdAt": { 5039 "$ref": "#/definitions/v1Time" 5040 }, 5041 "health": { 5042 "$ref": "#/definitions/v1alpha1HealthStatus" 5043 }, 5044 "images": { 5045 "type": "array", 5046 "items": { 5047 "type": "string" 5048 } 5049 }, 5050 "info": { 5051 "type": "array", 5052 "items": { 5053 "$ref": "#/definitions/v1alpha1InfoItem" 5054 } 5055 }, 5056 "networkingInfo": { 5057 "$ref": "#/definitions/v1alpha1ResourceNetworkingInfo" 5058 }, 5059 "parentRefs": { 5060 "type": "array", 5061 "items": { 5062 "$ref": "#/definitions/v1alpha1ResourceRef" 5063 } 5064 }, 5065 "resourceRef": { 5066 "$ref": "#/definitions/v1alpha1ResourceRef" 5067 }, 5068 "resourceVersion": { 5069 "type": "string" 5070 } 5071 } 5072 }, 5073 "v1alpha1ResourceOverride": { 5074 "type": "object", 5075 "title": "ResourceOverride holds configuration to customize resource diffing and health assessment", 5076 "properties": { 5077 "actions": { 5078 "type": "string" 5079 }, 5080 "healthLua": { 5081 "type": "string" 5082 }, 5083 "ignoreDifferences": { 5084 "$ref": "#/definitions/v1alpha1OverrideIgnoreDiff" 5085 }, 5086 "knownTypeFields": { 5087 "type": "array", 5088 "items": { 5089 "$ref": "#/definitions/v1alpha1KnownTypeField" 5090 } 5091 } 5092 } 5093 }, 5094 "v1alpha1ResourceRef": { 5095 "type": "object", 5096 "title": "ResourceRef includes fields which unique identify resource", 5097 "properties": { 5098 "group": { 5099 "type": "string" 5100 }, 5101 "kind": { 5102 "type": "string" 5103 }, 5104 "name": { 5105 "type": "string" 5106 }, 5107 "namespace": { 5108 "type": "string" 5109 }, 5110 "uid": { 5111 "type": "string" 5112 }, 5113 "version": { 5114 "type": "string" 5115 } 5116 } 5117 }, 5118 "v1alpha1ResourceResult": { 5119 "type": "object", 5120 "title": "ResourceResult holds the operation result details of a specific resource", 5121 "properties": { 5122 "group": { 5123 "type": "string" 5124 }, 5125 "hookPhase": { 5126 "type": "string", 5127 "title": "the state of any operation associated with this resource OR hook\nnote: can contain values for non-hook resources" 5128 }, 5129 "hookType": { 5130 "type": "string", 5131 "title": "the type of the hook, empty for non-hook resources" 5132 }, 5133 "kind": { 5134 "type": "string" 5135 }, 5136 "message": { 5137 "type": "string", 5138 "title": "message for the last sync OR operation" 5139 }, 5140 "name": { 5141 "type": "string" 5142 }, 5143 "namespace": { 5144 "type": "string" 5145 }, 5146 "status": { 5147 "type": "string", 5148 "title": "the final result of the sync, this is be empty if the resources is yet to be applied/pruned and is always zero-value for hooks" 5149 }, 5150 "syncPhase": { 5151 "type": "string", 5152 "title": "indicates the particular phase of the sync that this is for" 5153 }, 5154 "version": { 5155 "type": "string" 5156 } 5157 } 5158 }, 5159 "v1alpha1ResourceStatus": { 5160 "type": "object", 5161 "title": "ResourceStatus holds the current sync and health status of a resource", 5162 "properties": { 5163 "group": { 5164 "type": "string" 5165 }, 5166 "health": { 5167 "$ref": "#/definitions/v1alpha1HealthStatus" 5168 }, 5169 "hook": { 5170 "type": "boolean", 5171 "format": "boolean" 5172 }, 5173 "kind": { 5174 "type": "string" 5175 }, 5176 "name": { 5177 "type": "string" 5178 }, 5179 "namespace": { 5180 "type": "string" 5181 }, 5182 "requiresPruning": { 5183 "type": "boolean", 5184 "format": "boolean" 5185 }, 5186 "status": { 5187 "type": "string" 5188 }, 5189 "version": { 5190 "type": "string" 5191 } 5192 } 5193 }, 5194 "v1alpha1RetryStrategy": { 5195 "type": "object", 5196 "properties": { 5197 "backoff": { 5198 "$ref": "#/definitions/v1alpha1Backoff" 5199 }, 5200 "limit": { 5201 "type": "string", 5202 "format": "int64", 5203 "title": "Limit is the maximum number of attempts when retrying a container" 5204 } 5205 } 5206 }, 5207 "v1alpha1RevisionHistory": { 5208 "type": "object", 5209 "title": "RevisionHistory contains information relevant to an application deployment", 5210 "properties": { 5211 "deployStartedAt": { 5212 "$ref": "#/definitions/v1Time" 5213 }, 5214 "deployedAt": { 5215 "$ref": "#/definitions/v1Time" 5216 }, 5217 "id": { 5218 "type": "string", 5219 "format": "int64", 5220 "title": "ID is an auto incrementing identifier of the RevisionHistory" 5221 }, 5222 "revision": { 5223 "type": "string", 5224 "title": "Revision holds the revision of the sync" 5225 }, 5226 "source": { 5227 "$ref": "#/definitions/v1alpha1ApplicationSource" 5228 } 5229 } 5230 }, 5231 "v1alpha1RevisionMetadata": { 5232 "type": "object", 5233 "title": "data about a specific revision within a repo", 5234 "properties": { 5235 "author": { 5236 "type": "string", 5237 "title": "who authored this revision,\ntypically their name and email, e.g. \"John Doe <john_doe@my-company.com>\",\nbut might not match this example" 5238 }, 5239 "date": { 5240 "$ref": "#/definitions/v1Time" 5241 }, 5242 "message": { 5243 "type": "string", 5244 "title": "the message associated with the revision,\nprobably the commit message,\nthis is truncated to the first newline or 64 characters (which ever comes first)" 5245 }, 5246 "signatureInfo": { 5247 "type": "string", 5248 "title": "If revision was signed with GPG, and signature verification is enabled,\nthis contains a hint on the signer" 5249 }, 5250 "tags": { 5251 "type": "array", 5252 "title": "tags on the revision,\nnote - tags can move from one revision to another", 5253 "items": { 5254 "type": "string" 5255 } 5256 } 5257 } 5258 }, 5259 "v1alpha1SignatureKey": { 5260 "type": "object", 5261 "title": "SignatureKey is the specification of a key required to verify commit signatures with", 5262 "properties": { 5263 "keyID": { 5264 "type": "string", 5265 "title": "The ID of the key in hexadecimal notation" 5266 } 5267 } 5268 }, 5269 "v1alpha1SyncOperation": { 5270 "description": "SyncOperation contains sync operation details.", 5271 "type": "object", 5272 "properties": { 5273 "dryRun": { 5274 "type": "boolean", 5275 "format": "boolean", 5276 "title": "DryRun will perform a `kubectl apply --dry-run` without actually performing the sync" 5277 }, 5278 "manifests": { 5279 "type": "array", 5280 "title": "Manifests is an optional field that overrides sync source with a local directory for development", 5281 "items": { 5282 "type": "string" 5283 } 5284 }, 5285 "prune": { 5286 "type": "boolean", 5287 "format": "boolean", 5288 "title": "Prune deletes resources that are no longer tracked in git" 5289 }, 5290 "resources": { 5291 "type": "array", 5292 "title": "Resources describes which resources to sync", 5293 "items": { 5294 "$ref": "#/definitions/v1alpha1SyncOperationResource" 5295 } 5296 }, 5297 "revision": { 5298 "description": "Revision is the revision in which to sync the application to.\nIf omitted, will use the revision specified in app spec.", 5299 "type": "string" 5300 }, 5301 "source": { 5302 "$ref": "#/definitions/v1alpha1ApplicationSource" 5303 }, 5304 "syncOptions": { 5305 "type": "array", 5306 "title": "SyncOptions provide per-sync sync-options, e.g. Validate=false", 5307 "items": { 5308 "type": "string" 5309 } 5310 }, 5311 "syncStrategy": { 5312 "$ref": "#/definitions/v1alpha1SyncStrategy" 5313 } 5314 } 5315 }, 5316 "v1alpha1SyncOperationResource": { 5317 "description": "SyncOperationResource contains resources to sync.", 5318 "type": "object", 5319 "properties": { 5320 "group": { 5321 "type": "string" 5322 }, 5323 "kind": { 5324 "type": "string" 5325 }, 5326 "name": { 5327 "type": "string" 5328 }, 5329 "namespace": { 5330 "type": "string" 5331 } 5332 } 5333 }, 5334 "v1alpha1SyncOperationResult": { 5335 "type": "object", 5336 "title": "SyncOperationResult represent result of sync operation", 5337 "properties": { 5338 "resources": { 5339 "type": "array", 5340 "title": "Resources holds the sync result of each individual resource", 5341 "items": { 5342 "$ref": "#/definitions/v1alpha1ResourceResult" 5343 } 5344 }, 5345 "revision": { 5346 "type": "string", 5347 "title": "Revision holds the revision of the sync" 5348 }, 5349 "source": { 5350 "$ref": "#/definitions/v1alpha1ApplicationSource" 5351 } 5352 } 5353 }, 5354 "v1alpha1SyncPolicy": { 5355 "type": "object", 5356 "title": "SyncPolicy controls when a sync will be performed in response to updates in git", 5357 "properties": { 5358 "automated": { 5359 "$ref": "#/definitions/v1alpha1SyncPolicyAutomated" 5360 }, 5361 "retry": { 5362 "$ref": "#/definitions/v1alpha1RetryStrategy" 5363 }, 5364 "syncOptions": { 5365 "type": "array", 5366 "title": "Options allow you to specify whole app sync-options", 5367 "items": { 5368 "type": "string" 5369 } 5370 } 5371 } 5372 }, 5373 "v1alpha1SyncPolicyAutomated": { 5374 "type": "object", 5375 "title": "SyncPolicyAutomated controls the behavior of an automated sync", 5376 "properties": { 5377 "allowEmpty": { 5378 "type": "boolean", 5379 "format": "boolean", 5380 "title": "AllowEmpty allows apps have zero live resources (default: false)" 5381 }, 5382 "prune": { 5383 "type": "boolean", 5384 "format": "boolean", 5385 "title": "Prune will prune resources automatically as part of automated sync (default: false)" 5386 }, 5387 "selfHeal": { 5388 "type": "boolean", 5389 "format": "boolean", 5390 "title": "SelfHeal enables auto-syncing if (default: false)" 5391 } 5392 } 5393 }, 5394 "v1alpha1SyncStatus": { 5395 "description": "SyncStatus is a comparison result of application spec and deployed application.", 5396 "type": "object", 5397 "properties": { 5398 "comparedTo": { 5399 "$ref": "#/definitions/v1alpha1ComparedTo" 5400 }, 5401 "revision": { 5402 "type": "string" 5403 }, 5404 "status": { 5405 "type": "string" 5406 } 5407 } 5408 }, 5409 "v1alpha1SyncStrategy": { 5410 "type": "object", 5411 "title": "SyncStrategy controls the manner in which a sync is performed", 5412 "properties": { 5413 "apply": { 5414 "$ref": "#/definitions/v1alpha1SyncStrategyApply" 5415 }, 5416 "hook": { 5417 "$ref": "#/definitions/v1alpha1SyncStrategyHook" 5418 } 5419 } 5420 }, 5421 "v1alpha1SyncStrategyApply": { 5422 "type": "object", 5423 "title": "SyncStrategyApply uses `kubectl apply` to perform the apply", 5424 "properties": { 5425 "force": { 5426 "description": "Force indicates whether or not to supply the --force flag to `kubectl apply`.\nThe --force flag deletes and re-create the resource, when PATCH encounters conflict and has\nretried for 5 times.", 5427 "type": "boolean", 5428 "format": "boolean" 5429 } 5430 } 5431 }, 5432 "v1alpha1SyncStrategyHook": { 5433 "description": "SyncStrategyHook will perform a sync using hooks annotations.\nIf no hook annotation is specified falls back to `kubectl apply`.", 5434 "type": "object", 5435 "properties": { 5436 "syncStrategyApply": { 5437 "$ref": "#/definitions/v1alpha1SyncStrategyApply" 5438 } 5439 } 5440 }, 5441 "v1alpha1SyncWindow": { 5442 "type": "object", 5443 "title": "SyncWindow contains the kind, time, duration and attributes that are used to assign the syncWindows to apps", 5444 "properties": { 5445 "applications": { 5446 "type": "array", 5447 "title": "Applications contains a list of applications that the window will apply to", 5448 "items": { 5449 "type": "string" 5450 } 5451 }, 5452 "clusters": { 5453 "type": "array", 5454 "title": "Clusters contains a list of clusters that the window will apply to", 5455 "items": { 5456 "type": "string" 5457 } 5458 }, 5459 "duration": { 5460 "type": "string", 5461 "title": "Duration is the amount of time the sync window will be open" 5462 }, 5463 "kind": { 5464 "type": "string", 5465 "title": "Kind defines if the window allows or blocks syncs" 5466 }, 5467 "manualSync": { 5468 "type": "boolean", 5469 "format": "boolean", 5470 "title": "ManualSync enables manual syncs when they would otherwise be blocked" 5471 }, 5472 "namespaces": { 5473 "type": "array", 5474 "title": "Namespaces contains a list of namespaces that the window will apply to", 5475 "items": { 5476 "type": "string" 5477 } 5478 }, 5479 "schedule": { 5480 "type": "string", 5481 "title": "Schedule is the time the window will begin, specified in cron format" 5482 } 5483 } 5484 }, 5485 "v1alpha1TLSClientConfig": { 5486 "type": "object", 5487 "title": "TLSClientConfig contains settings to enable transport layer security", 5488 "properties": { 5489 "caData": { 5490 "type": "string", 5491 "format": "byte", 5492 "title": "CAData holds PEM-encoded bytes (typically read from a root certificates bundle).\nCAData takes precedence over CAFile" 5493 }, 5494 "certData": { 5495 "type": "string", 5496 "format": "byte", 5497 "title": "CertData holds PEM-encoded bytes (typically read from a client certificate file).\nCertData takes precedence over CertFile" 5498 }, 5499 "insecure": { 5500 "description": "Server should be accessed without verifying the TLS certificate. For testing only.", 5501 "type": "boolean", 5502 "format": "boolean" 5503 }, 5504 "keyData": { 5505 "type": "string", 5506 "format": "byte", 5507 "title": "KeyData holds PEM-encoded bytes (typically read from a client certificate key file).\nKeyData takes precedence over KeyFile" 5508 }, 5509 "serverName": { 5510 "description": "ServerName is passed to the server for SNI and is used in the client to check server\ncertificates against. If ServerName is empty, the hostname used to contact the\nserver is used.", 5511 "type": "string" 5512 } 5513 } 5514 }, 5515 "versionVersionMessage": { 5516 "type": "object", 5517 "title": "VersionMessage represents version of the Argo CD API server", 5518 "properties": { 5519 "BuildDate": { 5520 "type": "string" 5521 }, 5522 "Compiler": { 5523 "type": "string" 5524 }, 5525 "GitCommit": { 5526 "type": "string" 5527 }, 5528 "GitTag": { 5529 "type": "string" 5530 }, 5531 "GitTreeState": { 5532 "type": "string" 5533 }, 5534 "GoVersion": { 5535 "type": "string" 5536 }, 5537 "HelmVersion": { 5538 "type": "string" 5539 }, 5540 "JsonnetVersion": { 5541 "type": "string" 5542 }, 5543 "KsonnetVersion": { 5544 "type": "string" 5545 }, 5546 "KubectlVersion": { 5547 "type": "string" 5548 }, 5549 "KustomizeVersion": { 5550 "type": "string" 5551 }, 5552 "Platform": { 5553 "type": "string" 5554 }, 5555 "Version": { 5556 "type": "string" 5557 } 5558 } 5559 } 5560 } 5561 }