diff --git a/k8s/applications/applications.yaml b/k8s/applications/applications.yaml new file mode 100644 index 0000000..16f5c0f --- /dev/null +++ b/k8s/applications/applications.yaml @@ -0,0 +1,14 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: argocd +spec: + destination: + name: '' + namespace: argocd + server: 'https://kubernetes.default.svc' + source: + path: k8s/applications + repoURL: 'git@bitbucket.org:jamkazam/video-iac.git' + targetRevision: HEAD + project: default diff --git a/monitoring.json b/monitoring.json deleted file mode 100644 index dbf7c7f..0000000 --- a/monitoring.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "apiVersion": "v1", - "kind": "Namespace", - "metadata": { - "creationTimestamp": "2021-08-27T17:08:28Z", - "deletionTimestamp": "2021-09-02T17:45:13Z", - "labels": { - "kubernetes.io/metadata.name": "monitoring" - }, - "managedFields": [ - { - "apiVersion": "v1", - "fieldsType": "FieldsV1", - "fieldsV1": { - "f:metadata": { - "f:labels": { - ".": {}, - "f:kubernetes.io/metadata.name": {} - } - } - }, - "manager": "kubectl-create", - "operation": "Update", - "time": "2021-08-27T17:08:28Z" - }, - { - "apiVersion": "v1", - "fieldsType": "FieldsV1", - "fieldsV1": { - "f:status": { - "f:conditions": { - ".": {}, - "k:{\"type\":\"NamespaceContentRemaining\"}": { - ".": {}, - "f:lastTransitionTime": {}, - "f:message": {}, - "f:reason": {}, - "f:status": {}, - "f:type": {} - }, - "k:{\"type\":\"NamespaceDeletionContentFailure\"}": { - ".": {}, - "f:lastTransitionTime": {}, - "f:message": {}, - "f:reason": {}, - "f:status": {}, - "f:type": {} - }, - "k:{\"type\":\"NamespaceDeletionDiscoveryFailure\"}": { - ".": {}, - "f:lastTransitionTime": {}, - "f:message": {}, - "f:reason": {}, - "f:status": {}, - "f:type": {} - }, - "k:{\"type\":\"NamespaceDeletionGroupVersionParsingFailure\"}": { - ".": {}, - "f:lastTransitionTime": {}, - "f:message": {}, - "f:reason": {}, - "f:status": {}, - "f:type": {} - }, - "k:{\"type\":\"NamespaceFinalizersRemaining\"}": { - ".": {}, - "f:lastTransitionTime": {}, - "f:message": {}, - "f:reason": {}, - "f:status": {}, - "f:type": {} - } - } - } - }, - "manager": "kube-controller-manager", - "operation": "Update", - "time": "2021-09-02T17:45:49Z" - } - ], - "name": "monitoring", - "resourceVersion": "4164219", - "uid": "2569dafe-71aa-4425-9e03-4031b0337ce0" - }, - "spec": { - "finalizers": [ - ] - }, - "status": { - "conditions": [ - { - "lastTransitionTime": "2021-09-02T17:45:23Z", - "message": "Discovery failed for some groups, 1 failing: unable to retrieve the complete list of server APIs: metrics.k8s.io/v1beta1: the server is currently unable to handle the request", - "reason": "DiscoveryFailed", - "status": "True", - "type": "NamespaceDeletionDiscoveryFailure" - }, - { - "lastTransitionTime": "2021-09-02T17:45:49Z", - "message": "All legacy kube types successfully parsed", - "reason": "ParsedGroupVersions", - "status": "False", - "type": "NamespaceDeletionGroupVersionParsingFailure" - }, - { - "lastTransitionTime": "2021-09-02T17:47:34Z", - "message": "All content successfully deleted, may be waiting on finalization", - "reason": "ContentDeleted", - "status": "False", - "type": "NamespaceDeletionContentFailure" - }, - { - "lastTransitionTime": "2021-09-02T17:47:34Z", - "message": "All content successfully removed", - "reason": "ContentRemoved", - "status": "False", - "type": "NamespaceContentRemaining" - }, - { - "lastTransitionTime": "2021-09-02T17:45:51Z", - "message": "All content-preserving finalizers finished", - "reason": "ContentHasNoFinalizers", - "status": "False", - "type": "NamespaceFinalizersRemaining" - } - ], - "phase": "Terminating" - } -}