Skip to content

Commit

Permalink
#6 - standardize selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
obriensystems committed Dec 16, 2024
1 parent 3dbc7a7 commit 7078758
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions src/kubernetes/eks/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: helloweb
name: helloweb-tls
labels:
app: hello
app: helloweb-tls
# reloader
annotations:
reloader.stakater.com/auto: "true"
spec:
replicas: 1
selector:
matchLabels:
app: hello
app: helloweb-tls
tier: web
template:
metadata:
labels:
app: hello
app: helloweb-tls
tier: web
spec:
containers:
- name: hello-app
- name: helloweb-tls
image: us-docker.pkg.dev/google-samples/containers/gke/hello-app-tls:1.0
imagePullPolicy: Always
ports:
Expand Down
4 changes: 2 additions & 2 deletions src/kubernetes/eks/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
apiVersion: v1
kind: Service
metadata:
name: helloweb
name: helloweb-tls
spec:
ports:
- port: 443
protocol: TCP
targetPort: 8443
selector:
app: hello
app: helloweb-tls
tier: web
type: LoadBalancer

0 comments on commit 7078758

Please sign in to comment.