Remove Endpoints from manifests (Argo CD excludes them), add setup comments
Argo CD excludes Endpoints by default, so they must be managed manually. Added kubectl apply commands as comments in the service files for reference. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,20 @@
|
||||
# ProxySQL service pointing to external Incus ProxySQL (192.168.9.140)
|
||||
# Endpoints are managed manually (Argo CD excludes Endpoints by default):
|
||||
# kubectl apply -f - <<EOF
|
||||
# apiVersion: v1
|
||||
# kind: Endpoints
|
||||
# metadata:
|
||||
# name: proxysql
|
||||
# namespace: anvil
|
||||
# subsets:
|
||||
# - addresses:
|
||||
# - ip: 192.168.9.140
|
||||
# ports:
|
||||
# - name: mysql
|
||||
# port: 6033
|
||||
# - name: admin
|
||||
# port: 6032
|
||||
# EOF
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
@@ -10,16 +27,3 @@ spec:
|
||||
- name: admin
|
||||
port: 6032
|
||||
targetPort: 6032
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: proxysql
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.9.140
|
||||
ports:
|
||||
- name: mysql
|
||||
port: 6033
|
||||
- name: admin
|
||||
port: 6032
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
# ProxySQL service pointing to external Incus ProxySQL (192.168.9.140)
|
||||
# Endpoints are managed manually (Argo CD excludes Endpoints by default):
|
||||
# kubectl apply -f - <<EOF
|
||||
# apiVersion: v1
|
||||
# kind: Endpoints
|
||||
# metadata:
|
||||
# name: proxysql
|
||||
# namespace: ironclad
|
||||
# subsets:
|
||||
# - addresses:
|
||||
# - ip: 192.168.9.140
|
||||
# ports:
|
||||
# - name: mysql
|
||||
# port: 6033
|
||||
# - name: admin
|
||||
# port: 6032
|
||||
# EOF
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
@@ -10,16 +27,3 @@ spec:
|
||||
- name: admin
|
||||
port: 6032
|
||||
targetPort: 6032
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: proxysql
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.9.140
|
||||
ports:
|
||||
- name: mysql
|
||||
port: 6033
|
||||
- name: admin
|
||||
port: 6032
|
||||
|
||||
Reference in New Issue
Block a user