Variable | Description | Required |
---|---|---|
KUBERNETES_CLUSTER_ENDPOINT |
Kubernetes API endpoint | Yes |
KUBERNETES_CLUSTER_NAME |
Name of the cluster | Yes |
KUBERNETES_CLUSTER_NAMESPACE |
Namespace for deployments | Yes |
KUBERNETES_CLUSTER_USER_TOKEN |
Authentication token | Yes |
KUBERNETES_CLUSTER_SERVICEACCOUNT |
Service account name | Yes |
KUBERNETES_CLUSTER_CERTIFICATE |
Cluster certificate | Yes |
KUBERNETES_CLUSTER_USER_SECRET |
User secret for auth | Yes |
KUBERNETES_CLUSTER_CONTEXT |
Kubernetes context | Yes |
Variable | Description | Required |
---|---|---|
ACCESS_TOKEN |
GitHub access token | Yes |
ALLOW_SSH_ACCESS_ROLES |
Allowed GitHub roles (e.g., "admin,maintain,write") | Yes |
Variable | Description | Required |
---|---|---|
NODE_PORT |
API server port (default: 8080) | No |
The service includes built-in health monitoring:
livenessProbe:
tcpSocket:
port: ssh
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 2
readinessProbe:
tcpSocket:
port: ssh
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 2
Each deployment includes metadata labels:
git.name: docker-sftp
git.owner: [organization]
git.branch: [branch-name]
These are used for service discovery and routing.