Skip to content

Commit 78aaad3

Browse files
committed
magic DNS
1 parent 2fc7298 commit 78aaad3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ deploy-secrets-cert:
7474
## deploy the docker registry secret utilized by the application
7575
deploy-secrets-docker-repo:
7676
$(eval github-token := $(shell aws ssm get-parameter --name "/github/pat" --with-decryption --query "Parameter.Value" --output text))
77-
# test the token
7877
echo $(github-token) | docker login ghcr.io -u $(name) --password-stdin
79-
# create the secret
8078
kubectl create secret docker-registry docker-registry \
8179
--namespace="$(name-dashed)" \
8280
--docker-server=ghcr.io/$(name) \
@@ -99,6 +97,8 @@ deploy-secrets-docker-repo:
9997
# --dry-run=client -o yml | kubectl apply -f -
10098

10199
.deploy:
100+
$(eval github-token := $(shell aws ssm get-parameter --name "/github/pat" --with-decryption --query "Parameter.Value" --output text))
101+
echo $(github-token) | docker login ghcr.io -u $(name) --password-stdin
102102
env \
103103
NAME=$(name-dashed) \
104104
DNS_NAME=$(dns-name) \

deploy/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ kind: Service
5151
metadata:
5252
name: ${NAME}-service
5353
namespace: ${NAME}
54+
annotations:
55+
tailscale.com/expose: "true"
5456
spec:
5557
type: ClusterIP
5658
selector:

0 commit comments

Comments
 (0)