Lists lists Argo projects.
A successful response.
An unexpected error response.
{- "metadata": {
- "selfLink": "string",
- "resourceVersion": "string",
- "continue": "string",
- "remainingItemCount": "string"
}, - "items": [
- {
- "metadata": {
- "name": "string",
- "generateName": "string",
- "namespace": "string",
- "selfLink": "string",
- "uid": "string",
- "resourceVersion": "string",
- "generation": "string",
- "creationTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionGracePeriodSeconds": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "ownerReferences": [
- {
- "apiVersion": "string",
- "kind": "string",
- "name": "string",
- "uid": "string",
- "controller": true,
- "blockOwnerDeletion": true
}
], - "finalizers": [
- "string"
], - "managedFields": [
- {
- "manager": "string",
- "operation": "string",
- "apiVersion": "string",
- "time": {
- "seconds": "string",
- "nanos": 0
}, - "fieldsType": "string",
- "fieldsV1": {
- "Raw": "string"
}, - "subresource": "string"
}
]
}, - "spec": {
- "sourceRepos": [
- "string"
], - "destinations": [
- {
- "server": "string",
- "namespace": "string",
- "name": "string"
}
], - "description": "string",
- "roles": [
- {
- "name": "string",
- "description": "string",
- "policies": [
- "string"
], - "jwtTokens": [
- {
- "iat": null,
- "exp": null,
- "id": null
}
], - "groups": [
- "string"
]
}
], - "clusterResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "namespaceResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
], - "orphanedResources": {
- "warn": true,
- "ignore": [
- {
- "group": "string",
- "kind": "string",
- "name": "string"
}
]
}, - "syncWindows": [
- {
- "kind": "string",
- "schedule": "string",
- "duration": "string",
- "applications": [
- "string"
], - "namespaces": [
- "string"
], - "clusters": [
- "string"
], - "manualSync": true,
- "timeZone": "string"
}
], - "namespaceResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "signatureKeys": [
- {
- "keyID": "string"
}
], - "clusterResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
]
}, - "status": {
- "jwtTokensByRole": {
- "property1": {
- "items": [
- {
- "iat": null,
- "exp": null,
- "id": null
}
]
}, - "property2": {
- "items": [
- {
- "iat": null,
- "exp": null,
- "id": null
}
]
}
}
}
}
]
}
Create a new Argo project
A successful response.
An unexpected error response.
{- "project": {
- "metadata": {
- "name": "string",
- "generateName": "string",
- "namespace": "string",
- "selfLink": "string",
- "uid": "string",
- "resourceVersion": "string",
- "generation": "string",
- "creationTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionGracePeriodSeconds": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "ownerReferences": [
- {
- "apiVersion": "string",
- "kind": "string",
- "name": "string",
- "uid": "string",
- "controller": true,
- "blockOwnerDeletion": true
}
], - "finalizers": [
- "string"
], - "managedFields": [
- {
- "manager": "string",
- "operation": "string",
- "apiVersion": "string",
- "time": {
- "seconds": "string",
- "nanos": 0
}, - "fieldsType": "string",
- "fieldsV1": {
- "Raw": "string"
}, - "subresource": "string"
}
]
}, - "spec": {
- "sourceRepos": [
- "string"
], - "destinations": [
- {
- "server": "string",
- "namespace": "string",
- "name": "string"
}
], - "description": "string",
- "roles": [
- {
- "name": "string",
- "description": "string",
- "policies": [
- "string"
], - "jwtTokens": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
], - "groups": [
- "string"
]
}
], - "clusterResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "namespaceResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
], - "orphanedResources": {
- "warn": true,
- "ignore": [
- {
- "group": "string",
- "kind": "string",
- "name": "string"
}
]
}, - "syncWindows": [
- {
- "kind": "string",
- "schedule": "string",
- "duration": "string",
- "applications": [
- "string"
], - "namespaces": [
- "string"
], - "clusters": [
- "string"
], - "manualSync": true,
- "timeZone": "string"
}
], - "namespaceResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "signatureKeys": [
- {
- "keyID": "string"
}
], - "clusterResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
]
}, - "status": {
- "jwtTokensByRole": {
- "property1": {
- "items": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
]
}, - "property2": {
- "items": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
]
}
}
}
}, - "upsert": true
}
{- "metadata": {
- "name": "string",
- "generateName": "string",
- "namespace": "string",
- "selfLink": "string",
- "uid": "string",
- "resourceVersion": "string",
- "generation": "string",
- "creationTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionGracePeriodSeconds": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "ownerReferences": [
- {
- "apiVersion": "string",
- "kind": "string",
- "name": "string",
- "uid": "string",
- "controller": true,
- "blockOwnerDeletion": true
}
], - "finalizers": [
- "string"
], - "managedFields": [
- {
- "manager": "string",
- "operation": "string",
- "apiVersion": "string",
- "time": {
- "seconds": "string",
- "nanos": 0
}, - "fieldsType": "string",
- "fieldsV1": {
- "Raw": "string"
}, - "subresource": "string"
}
]
}, - "spec": {
- "sourceRepos": [
- "string"
], - "destinations": [
- {
- "server": "string",
- "namespace": "string",
- "name": "string"
}
], - "description": "string",
- "roles": [
- {
- "name": "string",
- "description": "string",
- "policies": [
- "string"
], - "jwtTokens": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
], - "groups": [
- "string"
]
}
], - "clusterResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "namespaceResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
], - "orphanedResources": {
- "warn": true,
- "ignore": [
- {
- "group": "string",
- "kind": "string",
- "name": "string"
}
]
}, - "syncWindows": [
- {
- "kind": "string",
- "schedule": "string",
- "duration": "string",
- "applications": [
- "string"
], - "namespaces": [
- "string"
], - "clusters": [
- "string"
], - "manualSync": true,
- "timeZone": "string"
}
], - "namespaceResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "signatureKeys": [
- {
- "keyID": "string"
}
], - "clusterResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
]
}, - "status": {
- "jwtTokensByRole": {
- "property1": {
- "items": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
]
}, - "property2": {
- "items": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
]
}
}
}
}
Get returns an Argo project by name.
A successful response.
An unexpected error response.
{- "metadata": {
- "name": "string",
- "generateName": "string",
- "namespace": "string",
- "selfLink": "string",
- "uid": "string",
- "resourceVersion": "string",
- "generation": "string",
- "creationTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionGracePeriodSeconds": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "ownerReferences": [
- {
- "apiVersion": "string",
- "kind": "string",
- "name": "string",
- "uid": "string",
- "controller": true,
- "blockOwnerDeletion": true
}
], - "finalizers": [
- "string"
], - "managedFields": [
- {
- "manager": "string",
- "operation": "string",
- "apiVersion": "string",
- "time": {
- "seconds": "string",
- "nanos": 0
}, - "fieldsType": "string",
- "fieldsV1": {
- "Raw": "string"
}, - "subresource": "string"
}
]
}, - "spec": {
- "sourceRepos": [
- "string"
], - "destinations": [
- {
- "server": "string",
- "namespace": "string",
- "name": "string"
}
], - "description": "string",
- "roles": [
- {
- "name": "string",
- "description": "string",
- "policies": [
- "string"
], - "jwtTokens": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
], - "groups": [
- "string"
]
}
], - "clusterResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "namespaceResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
], - "orphanedResources": {
- "warn": true,
- "ignore": [
- {
- "group": "string",
- "kind": "string",
- "name": "string"
}
]
}, - "syncWindows": [
- {
- "kind": "string",
- "schedule": "string",
- "duration": "string",
- "applications": [
- "string"
], - "namespaces": [
- "string"
], - "clusters": [
- "string"
], - "manualSync": true,
- "timeZone": "string"
}
], - "namespaceResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "signatureKeys": [
- {
- "keyID": "string"
}
], - "clusterResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
]
}, - "status": {
- "jwtTokensByRole": {
- "property1": {
- "items": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
]
}, - "property2": {
- "items": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
]
}
}
}
}
Delete deletes an Argo project.
A successful response.
An unexpected error response.
{ }
Update updates an Argo project.
agentIdentifier required | string Agent identifier for entity. |
request.project.metadata.name required | string Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names +optional |
object (AppProject provides a logical grouping of applications, providing controls for:
* where the apps may deploy to (cluster whitelist)
* what may be deployed (repository whitelist, resource whitelist/blacklist)
* who can access these applications (roles, OIDC group claims bindings)
* and what they can do (RBAC policies)
* automation access to these roles (JWT tokens)
+genclient
+genclient:noStatus
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
+kubebuilder:resource:path=appprojects,shortName=appproj;appprojs) |
A successful response.
An unexpected error response.
{- "project": {
- "metadata": {
- "name": "string",
- "generateName": "string",
- "namespace": "string",
- "selfLink": "string",
- "uid": "string",
- "resourceVersion": "string",
- "generation": "string",
- "creationTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionGracePeriodSeconds": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "ownerReferences": [
- {
- "apiVersion": "string",
- "kind": "string",
- "name": "string",
- "uid": "string",
- "controller": true,
- "blockOwnerDeletion": true
}
], - "finalizers": [
- "string"
], - "managedFields": [
- {
- "manager": "string",
- "operation": "string",
- "apiVersion": "string",
- "time": {
- "seconds": "string",
- "nanos": 0
}, - "fieldsType": "string",
- "fieldsV1": {
- "Raw": "string"
}, - "subresource": "string"
}
]
}, - "spec": {
- "sourceRepos": [
- "string"
], - "destinations": [
- {
- "server": "string",
- "namespace": "string",
- "name": "string"
}
], - "description": "string",
- "roles": [
- {
- "name": "string",
- "description": "string",
- "policies": [
- "string"
], - "jwtTokens": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
], - "groups": [
- "string"
]
}
], - "clusterResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "namespaceResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
], - "orphanedResources": {
- "warn": true,
- "ignore": [
- {
- "group": "string",
- "kind": "string",
- "name": "string"
}
]
}, - "syncWindows": [
- {
- "kind": "string",
- "schedule": "string",
- "duration": "string",
- "applications": [
- "string"
], - "namespaces": [
- "string"
], - "clusters": [
- "string"
], - "manualSync": true,
- "timeZone": "string"
}
], - "namespaceResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "signatureKeys": [
- {
- "keyID": "string"
}
], - "clusterResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
]
}, - "status": {
- "jwtTokensByRole": {
- "property1": {
- "items": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
]
}, - "property2": {
- "items": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
]
}
}
}
}
}
{- "metadata": {
- "name": "string",
- "generateName": "string",
- "namespace": "string",
- "selfLink": "string",
- "uid": "string",
- "resourceVersion": "string",
- "generation": "string",
- "creationTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionTimestamp": {
- "seconds": "string",
- "nanos": 0
}, - "deletionGracePeriodSeconds": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "ownerReferences": [
- {
- "apiVersion": "string",
- "kind": "string",
- "name": "string",
- "uid": "string",
- "controller": true,
- "blockOwnerDeletion": true
}
], - "finalizers": [
- "string"
], - "managedFields": [
- {
- "manager": "string",
- "operation": "string",
- "apiVersion": "string",
- "time": {
- "seconds": "string",
- "nanos": 0
}, - "fieldsType": "string",
- "fieldsV1": {
- "Raw": "string"
}, - "subresource": "string"
}
]
}, - "spec": {
- "sourceRepos": [
- "string"
], - "destinations": [
- {
- "server": "string",
- "namespace": "string",
- "name": "string"
}
], - "description": "string",
- "roles": [
- {
- "name": "string",
- "description": "string",
- "policies": [
- "string"
], - "jwtTokens": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
], - "groups": [
- "string"
]
}
], - "clusterResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "namespaceResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
], - "orphanedResources": {
- "warn": true,
- "ignore": [
- {
- "group": "string",
- "kind": "string",
- "name": "string"
}
]
}, - "syncWindows": [
- {
- "kind": "string",
- "schedule": "string",
- "duration": "string",
- "applications": [
- "string"
], - "namespaces": [
- "string"
], - "clusters": [
- "string"
], - "manualSync": true,
- "timeZone": "string"
}
], - "namespaceResourceWhitelist": [
- {
- "group": "string",
- "kind": "string"
}
], - "signatureKeys": [
- {
- "keyID": "string"
}
], - "clusterResourceBlacklist": [
- {
- "group": "string",
- "kind": "string"
}
]
}, - "status": {
- "jwtTokensByRole": {
- "property1": {
- "items": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
]
}, - "property2": {
- "items": [
- {
- "iat": "string",
- "exp": "string",
- "id": "string"
}
]
}
}
}
}