From fb45778859fa337cce7f3ca1894cd3a6e6df90bf Mon Sep 17 00:00:00 2001
From: manupanand <manupanandindianinvestor@gmail.com>
Date: Tue, 14 Jan 2025 11:47:48 +0530
Subject: [PATCH] issue update

---
 .github/ISSUE_TEMPLATE/user-story.md | 57 ++++++++++++++++++----------
 git.sh                               |  8 ++++
 project-ops/dev/k8s/dev-combined.yml | 11 +++++-
 3 files changed, 56 insertions(+), 20 deletions(-)
 create mode 100644 git.sh

diff --git a/.github/ISSUE_TEMPLATE/user-story.md b/.github/ISSUE_TEMPLATE/user-story.md
index 4acd10e..96636d8 100644
--- a/.github/ISSUE_TEMPLATE/user-story.md
+++ b/.github/ISSUE_TEMPLATE/user-story.md
@@ -1,23 +1,42 @@
 ---
-name: user story
-about: this template is for user stories
-title: ''
-labels: ''
+name: Implement Subscribe/Unsubscribe Service
+about: Add a subscription/unsubscription service to the project
+title: 'Implement Subscribe/Unsubscribe Service for Users'
+labels: enhancement, service
 assignees: manupanand
-
+milestone: 'Version 1.0'
+estimate: 5
 ---
 
-**As a** [role]  
- **I need** [function]  
- **So that** [benefit]  
-   
- ### Details and Assumptions
- * [document what you know]
-   
- ### Acceptance Criteria  
-   
- ```gherkin
- Given [some context]
- When [certain action is taken]
- Then [the outcome of action is observed]
- ```
+## Description
+The goal is to implement a service that allows users to subscribe and unsubscribe from notifications, newsletters, or other services. This service should handle user actions and maintain their subscription status.
+
+## Acceptance Criteria
+
+**Given** a user is logged in,  
+**When** the user subscribes to a service,  
+**Then** the user's subscription status is updated to "subscribed".
+
+**Given** a user is logged in,  
+**When** the user unsubscribes from a service,  
+**Then** the user's subscription status is updated to "unsubscribed".
+
+**Given** a user subscribes,  
+**When** the subscription action is successful,  
+**Then** a confirmation notification is sent to the user.
+
+**Given** a user unsubscribes,  
+**When** the unsubscription action is successful,  
+**Then** a confirmation notification is sent to the user.
+
+## Assumptions:
+- The user has already been authenticated in the system.
+- The service will use a database to store user subscription statuses.
+- The service will be integrated with an email/SMS notification system to notify users on subscription changes.
+
+## Additional Notes:
+- Ensure proper validation for user input (e.g., preventing a user from subscribing multiple times without unsubscribing).
+- Consider scalability for handling large numbers of users.
+
+## Estimated Time: 5 hours
+
diff --git a/git.sh b/git.sh
new file mode 100644
index 0000000..5335031
--- /dev/null
+++ b/git.sh
@@ -0,0 +1,8 @@
+echo adding files to staging
+git add .
+echo what is this commit for ?
+read commit
+git commit -m "${commit}"
+echo staged, pushing to main $commit
+git push origin main
+git status
\ No newline at end of file
diff --git a/project-ops/dev/k8s/dev-combined.yml b/project-ops/dev/k8s/dev-combined.yml
index 4227618..4a0bbf5 100644
--- a/project-ops/dev/k8s/dev-combined.yml
+++ b/project-ops/dev/k8s/dev-combined.yml
@@ -16,6 +16,15 @@ spec:
     spec:
       containers:
       - name: quiz-app-container
-        image: manupanand/quiz-app:1.0 # Replace with your Docker Hub username and image tag
+        image: manupanand/quiz-app:2.0 # Replace with your Docker Hub username and image tag
         ports:
         - containerPort: 2500
+---
+apiVersion: apps/v1
+kind: Services
+metadata:
+  name: quiz-app-service
+
+---
+apiVersion: apps/v1
+kind: Secrets
\ No newline at end of file