Skip to content

Commit

Permalink
namespaceを細切れにするのをやめる
Browse files Browse the repository at this point in the history
  • Loading branch information
masebb committed Feb 11, 2024
1 parent 6bdacc9 commit a4ea9be
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 7 additions & 7 deletions manifest/app/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ kind: Deployment
metadata:
name: powerfulfamily-deployment
labels:
app: powerfulfamily
app: powerfulfamily-blog
spec:
replicas: 2
selector:
matchLabels:
app: powerfulfamily
app: powerfulfamily-blog
template:
metadata:
labels:
app: powerfulfamily
app: powerfulfamily-blog
spec:
containers:
- name: powerfulfamily
- name: powerfulfamily-blog
image: ghcr.io/masebb/powerfulfamily.net:latest
ports:
- containerPort: 80
Expand All @@ -24,11 +24,11 @@ apiVersion: v1
kind: Service
metadata:
labels:
name: powerfulfamily
name: powerfulfamily
name: powerfulfamily-blog
name: powerfulfamily-blog
spec:
selector:
app: powerfulfamily
app: powerfulfamily-blog
ports:
- targetPort: http
port: 80
2 changes: 2 additions & 0 deletions manifest/app/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: letsencrypt-prod-powerfulfamily-net
namespace: powerfulfamily
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
Expand All @@ -52,6 +53,7 @@ apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: letsencrypt-prod-www-powerfulfamily-net
namespace: powerfulfamily
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
Expand Down
2 changes: 1 addition & 1 deletion manifest/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: powerfulfamily.net
name: powerfulfamily-blog
namespace: argocd
annotations:
argocd-image-updater.argoproj.io/write-back-method: argocd
Expand Down

0 comments on commit a4ea9be

Please sign in to comment.