diff --git a/manifests/deployment.yml b/manifests/deployment.yml deleted file mode 100644 index 002c08fa2..000000000 --- a/manifests/deployment.yml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: sampleapp - labels: - app: sampleapp -spec: - progressDeadlineSeconds: 3600 - replicas: 1 - selector: - matchLabels: - app: sampleapp - template: - metadata: - labels: - app: sampleapp - spec: - serviceAccountName: cicd - containers: - - name: sampleapp - #replace with your container registry. Example: contosodemo.azurecr.io - image: .azurecr.io/azure-pipelines-canary-k8s - imagePullPolicy: Always - ports: - - containerPort: 8000 - - containerPort: 8080 diff --git a/manifests/service.yml b/manifests/service.yml deleted file mode 100644 index 65e9ab8bb..000000000 --- a/manifests/service.yml +++ /dev/null @@ -1,29 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: sampleapp - labels: - app: sampleapp -spec: - selector: - app: sampleapp - ports: - - name: metrics - port: 8000 - protocol: TCP - targetPort: 8000 - - name: http - port: 8080 - protocol: TCP - targetPort: 8080 - type: ClusterIP - ---- - -apiVersion: v1 -kind: Secret -metadata: - name: sa1-token - annotations: - kubernetes.io/service-account.name: cicd -type: kubernetes.io/service-account-token \ No newline at end of file