mirror of
https://github.com/cna-bootcamp/lifesub.git
synced 2025-12-06 08:06:24 +00:00
release
This commit is contained in:
parent
1e45375b26
commit
8d6df6e323
@ -63,26 +63,6 @@ securityContext:
|
||||
runAsUser: 1001
|
||||
EOF
|
||||
|
||||
echo "Creating external service for ${service}..."
|
||||
# External Service 생성 - heredoc으로 직접 manifest 적용
|
||||
kubectl apply -f - <<EOF
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: ${service}-external
|
||||
spec:
|
||||
ports:
|
||||
- name: tcp-postgresql
|
||||
port: 5432
|
||||
protocol: TCP
|
||||
targetPort: tcp-postgresql
|
||||
selector:
|
||||
app.kubernetes.io/component: primary
|
||||
app.kubernetes.io/instance: ${service}
|
||||
sessionAffinity: None
|
||||
type: LoadBalancer
|
||||
EOF
|
||||
|
||||
done
|
||||
|
||||
echo "Installation completed successfully in namespace: ${NAMESPACE}"
|
||||
Loading…
x
Reference in New Issue
Block a user