Skip to content

Commit

Permalink
Remove hardcoded namespace from code in config map example
Browse files Browse the repository at this point in the history
Signed-off-by: yaacov <kobi.zamir@gmail.com>
  • Loading branch information
yaacov committed Jul 1, 2024
1 parent 857d04a commit 9bfb465
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions rose-game-ai-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: rose-game-ai-cm # modifiy name and namespace
namespace: rose
labels:
app: rose-game-ai
spec:
Expand Down Expand Up @@ -37,12 +36,11 @@ apiVersion: v1
kind: Service
metadata:
name: rose-game-ai-cm # modifiy name and namespace
namespace: rose
spec:
selector:
app: rose-game-ai
ports:
- protocol: TCP
port: 8081
targetPort: 8081
type: LoadBalancer
type: ClusterIP

0 comments on commit 9bfb465

Please sign in to comment.