diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/.idea/aws-local-runtime1.iml b/.idea/aws-local-runtime1.iml new file mode 100644 index 0000000..0c8867d --- /dev/null +++ b/.idea/aws-local-runtime1.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..cc8ba08 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/apps/README.md b/apps/README.md deleted file mode 100644 index 9750d7c..0000000 --- a/apps/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# Apps -This directory contains all of the applications you installed by using: -```bash -argocd-autopilot app create --app -p -``` - -## Application Types -> If you don't specify the application `--type` argocd-autopilot will try to clone the source repository and infer the application type [automatically](https://argoproj.github.io/argo-cd/user-guide/tool_detection/#tool-detection) - -* ### Directory application - Such an application references a specific directory at a given repo URL, path and revision. It will be persisted in the GitOps Repository as a single file at `apps///config.json`. - #### Example: - ```bash - argocd-autopilot app create dir-example --app github.com/argoproj-labs/argocd-autopilot/examples/demo-dir/ -p --type dir - ``` - -* ### Kustomize application - A Kustomize application will have exactly one: `apps//base/kustomization.yaml` file, and one or more `apps//overlays//` folders. - - The `apps//base/kustomization.yaml` file is created the first time you create the application. The `apps//overlays//` folder is created for each project you install this application on. So all overlays of the same application are using the same base `kustomization.yaml`. - #### Example: - Try running the following command: - ```bash - argocd-autopilot app create hello-world --app github.com/argoproj-labs/argocd-autopilot/examples/demo-app/ -p --type kustomize - ``` - -###### * If you did not create a project yet take a look at: [creating a project](https://argocd-autopilot.readthedocs.io/en/stable/Getting-Started/#add-a-project-and-an-application). \ No newline at end of file diff --git a/apps/app-proxy/base/kustomization.yaml b/apps/app-proxy/base/kustomization.yaml deleted file mode 100644 index 39092b6..0000000 --- a/apps/app-proxy/base/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- github.com/codefresh-io/cli-v2/manifests/app-proxy?ref=v0.0.500 diff --git a/apps/app-proxy/overlays/aws-local-runtime/config.json b/apps/app-proxy/overlays/aws-local-runtime/config.json deleted file mode 100644 index 71a2695..0000000 --- a/apps/app-proxy/overlays/aws-local-runtime/config.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "appName": "app-proxy", - "userGivenName": "app-proxy", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": "apps/app-proxy/overlays/aws-local-runtime", - "srcRepoURL": "https://github.com/PhilippPlotnikov/aws-local-runtime.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "component", - "codefresh_io_internal": "true" - }, - "annotations": { - "argocd_argoproj_io_sync-wave": "9" - } -} \ No newline at end of file diff --git a/apps/app-proxy/overlays/aws-local-runtime/ingress.yaml b/apps/app-proxy/overlays/aws-local-runtime/ingress.yaml deleted file mode 100644 index ab4f1f0..0000000 --- a/apps/app-proxy/overlays/aws-local-runtime/ingress.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: aws-local-runtime-cap-app-proxy - namespace: aws-local-runtime -spec: - ingressClassName: nginx - rules: - - host: philipp.hybrid-team.cf-cd.com - http: - paths: - - backend: - service: - name: cap-app-proxy - port: - number: 3017 - path: /app-proxy - pathType: Prefix diff --git a/apps/app-proxy/overlays/aws-local-runtime/kustomization.yaml b/apps/app-proxy/overlays/aws-local-runtime/kustomization.yaml deleted file mode 100644 index 69993fa..0000000 --- a/apps/app-proxy/overlays/aws-local-runtime/kustomization.yaml +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -configMapGenerator: -- behavior: merge - literals: - - argoWorkflowsInsecure=true - - cfHost=http://philipp-platform.ngrok.io - - cors=http://philipp-platform.ngrok.io,http://local.codefresh.io - - env=production - name: cap-app-proxy-cm -kind: Kustomization -namespace: aws-local-runtime -resources: -- ../../base -- ingress.yaml diff --git a/apps/default-git-source/aws-local-runtime/config_dir.json b/apps/default-git-source/aws-local-runtime/config_dir.json deleted file mode 100644 index 5684137..0000000 --- a/apps/default-git-source/aws-local-runtime/config_dir.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "appName": "default-git-source", - "userGivenName": "default-git-source", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": "resources_aws-local-runtime", - "srcRepoURL": "https://github.com/PhilippPlotnikov/aws-local-runtime_git-source.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "git-source", - "codefresh_io_internal": "false" - }, - "annotations": { - "argocd_argoproj_io_sync-wave": "0" - }, - "exclude": "", - "include": "" -} \ No newline at end of file diff --git a/apps/events-reporter/aws-local-runtime/config_dir.json b/apps/events-reporter/aws-local-runtime/config_dir.json deleted file mode 100644 index a1ac09a..0000000 --- a/apps/events-reporter/aws-local-runtime/config_dir.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "appName": "events-reporter", - "userGivenName": "events-reporter", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": "apps/events-reporter/aws-local-runtime/resources", - "srcRepoURL": "https://github.com/PhilippPlotnikov/aws-local-runtime.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "component", - "codefresh_io_internal": "true" - }, - "annotations": { - "argocd_argoproj_io_sync-wave": "0" - }, - "exclude": "", - "include": "" -} \ No newline at end of file diff --git a/apps/events-reporter/aws-local-runtime/resources/event-source.yaml b/apps/events-reporter/aws-local-runtime/resources/event-source.yaml deleted file mode 100644 index 27d9697..0000000 --- a/apps/events-reporter/aws-local-runtime/resources/event-source.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: EventSource -metadata: - creationTimestamp: null - labels: - app.kubernetes.io/managed-by: cf - name: events-reporter - namespace: aws-local-runtime -spec: - eventBusName: codefresh-eventbus - generic: - events: - authSecret: - key: token - name: argocd-token - config: '{}' - insecure: true - url: argocd-server.aws-local-runtime.svc:80 - template: - container: - name: "" - resources: {} -status: {} diff --git a/apps/events-reporter/aws-local-runtime/resources/sensor.yaml b/apps/events-reporter/aws-local-runtime/resources/sensor.yaml deleted file mode 100644 index f1c1469..0000000 --- a/apps/events-reporter/aws-local-runtime/resources/sensor.yaml +++ /dev/null @@ -1,42 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Sensor -metadata: - creationTimestamp: null - labels: - app.kubernetes.io/managed-by: cf - name: events-reporter - namespace: aws-local-runtime -spec: - dependencies: - - eventName: events - eventSourceName: events-reporter - name: events - eventBusName: codefresh-eventbus - template: - container: - name: "" - resources: {} - triggers: - - retryStrategy: - duration: 0 - steps: 3 - template: - conditions: events - http: - headers: - Content-Type: application/json - method: POST - payload: - - dest: data - src: - dataKey: body - dependencyName: events - secureHeaders: - - name: Authorization - valueFrom: - secretKeyRef: - key: token - name: codefresh-token - url: http://philipp-platform.ngrok.io/2.0/api/events - name: events -status: {} diff --git a/apps/events/base/kustomization.yaml b/apps/events/base/kustomization.yaml deleted file mode 100644 index 66c733c..0000000 --- a/apps/events/base/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- github.com/codefresh-io/cli-v2/manifests/argo-events?ref=v0.0.500 diff --git a/apps/events/overlays/aws-local-runtime/config.json b/apps/events/overlays/aws-local-runtime/config.json deleted file mode 100644 index a441918..0000000 --- a/apps/events/overlays/aws-local-runtime/config.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "appName": "events", - "userGivenName": "events", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": "apps/events/overlays/aws-local-runtime", - "srcRepoURL": "https://github.com/PhilippPlotnikov/aws-local-runtime.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "component", - "codefresh_io_internal": "true" - }, - "annotations": { - "argocd_argoproj_io_sync-wave": "0" - } -} \ No newline at end of file diff --git a/apps/events/overlays/aws-local-runtime/kustomization.yaml b/apps/events/overlays/aws-local-runtime/kustomization.yaml deleted file mode 100644 index a6191ea..0000000 --- a/apps/events/overlays/aws-local-runtime/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: aws-local-runtime -resources: -- ../../base diff --git a/apps/isc/aws-local-runtime/config_dir.json b/apps/isc/aws-local-runtime/config_dir.json deleted file mode 100644 index 1c85d6e..0000000 --- a/apps/isc/aws-local-runtime/config_dir.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "appName": "isc", - "userGivenName": "isc", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": "shared-config/runtimes/aws-local-runtime", - "srcRepoURL": "https://github.com/PhilippPlotnikov/aws-local-runtime.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "shared-configuration", - "codefresh_io_internal": "true" - }, - "annotations": { - "argocd.argoproj.io/sync-wave": "10" - }, - "exclude": "", - "include": "" -} \ No newline at end of file diff --git a/apps/marketplace-git-source/aws-local-runtime/config_dir.json b/apps/marketplace-git-source/aws-local-runtime/config_dir.json deleted file mode 100644 index 27a715e..0000000 --- a/apps/marketplace-git-source/aws-local-runtime/config_dir.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "appName": "marketplace-git-source", - "userGivenName": "marketplace-git-source", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": ".", - "srcRepoURL": "https://github.com/codefresh-io/argo-hub.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "git-source", - "codefresh_io_internal": "true" - }, - "annotations": { - "argocd_argoproj_io_sync-wave": "0" - }, - "exclude": "**/images/**/*", - "include": "workflows/**/*.yaml" -} \ No newline at end of file diff --git a/apps/rollout-reporter/aws-local-runtime/config_dir.json b/apps/rollout-reporter/aws-local-runtime/config_dir.json deleted file mode 100644 index a7dc645..0000000 --- a/apps/rollout-reporter/aws-local-runtime/config_dir.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "appName": "rollout-reporter", - "userGivenName": "rollout-reporter", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": "apps/rollout-reporter/aws-local-runtime/resources", - "srcRepoURL": "https://github.com/PhilippPlotnikov/aws-local-runtime.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "component", - "codefresh_io_internal": "true" - }, - "annotations": { - "argocd_argoproj_io_sync-wave": "0" - }, - "exclude": "", - "include": "" -} \ No newline at end of file diff --git a/apps/rollout-reporter/aws-local-runtime/resources/event-source.yaml b/apps/rollout-reporter/aws-local-runtime/resources/event-source.yaml deleted file mode 100644 index 7e6cb74..0000000 --- a/apps/rollout-reporter/aws-local-runtime/resources/event-source.yaml +++ /dev/null @@ -1,50 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: EventSource -metadata: - creationTimestamp: null - labels: - app.kubernetes.io/managed-by: cf - name: rollout-reporter - namespace: aws-local-runtime -spec: - eventBusName: codefresh-eventbus - resource: - analysisruns: - eventTypes: - - ADD - - UPDATE - - DELETE - filter: - createdBy: null - group: argoproj.io - namespace: "" - resource: analysisruns - version: v1alpha1 - replicasets: - eventTypes: - - ADD - - UPDATE - - DELETE - filter: - createdBy: null - group: apps - namespace: "" - resource: replicasets - version: v1 - rollouts: - eventTypes: - - ADD - - UPDATE - - DELETE - filter: - createdBy: null - group: argoproj.io - namespace: "" - resource: rollouts - version: v1alpha1 - template: - container: - name: "" - resources: {} - serviceAccountName: rollout-reporter-sa -status: {} diff --git a/apps/rollout-reporter/aws-local-runtime/resources/rbac.yaml b/apps/rollout-reporter/aws-local-runtime/resources/rbac.yaml deleted file mode 100644 index 21744ce..0000000 --- a/apps/rollout-reporter/aws-local-runtime/resources/rbac.yaml +++ /dev/null @@ -1,35 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - creationTimestamp: null - name: rollout-reporter-sa - namespace: aws-local-runtime - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - creationTimestamp: null - name: rollout-reporter-sa -rules: -- apiGroups: - - '*' - resources: - - '*' - verbs: - - '*' - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - creationTimestamp: null - name: rollout-reporter-sa -roleRef: - apiGroup: "" - kind: ClusterRole - name: rollout-reporter-sa -subjects: -- kind: ServiceAccount - name: rollout-reporter-sa - namespace: aws-local-runtime diff --git a/apps/rollout-reporter/aws-local-runtime/resources/sensor.yaml b/apps/rollout-reporter/aws-local-runtime/resources/sensor.yaml deleted file mode 100644 index 86a3bd3..0000000 --- a/apps/rollout-reporter/aws-local-runtime/resources/sensor.yaml +++ /dev/null @@ -1,92 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Sensor -metadata: - creationTimestamp: null - labels: - app.kubernetes.io/managed-by: cf - name: rollout-reporter - namespace: aws-local-runtime -spec: - dependencies: - - eventName: rollouts - eventSourceName: rollout-reporter - name: rollouts - - eventName: replicasets - eventSourceName: rollout-reporter - name: replicasets - - eventName: analysisruns - eventSourceName: rollout-reporter - name: analysisruns - eventBusName: codefresh-eventbus - template: - container: - name: "" - resources: {} - triggers: - - retryStrategy: - duration: 0 - steps: 3 - template: - conditions: rollouts - http: - headers: - Content-Type: application/json - method: POST - payload: - - dest: data.object - src: - dataKey: body - dependencyName: rollouts - secureHeaders: - - name: Authorization - valueFrom: - secretKeyRef: - key: token - name: codefresh-token - url: http://philipp-platform.ngrok.io/2.0/api/events - name: rollouts - - retryStrategy: - duration: 0 - steps: 3 - template: - conditions: replicasets - http: - headers: - Content-Type: application/json - method: POST - payload: - - dest: data.object - src: - dataKey: body - dependencyName: replicasets - secureHeaders: - - name: Authorization - valueFrom: - secretKeyRef: - key: token - name: codefresh-token - url: http://philipp-platform.ngrok.io/2.0/api/events - name: replicasets - - retryStrategy: - duration: 0 - steps: 3 - template: - conditions: analysisruns - http: - headers: - Content-Type: application/json - method: POST - payload: - - dest: data.object - src: - dataKey: body - dependencyName: analysisruns - secureHeaders: - - name: Authorization - valueFrom: - secretKeyRef: - key: token - name: codefresh-token - url: http://philipp-platform.ngrok.io/2.0/api/events - name: analysisruns -status: {} diff --git a/apps/rollouts/base/kustomization.yaml b/apps/rollouts/base/kustomization.yaml deleted file mode 100644 index 74aaaca..0000000 --- a/apps/rollouts/base/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- github.com/codefresh-io/cli-v2/manifests/argo-rollouts?ref=v0.0.500 diff --git a/apps/rollouts/overlays/aws-local-runtime/config.json b/apps/rollouts/overlays/aws-local-runtime/config.json deleted file mode 100644 index a27ceb6..0000000 --- a/apps/rollouts/overlays/aws-local-runtime/config.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "appName": "rollouts", - "userGivenName": "rollouts", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": "apps/rollouts/overlays/aws-local-runtime", - "srcRepoURL": "https://github.com/PhilippPlotnikov/aws-local-runtime.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "component", - "codefresh_io_internal": "true" - }, - "annotations": { - "argocd_argoproj_io_sync-wave": "0" - } -} \ No newline at end of file diff --git a/apps/rollouts/overlays/aws-local-runtime/kustomization.yaml b/apps/rollouts/overlays/aws-local-runtime/kustomization.yaml deleted file mode 100644 index a6191ea..0000000 --- a/apps/rollouts/overlays/aws-local-runtime/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: aws-local-runtime -resources: -- ../../base diff --git a/apps/sealed-secrets/base/kustomization.yaml b/apps/sealed-secrets/base/kustomization.yaml deleted file mode 100644 index 8e5ae9f..0000000 --- a/apps/sealed-secrets/base/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- github.com/codefresh-io/cli-v2/manifests/sealed-secrets?ref=v0.0.500 diff --git a/apps/sealed-secrets/overlays/aws-local-runtime/config.json b/apps/sealed-secrets/overlays/aws-local-runtime/config.json deleted file mode 100644 index d3b4b74..0000000 --- a/apps/sealed-secrets/overlays/aws-local-runtime/config.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "appName": "sealed-secrets", - "userGivenName": "sealed-secrets", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": "apps/sealed-secrets/overlays/aws-local-runtime", - "srcRepoURL": "https://github.com/PhilippPlotnikov/aws-local-runtime.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "component", - "codefresh_io_internal": "true" - }, - "annotations": { - "argocd_argoproj_io_sync-wave": "0" - } -} \ No newline at end of file diff --git a/apps/sealed-secrets/overlays/aws-local-runtime/kustomization.yaml b/apps/sealed-secrets/overlays/aws-local-runtime/kustomization.yaml deleted file mode 100644 index a6191ea..0000000 --- a/apps/sealed-secrets/overlays/aws-local-runtime/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: aws-local-runtime -resources: -- ../../base diff --git a/apps/workflow-reporter/aws-local-runtime/config_dir.json b/apps/workflow-reporter/aws-local-runtime/config_dir.json deleted file mode 100644 index 2b7516d..0000000 --- a/apps/workflow-reporter/aws-local-runtime/config_dir.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "appName": "workflow-reporter", - "userGivenName": "workflow-reporter", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": "apps/workflow-reporter/aws-local-runtime/resources", - "srcRepoURL": "https://github.com/PhilippPlotnikov/aws-local-runtime.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "component", - "codefresh_io_internal": "true" - }, - "annotations": { - "argocd_argoproj_io_sync-wave": "0" - }, - "exclude": "", - "include": "" -} \ No newline at end of file diff --git a/apps/workflow-reporter/aws-local-runtime/resources/event-source.yaml b/apps/workflow-reporter/aws-local-runtime/resources/event-source.yaml deleted file mode 100644 index efd6e87..0000000 --- a/apps/workflow-reporter/aws-local-runtime/resources/event-source.yaml +++ /dev/null @@ -1,28 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: EventSource -metadata: - creationTimestamp: null - labels: - app.kubernetes.io/managed-by: cf - name: workflow-reporter - namespace: aws-local-runtime -spec: - eventBusName: codefresh-eventbus - resource: - workflows: - eventTypes: - - ADD - - UPDATE - - DELETE - filter: - createdBy: null - group: argoproj.io - namespace: aws-local-runtime - resource: workflows - version: v1alpha1 - template: - container: - name: "" - resources: {} - serviceAccountName: codefresh-sa -status: {} diff --git a/apps/workflow-reporter/aws-local-runtime/resources/rbac.yaml b/apps/workflow-reporter/aws-local-runtime/resources/rbac.yaml deleted file mode 100644 index cae38da..0000000 --- a/apps/workflow-reporter/aws-local-runtime/resources/rbac.yaml +++ /dev/null @@ -1,37 +0,0 @@ -apiVersion: v1 -kind: ServiceAccount -metadata: - creationTimestamp: null - name: codefresh-sa - namespace: aws-local-runtime - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - creationTimestamp: null - name: codefresh-sa - namespace: aws-local-runtime -rules: -- apiGroups: - - '*' - resources: - - '*' - verbs: - - '*' - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - creationTimestamp: null - name: codefresh-sa - namespace: aws-local-runtime -roleRef: - apiGroup: "" - kind: Role - name: codefresh-sa -subjects: -- kind: ServiceAccount - name: codefresh-sa - namespace: aws-local-runtime diff --git a/apps/workflow-reporter/aws-local-runtime/resources/sensor.yaml b/apps/workflow-reporter/aws-local-runtime/resources/sensor.yaml deleted file mode 100644 index 2e19a37..0000000 --- a/apps/workflow-reporter/aws-local-runtime/resources/sensor.yaml +++ /dev/null @@ -1,42 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Sensor -metadata: - creationTimestamp: null - labels: - app.kubernetes.io/managed-by: cf - name: workflow-reporter - namespace: aws-local-runtime -spec: - dependencies: - - eventName: workflows - eventSourceName: workflow-reporter - name: workflows - eventBusName: codefresh-eventbus - template: - container: - name: "" - resources: {} - triggers: - - retryStrategy: - duration: 0 - steps: 3 - template: - conditions: workflows - http: - headers: - Content-Type: application/json - method: POST - payload: - - dest: data.object - src: - dataKey: body - dependencyName: workflows - secureHeaders: - - name: Authorization - valueFrom: - secretKeyRef: - key: token - name: codefresh-token - url: http://philipp-platform.ngrok.io/2.0/api/events - name: workflows -status: {} diff --git a/apps/workflows/base/kustomization.yaml b/apps/workflows/base/kustomization.yaml deleted file mode 100644 index 82a2a6e..0000000 --- a/apps/workflows/base/kustomization.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- github.com/codefresh-io/cli-v2/manifests/argo-workflows?ref=v0.0.500 diff --git a/apps/workflows/overlays/aws-local-runtime/config.json b/apps/workflows/overlays/aws-local-runtime/config.json deleted file mode 100644 index c051d59..0000000 --- a/apps/workflows/overlays/aws-local-runtime/config.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "appName": "workflows", - "userGivenName": "workflows", - "destNamespace": "aws-local-runtime", - "destServer": "https://kubernetes.default.svc", - "srcPath": "apps/workflows/overlays/aws-local-runtime", - "srcRepoURL": "https://github.com/PhilippPlotnikov/aws-local-runtime.git", - "srcTargetRevision": "", - "labels": { - "codefresh_io_entity": "component", - "codefresh_io_internal": "true" - }, - "annotations": { - "argocd_argoproj_io_sync-wave": "0" - } -} \ No newline at end of file diff --git a/apps/workflows/overlays/aws-local-runtime/ingress-patch.json b/apps/workflows/overlays/aws-local-runtime/ingress-patch.json deleted file mode 100644 index a8112e9..0000000 --- a/apps/workflows/overlays/aws-local-runtime/ingress-patch.json +++ /dev/null @@ -1,12 +0,0 @@ -[ - { - "op": "add", - "path": "/spec/template/spec/containers/0/env", - "value": [ - { - "name": "BASE_HREF", - "value": "/workflows/" - } - ] - } -] diff --git a/apps/workflows/overlays/aws-local-runtime/ingress.yaml b/apps/workflows/overlays/aws-local-runtime/ingress.yaml deleted file mode 100644 index 6de8554..0000000 --- a/apps/workflows/overlays/aws-local-runtime/ingress.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - annotations: - ingress.kubernetes.io/protocol: https - ingress.kubernetes.io/rewrite-target: /$2 - nginx.ingress.kubernetes.io/backend-protocol: https - nginx.ingress.kubernetes.io/rewrite-target: /$2 - name: aws-local-runtime-workflows-ingress - namespace: aws-local-runtime -spec: - ingressClassName: nginx - rules: - - host: philipp.hybrid-team.cf-cd.com - http: - paths: - - backend: - service: - name: argo-server - port: - number: 2746 - path: /workflows(/|$)(.*) - pathType: ImplementationSpecific diff --git a/apps/workflows/overlays/aws-local-runtime/kustomization.yaml b/apps/workflows/overlays/aws-local-runtime/kustomization.yaml deleted file mode 100644 index 2fb61e0..0000000 --- a/apps/workflows/overlays/aws-local-runtime/kustomization.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: aws-local-runtime -patches: -- path: ingress-patch.json - target: - group: apps - kind: Deployment - name: argo-server - version: v1 -resources: -- ../../base -- ingress.yaml diff --git a/bootstrap/argo-cd.yaml b/bootstrap/argo-cd.yaml deleted file mode 100644 index 18cabf3..0000000 --- a/bootstrap/argo-cd.yaml +++ /dev/null @@ -1,40 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - creationTimestamp: null - labels: - app.kubernetes.io/managed-by: argocd-autopilot - app.kubernetes.io/name: argo-cd - codefresh.io/entity: component - codefresh.io/internal: "true" - name: argo-cd - namespace: aws-local-runtime -spec: - destination: - namespace: aws-local-runtime - server: https://kubernetes.default.svc - ignoreDifferences: - - group: argoproj.io - jsonPointers: - - /status - kind: Application - project: default - source: - path: bootstrap/argo-cd - repoURL: https://github.com/PhilippPlotnikov/aws-local-runtime.git - syncPolicy: - automated: - allowEmpty: true - prune: true - selfHeal: true - syncOptions: - - allowEmpty=true -status: - health: {} - summary: {} - sync: - comparedTo: - destination: {} - source: - repoURL: "" - status: "" diff --git a/bootstrap/argo-cd/kustomization.yaml b/bootstrap/argo-cd/kustomization.yaml deleted file mode 100644 index ec90cdd..0000000 --- a/bootstrap/argo-cd/kustomization.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -configMapGenerator: -- behavior: merge - literals: - - | - repository.credentials=- passwordSecret: - key: git_token - name: autopilot-secret - url: https://github.com/ - usernameSecret: - key: git_username - name: autopilot-secret - name: argocd-cm -kind: Kustomization -namespace: aws-local-runtime -resources: -- github.com/codefresh-io/cli-v2/manifests/argo-cd?ref=v0.0.500 diff --git a/bootstrap/aws-local-runtime.yaml b/bootstrap/aws-local-runtime.yaml deleted file mode 100644 index f64529c..0000000 --- a/bootstrap/aws-local-runtime.yaml +++ /dev/null @@ -1,59 +0,0 @@ -apiVersion: v1 -data: - base-url: http://philipp-platform.ngrok.io - runtime: | - apiVersion: codefresh.io/v1alpha1 - kind: Runtime - metadata: - creationTimestamp: null - name: aws-local-runtime - namespace: aws-local-runtime - spec: - bootstrapSpecifier: github.com/codefresh-io/cli-v2/manifests/argo-cd - cluster: https://19208D3B75E55C7C01C2906505D2B475.gr7.us-east-1.eks.amazonaws.com - components: - - isInternal: false - name: events - syncWave: 0 - type: kustomize - url: github.com/codefresh-io/cli-v2/manifests/argo-events?ref=v0.0.500 - wait: true - - isInternal: false - name: rollouts - syncWave: 0 - type: kustomize - url: github.com/codefresh-io/cli-v2/manifests/argo-rollouts?ref=v0.0.500 - wait: false - - isInternal: false - name: workflows - syncWave: 0 - type: kustomize - url: github.com/codefresh-io/cli-v2/manifests/argo-workflows?ref=v0.0.500 - wait: false - - isInternal: false - name: app-proxy - syncWave: 9 - type: kustomize - url: github.com/codefresh-io/cli-v2/manifests/app-proxy?ref=v0.0.500 - wait: false - - isInternal: false - name: sealed-secrets - syncWave: 0 - type: kustomize - url: github.com/codefresh-io/cli-v2/manifests/sealed-secrets?ref=v0.0.500 - wait: false - defVersion: 1.0.1 - ingressClassName: nginx - ingressController: k8s.io/ingress-nginx - ingressHost: http://92.248.191.75:3017 - internalIngressHost: "" - repo: https://github.com/PhilippPlotnikov/aws-local-runtime - version: 0.0.500 -kind: ConfigMap -metadata: - creationTimestamp: null - labels: - app.kubernetes.io/managed-by: codefresh - codefresh.io/entity: runtimeDef - name: codefresh-cm - namespace: aws-local-runtime diff --git a/bootstrap/cluster-resources.yaml b/bootstrap/cluster-resources.yaml deleted file mode 100644 index 2ab8b41..0000000 --- a/bootstrap/cluster-resources.yaml +++ /dev/null @@ -1,48 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: ApplicationSet -metadata: - annotations: - argocd.argoproj.io/sync-wave: "0" - creationTimestamp: null - name: cluster-resources - namespace: aws-local-runtime -spec: - generators: - - git: - files: - - path: bootstrap/cluster-resources/*.json - repoURL: https://github.com/PhilippPlotnikov/aws-local-runtime.git - requeueAfterSeconds: 20 - revision: "" - template: - metadata: {} - spec: - destination: {} - project: "" - source: - repoURL: "" - syncPolicy: - preserveResourcesOnDeletion: true - template: - metadata: - labels: - codefresh.io/internal: "true" - name: cluster-resources-{{name}} - namespace: aws-local-runtime - spec: - destination: - server: '{{server}}' - ignoreDifferences: - - group: argoproj.io - jsonPointers: - - /status - kind: Application - project: default - source: - path: bootstrap/cluster-resources/{{name}} - repoURL: https://github.com/PhilippPlotnikov/aws-local-runtime.git - syncPolicy: - automated: - allowEmpty: true - selfHeal: true -status: {} diff --git a/bootstrap/cluster-resources/in-cluster.json b/bootstrap/cluster-resources/in-cluster.json deleted file mode 100644 index 259083a..0000000 --- a/bootstrap/cluster-resources/in-cluster.json +++ /dev/null @@ -1 +0,0 @@ -{"name":"in-cluster","server":"https://kubernetes.default.svc"} \ No newline at end of file diff --git a/bootstrap/cluster-resources/in-cluster/README.md b/bootstrap/cluster-resources/in-cluster/README.md deleted file mode 100644 index 6129ae5..0000000 --- a/bootstrap/cluster-resources/in-cluster/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Cluster Resources -This directory contains all cluster resources that should be applied to cluster: `in-cluster`. -For example `Namespace` resources that are shared by multiple applications on the same namespace. diff --git a/bootstrap/cluster-resources/in-cluster/aws-local-runtime-ns.yaml b/bootstrap/cluster-resources/in-cluster/aws-local-runtime-ns.yaml deleted file mode 100644 index add2ab3..0000000 --- a/bootstrap/cluster-resources/in-cluster/aws-local-runtime-ns.yaml +++ /dev/null @@ -1,9 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - annotations: - argocd.argoproj.io/sync-options: Prune=false - creationTimestamp: null - name: aws-local-runtime -spec: {} -status: {} diff --git a/bootstrap/root.yaml b/bootstrap/root.yaml deleted file mode 100644 index 631890d..0000000 --- a/bootstrap/root.yaml +++ /dev/null @@ -1,41 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - creationTimestamp: null - finalizers: - - resources-finalizer.argocd.argoproj.io - labels: - app.kubernetes.io/managed-by: argocd-autopilot - app.kubernetes.io/name: root - codefresh.io/internal: "true" - name: root - namespace: aws-local-runtime -spec: - destination: - namespace: aws-local-runtime - server: https://kubernetes.default.svc - ignoreDifferences: - - group: argoproj.io - jsonPointers: - - /status - kind: Application - project: default - source: - path: projects - repoURL: https://github.com/PhilippPlotnikov/aws-local-runtime.git - syncPolicy: - automated: - allowEmpty: true - prune: true - selfHeal: true - syncOptions: - - allowEmpty=true -status: - health: {} - summary: {} - sync: - comparedTo: - destination: {} - source: - repoURL: "" - status: "" diff --git a/projects/README.md b/projects/README.md deleted file mode 100644 index baef199..0000000 --- a/projects/README.md +++ /dev/null @@ -1,21 +0,0 @@ -# Projects -This directory contains all of your `argocd-autopilot` projects. Projects provide a way to logically group applications and easily control things such as defaults and restrictions. - -### Creating a new project -To create a new project run: -```bash -export GIT_TOKEN= -export GIT_REPO= - -argocd-autopilot project create -``` - -### Creating a new project on different cluster -You can create a project that deploys applications to a different cluster, instead of the cluster where Argo-CD is installed. To do that run: -```bash -export GIT_TOKEN= -export GIT_REPO= - -argocd-autopilot project create --dest-kube-context -``` -Now all applications in this project that do not explicitly specify a different `--dest-server` will be created on the project's destination server. diff --git a/projects/aws-local-runtime.yaml b/projects/aws-local-runtime.yaml deleted file mode 100644 index 88af71b..0000000 --- a/projects/aws-local-runtime.yaml +++ /dev/null @@ -1,102 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - annotations: - argocd-autopilot.argoproj-labs.io/default-dest-server: https://kubernetes.default.svc - argocd.argoproj.io/sync-options: PruneLast=true - argocd.argoproj.io/sync-wave: "-2" - creationTimestamp: null - labels: - codefresh.io/entity: runtime - name: aws-local-runtime - namespace: aws-local-runtime -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - description: aws-local-runtime project - destinations: - - namespace: '*' - server: '*' - namespaceResourceWhitelist: - - group: '*' - kind: '*' - sourceRepos: - - '*' -status: {} - ---- -apiVersion: argoproj.io/v1alpha1 -kind: ApplicationSet -metadata: - annotations: - argocd.argoproj.io/sync-wave: "0" - creationTimestamp: null - name: aws-local-runtime - namespace: aws-local-runtime -spec: - generators: - - git: - files: - - path: apps/**/aws-local-runtime/config.json - repoURL: https://github.com/PhilippPlotnikov/aws-local-runtime.git - requeueAfterSeconds: 20 - revision: "" - template: - metadata: {} - spec: - destination: {} - project: "" - source: - repoURL: "" - - git: - files: - - path: apps/**/aws-local-runtime/config_dir.json - repoURL: https://github.com/PhilippPlotnikov/aws-local-runtime.git - requeueAfterSeconds: 20 - revision: "" - template: - metadata: {} - spec: - destination: {} - project: "" - source: - directory: - exclude: '{{ exclude }}' - include: '{{ include }}' - jsonnet: {} - recurse: true - repoURL: "" - syncPolicy: {} - template: - metadata: - annotations: - argocd.argoproj.io/sync-wave: '{{ annotations.argocd_argoproj_io_sync-wave - }}' - labels: - app.kubernetes.io/managed-by: argocd-autopilot - app.kubernetes.io/name: '{{ appName }}' - codefresh.io/entity: '{{ labels.codefresh_io_entity }}' - codefresh.io/internal: '{{ labels.codefresh_io_internal }}' - name: aws-local-runtime-{{ userGivenName }} - namespace: aws-local-runtime - spec: - destination: - namespace: '{{ destNamespace }}' - server: '{{ destServer }}' - ignoreDifferences: - - group: argoproj.io - jsonPointers: - - /status - kind: Application - project: aws-local-runtime - source: - path: '{{ srcPath }}' - repoURL: '{{ srcRepoURL }}' - targetRevision: '{{ srcTargetRevision }}' - syncPolicy: - automated: - allowEmpty: true - prune: true - selfHeal: true -status: {} diff --git a/shared-config/README.md b/shared-config/README.md deleted file mode 100644 index 85ee1f9..0000000 --- a/shared-config/README.md +++ /dev/null @@ -1,44 +0,0 @@ -# codefresh-runtime_internal-shared-config -This repository stores configuration files that can be shared between runtimes. - -Configuration definitions that will be stored in this repository: -- Argo CD managed cluster -- Git sources -- Codefresh 3rd party integrations configuration -- Ouath2 Authentications applications - -Configurations will be synced and applied to specific runtimes or to all runtimes assoiciated wtih your Codefresh Account. - -## Repository structure -The base path of the repository will include 2 directories - resources and runtimes. -The resources directory will include the following sub-directories: -- all-runtimes-all-clusters - every manifest placed under this directory will end up in all the user's clusters -- control-plane - used by managed runtimes. Every manifest placed here will be applied to each runtime's in-cluster -- runtimes/ - a folder for each specific runtime. - -Each manifest will be applied to all clusters in a specific runtime -both control-plane and the runtime-specific directories are optional. -The runtimes directory will include a separate sub-directory for each runtime installed in the cluster. Each such runtime-directory will include in-cluster.yaml - - -``` -├── resources <───────────────────┐ -│ ├── all-runtimes-all-clusters │ -│ │ ├── manifest1.yaml │ -│ │ └── subfolder │ -│ │ └── manifest2.yaml │ -│ ├── control-planes │ -│ │ └── manifest3.yaml │ -│ ├── runtimes │ -│ │ ├── runtime1 │ -│ │ │ └── manifest4.yaml │ -│ │ └── runtime2 │ -│ │ └── manifest5.yaml │ -│ └── manifest6.yaml │ -└── runtimes │ - ├── runtime1 │ # references by /apps/runtime1/config_dir.json - │ ├── in-cluster.yaml ─┤ # manage 'include' field to decide which dirs/files to sync to cluster - │ └── other-cluster.yaml ─┤ # manage 'include' field to decide which dirs/files to sync to cluster - └── runtime2 │ # references by /apps/runtime2/config_dir.json - └── in-cluster.yaml ─┘ # manage 'include' field to decide which dirs/files to sync to cluster -``` diff --git a/shared-config/resources/all-runtimes-all-clusters/DUMMY b/shared-config/resources/all-runtimes-all-clusters/DUMMY deleted file mode 100644 index e69de29..0000000 diff --git a/shared-config/resources/control-planes/sealed-secrets/sealed-secrets-key7xp7c-aws-local-runtime.sealing-key.yaml b/shared-config/resources/control-planes/sealed-secrets/sealed-secrets-key7xp7c-aws-local-runtime.sealing-key.yaml deleted file mode 100644 index 9a767e6..0000000 --- a/shared-config/resources/control-planes/sealed-secrets/sealed-secrets-key7xp7c-aws-local-runtime.sealing-key.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - creationTimestamp: 2022-09-02T11:52:18.000Z - labels: - sealedsecrets.bitnami.com/sealed-secrets-key: active - codefresh.io/sealing-key-id: 6311eed548bfa1001ba2527f - codefresh.io/sealing-key: 'true' - codefresh.io/runtime-name: aws-local-runtime - name: sealed-secrets-key7xp7c -data: - tls.crt: >- - LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV6VENDQXJXZ0F3SUJBZ0lSQVBWQURCM1dWV3I0Lzc2V0o3SzlVUHN3RFFZSktvWklodmNOQV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QjZxUkNqZzZCRzNaeTVtMkRua0l2NHJ5UGxwK2FONHE0ZnFteVI0UDNRPT0KLS0tLS1FTkQgUlNBIFBSSVZBVEUgS0VZLS0tLS0K diff --git a/shared-config/resources/control-planes/sealed-secrets/sealed-secrets-keym54dj-aws-local-runtime.sealing-key.yaml b/shared-config/resources/control-planes/sealed-secrets/sealed-secrets-keym54dj-aws-local-runtime.sealing-key.yaml deleted file mode 100644 index ac78cfc..0000000 --- a/shared-config/resources/control-planes/sealed-secrets/sealed-secrets-keym54dj-aws-local-runtime.sealing-key.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - creationTimestamp: 2022-09-02T10:13:31.000Z - labels: - sealedsecrets.bitnami.com/sealed-secrets-key: active - codefresh.io/sealing-key-id: 6311d79948bfa1001ba25130 - codefresh.io/sealing-key: 'true' - codefresh.io/runtime-name: aws-local-runtime - name: sealed-secrets-keym54dj -data: - tls.crt: >- - LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUV6RENDQXJTZ0F3SUJBZ0lRYmhibVhvSC8ybTZvcHFZMWViS0lKREFOQmdrcWhraUc5dzBCQVFzRkFEQUEKTUI0WERUSXlNRGt3TWpFd01UTXpNVm9YRFRNeU1EZ3pNREV3TVRNek1Wb3dBRENDQWlJd0RRWUpLb1pJaHZjTgpBUUVCQlFBRGdnSVBBRENDQWdvQ2dnSUJBTzYvcENaTmtvSS9SZnd2QnZ3eU0zb3pTVStKQWVZUGprN0toVnJsClZpblVTQlVndHVSQ0pvcUVlZUJFN3ZMSnlESkJRcXJaYXRZQWNlUFgrUDg3SGdPZEZsRFVnNWg5K3pLbzgvLzgKNUJUbjFDc1lUbk9FMVhjOTR5Mk5ZdnNyZlVDeXg2UUtDMEFZSmdyNlBVcDBwZlh1WU9zdWRzQitOLzJxdnRSVApsaWVQeVNORURLWXdYVGZ3OUYrbWRJUUgrYlJhS05wamVaUTBZTEFGbFBDWVdOY3BzY1I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VhBTG9ua1RoMkdkQWFkV28KS2ZqZ1JwUDVvbEVBcDhWWk1ybXA0YWZ4MS9QUkpxLzV3NEdSVStieDNVVmgvM25lN1F5RjVhOTVvRERaeTVWZwp2aE1CM3ozaFZlQU5KU0ZKb1REenpGbC8yT3p6OTE5S0pQbEp3VTdLdEJ0RlJjWW9FNHVDYXp5UVMwK29KdEJtCjdraFNBemwwVi8zeUViQkdHRWRKUllrSGdQRlprMHl3SXdLQ0FRRUF1WE01VktoNDhncXZLdUZlbXdwclczdjkKMlRjSzcwWGJDdnhkc09Va0ovaUs2a05kR21PK2VHS3FmKzJwTGRBSW12NG1heTJJcmRrTThnRklOUDJIWHgrRgpSUUNHRVpsYllzcUt1bHNVQlgzQ2xtNGRySVg5NW50dVg3T3RUTHpKYTE0YWF1NlRMUFdoZjZ6QTBNdW5ZVzZSClV6SysrY1lCVG0rWkhFSWJkYVZjVE4ydGRJanExTzllUVBMckYyYWJPaUFMTjZNc3UwVkF4Y21oYnE0MEpxRTMKczMxaFN6dC9BNTNJSTVBaGJxRHJXOUM3Y0J1ZzBnNy96NllhcmFOU2xVa0NZdDByZkNzdytlSE9wa3BMOFR0RQpCaDBBbjhSdVN4c2FwODZhczgxR0d4NDl2UWtrREZPRnFoY1F1dVViWWxMdkEvejdkM3FWL2hYWnBFNkRiUT09Ci0tLS0tRU5EIFJTQSBQUklWQVRFIEtFWS0tLS0tCg== diff --git a/shared-config/runtimes/aws-local-runtime/in-cluster.yaml b/shared-config/runtimes/aws-local-runtime/in-cluster.yaml deleted file mode 100644 index 0581bc1..0000000 --- a/shared-config/runtimes/aws-local-runtime/in-cluster.yaml +++ /dev/null @@ -1,28 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - finalizers: - - resources-finalizer.argocd.argoproj.io - labels: - codefresh.io/entity: internal-config - codefresh.io/internal: "true" - name: in-cluster -spec: - destination: - namespace: aws-local-runtime - server: https://kubernetes.default.svc - project: default - source: - directory: - include: '{all-runtimes-all-clusters/*.yaml,all-runtimes-all-clusters/**/*.yaml,runtimes/aws-local-runtime/*.yaml,runtimes/aws-local-runtime/**/*.yaml,control-planes/*.yaml,control-planes/**/*.yaml}' - recurse: true - path: shared-config/resources - repoURL: https://github.com/PhilippPlotnikov/aws-local-runtime.git - targetRevision: HEAD - syncPolicy: - automated: - allowEmpty: true - prune: true - selfHeal: true - syncOptions: - - allowEmpty=true diff --git a/test2.txt b/test2.txt new file mode 100644 index 0000000..2969be3 --- /dev/null +++ b/test2.txt @@ -0,0 +1 @@ +test 2