deleted app.yaml +0 -28
| deleted file mode 100644 |
| @@ -1,28 +0,0 @@ |
| 1 | | -apiVersion: argoproj.io/v1alpha1 |
| 2 | | -kind: Application |
| 3 | | -metadata: |
| 4 | | - name: myapp-argo-application |
| 5 | | - namespace: argocd |
| 6 | | -spec: |
| 7 | | - project: default |
| 8 | | - |
| 9 | | - # repository, revision, path, environment |
| 10 | | - source: |
| 11 | | - repoURL: https://gitlab.com/nanuchi/argocd-app-config.git |
| 12 | | - targetRevision: HEAD |
| 13 | | - path: dev |
| 14 | | - destination: |
| 15 | | - server: https://kubernetes.default.svc |
| 16 | | - namespace: myapp |
| 17 | | - |
| 18 | | - syncPolicy: |
| 19 | | - # create namespace automatically |
| 20 | | - syncOptions: |
| 21 | | - - CreateNamespace=true |
| 22 | | - |
| 23 | | - # sync automatically |
| 24 | | - automated: |
| 25 | | - # delete components if they get removed or renamed in repo |
| 26 | | - prune: true |
| 27 | | - # undo manual cluster changes |
| 28 | | - selfHeal: true |
| deleted file mode 100644 |
| @@ -1,28 +0,0 @@ |
| 1 | -apiVersion: argoproj.io/v1alpha1 | | |
| 2 | -kind: Application | | |
| 3 | -metadata: | | |
| 4 | - name: myapp-argo-application | | |
| 5 | - namespace: argocd | | |
| 6 | -spec: | | |
| 7 | - project: default | | |
| 8 | - | | |
| 9 | - # repository, revision, path, environment | | |
| 10 | - source: | | |
| 11 | - repoURL: https://gitlab.com/nanuchi/argocd-app-config.git | | |
| 12 | - targetRevision: HEAD | | |
| 13 | - path: dev | | |
| 14 | - destination: | | |
| 15 | - server: https://kubernetes.default.svc | | |
| 16 | - namespace: myapp | | |
| 17 | - | | |
| 18 | - syncPolicy: | | |
| 19 | - # create namespace automatically | | |
| 20 | - syncOptions: | | |
| 21 | - - CreateNamespace=true | | |
| 22 | - | | |
| 23 | - # sync automatically | | |
| 24 | - automated: | | |
| 25 | - # delete components if they get removed or renamed in repo | | |
| 26 | - prune: true | | |
| 27 | - # undo manual cluster changes | | |
| 28 | - selfHeal: true | | |
deleted dev/configmap.yaml +0 -9
| deleted file mode 100644 |
| @@ -1,9 +0,0 @@ |
| 1 | | -apiVersion: v1 |
| 2 | | -kind: ConfigMap |
| 3 | | -metadata: |
| 4 | | - name: myapp-config |
| 5 | | - # annotation needed for configMaps, so ArgoCD will use them |
| 6 | | - annotations: |
| 7 | | - app.kubernetes.io/part-of: argocd |
| 8 | | -data: |
| 9 | | - log_level: INFO |
| deleted file mode 100644 |
| @@ -1,9 +0,0 @@ |
| 1 | -apiVersion: v1 | | |
| 2 | -kind: ConfigMap | | |
| 3 | -metadata: | | |
| 4 | - name: myapp-config | | |
| 5 | - # annotation needed for configMaps, so ArgoCD will use them | | |
| 6 | - annotations: | | |
| 7 | - app.kubernetes.io/part-of: argocd | | |
| 8 | -data: | | |
| 9 | - log_level: INFO | | |
modified dev/deployment.yaml +0 -6
| @@ -17,9 +17,3 @@ spec: |
| 17 | 17 | image: nanajanashia/argocd-app:1.0 |
| 18 | 18 | ports: |
| 19 | 19 | - containerPort: 8080 |
| 20 | | - env: |
| 21 | | - - name: LOG_LEVEL |
| 22 | | - valueFrom: |
| 23 | | - configMapKeyRef: |
| 24 | | - name: myapp-config |
| 25 | | - key: log_level |
| @@ -17,9 +17,3 @@ spec: |
| 17 | image: nanajanashia/argocd-app:1.0 | 17 | image: nanajanashia/argocd-app:1.0 |
| 18 | ports: | 18 | ports: |
| 19 | - containerPort: 8080 | 19 | - containerPort: 8080 |
| 20 | - env: | | |
| 21 | - - name: LOG_LEVEL | | |
| 22 | - valueFrom: | | |
| 23 | - configMapKeyRef: | | |
| 24 | - name: myapp-config | | |
| 25 | - key: log_level | | |