@three14/pulumi-argocd 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/getApplication.d.ts +78 -0
- package/getApplication.js +56 -0
- package/getApplication.js.map +1 -0
- package/gpgKey.d.ts +131 -0
- package/gpgKey.js +111 -0
- package/gpgKey.js.map +1 -0
- package/index.d.ts +21 -0
- package/index.js +34 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/project.d.ts +202 -0
- package/project.js +197 -0
- package/project.js.map +1 -0
- package/projectToken.d.ts +152 -0
- package/projectToken.js +93 -0
- package/projectToken.js.map +1 -0
- package/repository.d.ts +352 -0
- package/repository.js +156 -0
- package/repository.js.map +1 -0
- package/repositoryCertificate.d.ts +84 -0
- package/repositoryCertificate.js +73 -0
- package/repositoryCertificate.js.map +1 -0
- package/repositoryCredentials.d.ts +228 -0
- package/repositoryCredentials.js +114 -0
- package/repositoryCredentials.js.map +1 -0
- package/types/input.d.ts +358 -0
- package/types/output.d.ts +842 -0
package/types/input.d.ts
CHANGED
|
@@ -32079,6 +32079,328 @@ export interface ClusterMetadata {
|
|
|
32079
32079
|
[key: string]: pulumi.Input<string>;
|
|
32080
32080
|
}>;
|
|
32081
32081
|
}
|
|
32082
|
+
export interface GetApplicationMetadata {
|
|
32083
|
+
/**
|
|
32084
|
+
* An unstructured key value map stored with the applications.argoproj.io that may be used to store arbitrary metadata. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
32085
|
+
*/
|
|
32086
|
+
annotations?: {
|
|
32087
|
+
[key: string]: string;
|
|
32088
|
+
};
|
|
32089
|
+
/**
|
|
32090
|
+
* A sequence number representing a specific generation of the desired state.
|
|
32091
|
+
*/
|
|
32092
|
+
generation?: number;
|
|
32093
|
+
/**
|
|
32094
|
+
* Map of string keys and values that can be used to organize and categorize (scope and select) the applications.argoproj.io. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
|
|
32095
|
+
*/
|
|
32096
|
+
labels?: {
|
|
32097
|
+
[key: string]: string;
|
|
32098
|
+
};
|
|
32099
|
+
/**
|
|
32100
|
+
* Name of the applications.argoproj.io, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
32101
|
+
*/
|
|
32102
|
+
name: string;
|
|
32103
|
+
/**
|
|
32104
|
+
* Namespace of the applications.argoproj.io, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
|
32105
|
+
*/
|
|
32106
|
+
namespace?: string;
|
|
32107
|
+
/**
|
|
32108
|
+
* An opaque value that represents the internal version of this applications.argoproj.io that can be used by clients to determine when the applications.argoproj.io has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
|
32109
|
+
*/
|
|
32110
|
+
resourceVersion?: string;
|
|
32111
|
+
/**
|
|
32112
|
+
* The unique in time and space value for this applications.argoproj.io. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
|
32113
|
+
*/
|
|
32114
|
+
uid?: string;
|
|
32115
|
+
}
|
|
32116
|
+
export interface GetApplicationMetadataArgs {
|
|
32117
|
+
/**
|
|
32118
|
+
* An unstructured key value map stored with the applications.argoproj.io that may be used to store arbitrary metadata. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
32119
|
+
*/
|
|
32120
|
+
annotations?: pulumi.Input<{
|
|
32121
|
+
[key: string]: pulumi.Input<string>;
|
|
32122
|
+
}>;
|
|
32123
|
+
/**
|
|
32124
|
+
* A sequence number representing a specific generation of the desired state.
|
|
32125
|
+
*/
|
|
32126
|
+
generation?: pulumi.Input<number>;
|
|
32127
|
+
/**
|
|
32128
|
+
* Map of string keys and values that can be used to organize and categorize (scope and select) the applications.argoproj.io. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
|
|
32129
|
+
*/
|
|
32130
|
+
labels?: pulumi.Input<{
|
|
32131
|
+
[key: string]: pulumi.Input<string>;
|
|
32132
|
+
}>;
|
|
32133
|
+
/**
|
|
32134
|
+
* Name of the applications.argoproj.io, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
32135
|
+
*/
|
|
32136
|
+
name: pulumi.Input<string>;
|
|
32137
|
+
/**
|
|
32138
|
+
* Namespace of the applications.argoproj.io, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
|
32139
|
+
*/
|
|
32140
|
+
namespace?: pulumi.Input<string>;
|
|
32141
|
+
/**
|
|
32142
|
+
* An opaque value that represents the internal version of this applications.argoproj.io that can be used by clients to determine when the applications.argoproj.io has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
|
32143
|
+
*/
|
|
32144
|
+
resourceVersion?: pulumi.Input<string>;
|
|
32145
|
+
/**
|
|
32146
|
+
* The unique in time and space value for this applications.argoproj.io. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
|
32147
|
+
*/
|
|
32148
|
+
uid?: pulumi.Input<string>;
|
|
32149
|
+
}
|
|
32150
|
+
export interface ProjectMetadata {
|
|
32151
|
+
/**
|
|
32152
|
+
* An unstructured key value map stored with the appproject that may be used to store arbitrary metadata. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
|
|
32153
|
+
*/
|
|
32154
|
+
annotations?: pulumi.Input<{
|
|
32155
|
+
[key: string]: pulumi.Input<string>;
|
|
32156
|
+
}>;
|
|
32157
|
+
/**
|
|
32158
|
+
* A sequence number representing a specific generation of the desired state.
|
|
32159
|
+
*/
|
|
32160
|
+
generation?: pulumi.Input<number>;
|
|
32161
|
+
/**
|
|
32162
|
+
* Map of string keys and values that can be used to organize and categorize (scope and select) the appproject. May match selectors of replication controllers and services. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels
|
|
32163
|
+
*/
|
|
32164
|
+
labels?: pulumi.Input<{
|
|
32165
|
+
[key: string]: pulumi.Input<string>;
|
|
32166
|
+
}>;
|
|
32167
|
+
/**
|
|
32168
|
+
* Name of the appproject, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
32169
|
+
*/
|
|
32170
|
+
name: pulumi.Input<string>;
|
|
32171
|
+
/**
|
|
32172
|
+
* Namespace of the appproject, must be unique. Cannot be updated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
|
|
32173
|
+
*/
|
|
32174
|
+
namespace?: pulumi.Input<string>;
|
|
32175
|
+
/**
|
|
32176
|
+
* An opaque value that represents the internal version of this appproject that can be used by clients to determine when the appproject has changed. Read more: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
|
|
32177
|
+
*/
|
|
32178
|
+
resourceVersion?: pulumi.Input<string>;
|
|
32179
|
+
/**
|
|
32180
|
+
* The unique in time and space value for this appproject. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
|
|
32181
|
+
*/
|
|
32182
|
+
uid?: pulumi.Input<string>;
|
|
32183
|
+
}
|
|
32184
|
+
export interface ProjectSpec {
|
|
32185
|
+
/**
|
|
32186
|
+
* Blacklisted cluster level resources.
|
|
32187
|
+
*/
|
|
32188
|
+
clusterResourceBlacklists?: pulumi.Input<pulumi.Input<inputs.ProjectSpecClusterResourceBlacklist>[]>;
|
|
32189
|
+
/**
|
|
32190
|
+
* Whitelisted cluster level resources.
|
|
32191
|
+
*/
|
|
32192
|
+
clusterResourceWhitelists?: pulumi.Input<pulumi.Input<inputs.ProjectSpecClusterResourceWhitelist>[]>;
|
|
32193
|
+
/**
|
|
32194
|
+
* Project description.
|
|
32195
|
+
*/
|
|
32196
|
+
description?: pulumi.Input<string>;
|
|
32197
|
+
/**
|
|
32198
|
+
* Service accounts to be impersonated for the application sync operation for each destination.
|
|
32199
|
+
*/
|
|
32200
|
+
destinationServiceAccounts?: pulumi.Input<pulumi.Input<inputs.ProjectSpecDestinationServiceAccount>[]>;
|
|
32201
|
+
/**
|
|
32202
|
+
* Destinations available for deployment.
|
|
32203
|
+
*/
|
|
32204
|
+
destinations?: pulumi.Input<pulumi.Input<inputs.ProjectSpecDestination>[]>;
|
|
32205
|
+
/**
|
|
32206
|
+
* Blacklisted namespace level resources.
|
|
32207
|
+
*/
|
|
32208
|
+
namespaceResourceBlacklists?: pulumi.Input<pulumi.Input<inputs.ProjectSpecNamespaceResourceBlacklist>[]>;
|
|
32209
|
+
/**
|
|
32210
|
+
* Whitelisted namespace level resources.
|
|
32211
|
+
*/
|
|
32212
|
+
namespaceResourceWhitelists?: pulumi.Input<pulumi.Input<inputs.ProjectSpecNamespaceResourceWhitelist>[]>;
|
|
32213
|
+
/**
|
|
32214
|
+
* Configuration for orphaned resources tracking.
|
|
32215
|
+
*/
|
|
32216
|
+
orphanedResources?: pulumi.Input<pulumi.Input<inputs.ProjectSpecOrphanedResource>[]>;
|
|
32217
|
+
/**
|
|
32218
|
+
* Project roles.
|
|
32219
|
+
*/
|
|
32220
|
+
roles?: pulumi.Input<pulumi.Input<inputs.ProjectSpecRole>[]>;
|
|
32221
|
+
/**
|
|
32222
|
+
* Signature keys for verifying the integrity of applications.
|
|
32223
|
+
*/
|
|
32224
|
+
signatureKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
32225
|
+
/**
|
|
32226
|
+
* List of source namespaces for applications.
|
|
32227
|
+
*/
|
|
32228
|
+
sourceNamespaces?: pulumi.Input<pulumi.Input<string>[]>;
|
|
32229
|
+
/**
|
|
32230
|
+
* List of repositories from which applications may be created.
|
|
32231
|
+
*/
|
|
32232
|
+
sourceRepos?: pulumi.Input<pulumi.Input<string>[]>;
|
|
32233
|
+
/**
|
|
32234
|
+
* Controls when sync operations are allowed for the project.
|
|
32235
|
+
*/
|
|
32236
|
+
syncWindows?: pulumi.Input<pulumi.Input<inputs.ProjectSpecSyncWindow>[]>;
|
|
32237
|
+
}
|
|
32238
|
+
export interface ProjectSpecClusterResourceBlacklist {
|
|
32239
|
+
/**
|
|
32240
|
+
* The Kubernetes resource Group to match for.
|
|
32241
|
+
*/
|
|
32242
|
+
group?: pulumi.Input<string>;
|
|
32243
|
+
/**
|
|
32244
|
+
* The Kubernetes resource Kind to match for.
|
|
32245
|
+
*/
|
|
32246
|
+
kind?: pulumi.Input<string>;
|
|
32247
|
+
}
|
|
32248
|
+
export interface ProjectSpecClusterResourceWhitelist {
|
|
32249
|
+
/**
|
|
32250
|
+
* The Kubernetes resource Group to match for.
|
|
32251
|
+
*/
|
|
32252
|
+
group?: pulumi.Input<string>;
|
|
32253
|
+
/**
|
|
32254
|
+
* The Kubernetes resource Kind to match for.
|
|
32255
|
+
*/
|
|
32256
|
+
kind?: pulumi.Input<string>;
|
|
32257
|
+
}
|
|
32258
|
+
export interface ProjectSpecDestination {
|
|
32259
|
+
/**
|
|
32260
|
+
* Name of the destination cluster which can be used instead of server.
|
|
32261
|
+
*/
|
|
32262
|
+
name?: pulumi.Input<string>;
|
|
32263
|
+
/**
|
|
32264
|
+
* Target namespace for applications' resources.
|
|
32265
|
+
*/
|
|
32266
|
+
namespace: pulumi.Input<string>;
|
|
32267
|
+
/**
|
|
32268
|
+
* URL of the target cluster and must be set to the Kubernetes control plane API.
|
|
32269
|
+
*/
|
|
32270
|
+
server?: pulumi.Input<string>;
|
|
32271
|
+
}
|
|
32272
|
+
export interface ProjectSpecDestinationServiceAccount {
|
|
32273
|
+
/**
|
|
32274
|
+
* Used for impersonation during the sync operation
|
|
32275
|
+
*/
|
|
32276
|
+
defaultServiceAccount: pulumi.Input<string>;
|
|
32277
|
+
/**
|
|
32278
|
+
* Specifies the target namespace for the application's resources.
|
|
32279
|
+
*/
|
|
32280
|
+
namespace?: pulumi.Input<string>;
|
|
32281
|
+
/**
|
|
32282
|
+
* Specifies the URL of the target cluster's Kubernetes control plane API.
|
|
32283
|
+
*/
|
|
32284
|
+
server?: pulumi.Input<string>;
|
|
32285
|
+
}
|
|
32286
|
+
export interface ProjectSpecNamespaceResourceBlacklist {
|
|
32287
|
+
/**
|
|
32288
|
+
* The Kubernetes resource Group to match for.
|
|
32289
|
+
*/
|
|
32290
|
+
group?: pulumi.Input<string>;
|
|
32291
|
+
/**
|
|
32292
|
+
* The Kubernetes resource Kind to match for.
|
|
32293
|
+
*/
|
|
32294
|
+
kind?: pulumi.Input<string>;
|
|
32295
|
+
}
|
|
32296
|
+
export interface ProjectSpecNamespaceResourceWhitelist {
|
|
32297
|
+
/**
|
|
32298
|
+
* The Kubernetes resource Group to match for.
|
|
32299
|
+
*/
|
|
32300
|
+
group?: pulumi.Input<string>;
|
|
32301
|
+
/**
|
|
32302
|
+
* The Kubernetes resource Kind to match for.
|
|
32303
|
+
*/
|
|
32304
|
+
kind?: pulumi.Input<string>;
|
|
32305
|
+
}
|
|
32306
|
+
export interface ProjectSpecOrphanedResource {
|
|
32307
|
+
/**
|
|
32308
|
+
* List of resources to ignore during orphaned resources detection.
|
|
32309
|
+
*/
|
|
32310
|
+
ignores?: pulumi.Input<pulumi.Input<inputs.ProjectSpecOrphanedResourceIgnore>[]>;
|
|
32311
|
+
/**
|
|
32312
|
+
* Whether a warning condition should be created for apps which have orphaned resources.
|
|
32313
|
+
*/
|
|
32314
|
+
warn?: pulumi.Input<boolean>;
|
|
32315
|
+
}
|
|
32316
|
+
export interface ProjectSpecOrphanedResourceIgnore {
|
|
32317
|
+
/**
|
|
32318
|
+
* The Kubernetes resource Group to match for.
|
|
32319
|
+
*/
|
|
32320
|
+
group?: pulumi.Input<string>;
|
|
32321
|
+
/**
|
|
32322
|
+
* The Kubernetes resource Kind to match for.
|
|
32323
|
+
*/
|
|
32324
|
+
kind?: pulumi.Input<string>;
|
|
32325
|
+
/**
|
|
32326
|
+
* The Kubernetes resource name to match for.
|
|
32327
|
+
*/
|
|
32328
|
+
name?: pulumi.Input<string>;
|
|
32329
|
+
}
|
|
32330
|
+
export interface ProjectSpecRole {
|
|
32331
|
+
/**
|
|
32332
|
+
* Description of the role.
|
|
32333
|
+
*/
|
|
32334
|
+
description?: pulumi.Input<string>;
|
|
32335
|
+
/**
|
|
32336
|
+
* List of OIDC group claims bound to this role.
|
|
32337
|
+
*/
|
|
32338
|
+
groups?: pulumi.Input<pulumi.Input<string>[]>;
|
|
32339
|
+
/**
|
|
32340
|
+
* List of JWT tokens issued for this role.
|
|
32341
|
+
*/
|
|
32342
|
+
jwtTokens?: pulumi.Input<pulumi.Input<inputs.ProjectSpecRoleJwtToken>[]>;
|
|
32343
|
+
/**
|
|
32344
|
+
* The name of the role.
|
|
32345
|
+
*/
|
|
32346
|
+
name: pulumi.Input<string>;
|
|
32347
|
+
/**
|
|
32348
|
+
* List of casbin formatted strings that define access policies for the role in the project. For more information, see the [ArgoCD RBAC reference](https://argoproj.github.io/argo-cd/operator-manual/rbac/#rbac-permission-structure).
|
|
32349
|
+
*/
|
|
32350
|
+
policies: pulumi.Input<pulumi.Input<string>[]>;
|
|
32351
|
+
}
|
|
32352
|
+
export interface ProjectSpecRoleJwtToken {
|
|
32353
|
+
/**
|
|
32354
|
+
* Token expiration (timestamp).
|
|
32355
|
+
*/
|
|
32356
|
+
exp?: pulumi.Input<number>;
|
|
32357
|
+
/**
|
|
32358
|
+
* Token issued at (timestamp).
|
|
32359
|
+
*/
|
|
32360
|
+
iat: pulumi.Input<number>;
|
|
32361
|
+
/**
|
|
32362
|
+
* Token identifier.
|
|
32363
|
+
*/
|
|
32364
|
+
id?: pulumi.Input<string>;
|
|
32365
|
+
}
|
|
32366
|
+
export interface ProjectSpecSyncWindow {
|
|
32367
|
+
/**
|
|
32368
|
+
* List of applications that the window will apply to.
|
|
32369
|
+
*/
|
|
32370
|
+
applications?: pulumi.Input<pulumi.Input<string>[]>;
|
|
32371
|
+
/**
|
|
32372
|
+
* List of clusters that the window will apply to.
|
|
32373
|
+
*/
|
|
32374
|
+
clusters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
32375
|
+
/**
|
|
32376
|
+
* Amount of time the sync window will be open.
|
|
32377
|
+
*/
|
|
32378
|
+
duration?: pulumi.Input<string>;
|
|
32379
|
+
/**
|
|
32380
|
+
* Defines if the window allows or blocks syncs, allowed values are `allow` or `deny`.
|
|
32381
|
+
*/
|
|
32382
|
+
kind?: pulumi.Input<string>;
|
|
32383
|
+
/**
|
|
32384
|
+
* Enables manual syncs when they would otherwise be blocked.
|
|
32385
|
+
*/
|
|
32386
|
+
manualSync?: pulumi.Input<boolean>;
|
|
32387
|
+
/**
|
|
32388
|
+
* List of namespaces that the window will apply to.
|
|
32389
|
+
*/
|
|
32390
|
+
namespaces?: pulumi.Input<pulumi.Input<string>[]>;
|
|
32391
|
+
/**
|
|
32392
|
+
* Time the window will begin, specified in cron format.
|
|
32393
|
+
*/
|
|
32394
|
+
schedule?: pulumi.Input<string>;
|
|
32395
|
+
/**
|
|
32396
|
+
* Timezone that the schedule will be evaluated in.
|
|
32397
|
+
*/
|
|
32398
|
+
timezone?: pulumi.Input<string>;
|
|
32399
|
+
/**
|
|
32400
|
+
* Defines if the AND operator should be used among the various conditions for the sync window.
|
|
32401
|
+
*/
|
|
32402
|
+
useAndOperator?: pulumi.Input<boolean>;
|
|
32403
|
+
}
|
|
32082
32404
|
export interface ProviderKubernetes {
|
|
32083
32405
|
/**
|
|
32084
32406
|
* PEM-encoded client certificate for TLS authentication. Can be sourced from `KUBE_CLIENT_CERT_DATA`.
|
|
@@ -32143,5 +32465,41 @@ export interface ProviderKubernetesExec {
|
|
|
32143
32465
|
[key: string]: pulumi.Input<string>;
|
|
32144
32466
|
}>;
|
|
32145
32467
|
}
|
|
32468
|
+
export interface RepositoryCertificateHttp {
|
|
32469
|
+
/**
|
|
32470
|
+
* The actual certificate data, dependent on the certificate type
|
|
32471
|
+
*/
|
|
32472
|
+
certData: pulumi.Input<string>;
|
|
32473
|
+
/**
|
|
32474
|
+
* Additional certificate info, dependent on the certificate type (e.g. SSH fingerprint, X509 CommonName)
|
|
32475
|
+
*/
|
|
32476
|
+
certInfo?: pulumi.Input<string>;
|
|
32477
|
+
/**
|
|
32478
|
+
* The sub type of the cert, i.e. `ssh-rsa`
|
|
32479
|
+
*/
|
|
32480
|
+
certSubtype?: pulumi.Input<string>;
|
|
32481
|
+
/**
|
|
32482
|
+
* DNS name of the server this certificate is intended for
|
|
32483
|
+
*/
|
|
32484
|
+
serverName: pulumi.Input<string>;
|
|
32485
|
+
}
|
|
32486
|
+
export interface RepositoryCertificateSsh {
|
|
32487
|
+
/**
|
|
32488
|
+
* The actual certificate data, dependent on the certificate type
|
|
32489
|
+
*/
|
|
32490
|
+
certData: pulumi.Input<string>;
|
|
32491
|
+
/**
|
|
32492
|
+
* Additional certificate info, dependent on the certificate type (e.g. SSH fingerprint, X509 CommonName)
|
|
32493
|
+
*/
|
|
32494
|
+
certInfo?: pulumi.Input<string>;
|
|
32495
|
+
/**
|
|
32496
|
+
* The sub type of the cert, i.e. `ssh-rsa`
|
|
32497
|
+
*/
|
|
32498
|
+
certSubtype: pulumi.Input<string>;
|
|
32499
|
+
/**
|
|
32500
|
+
* DNS name of the server this certificate is intended for
|
|
32501
|
+
*/
|
|
32502
|
+
serverName: pulumi.Input<string>;
|
|
32503
|
+
}
|
|
32146
32504
|
export declare namespace config {
|
|
32147
32505
|
}
|