stem95su: scheduled Drive->site sync CronJob (every 10m)

CronJob stem95su-gdrive-sync (*/10) mounts the content PVC RW and
rclone-syncs the read-only Drive folder "claude" (stem claude/files) onto
it (rclone/rclone:1.74.3, scope=drive.readonly, empty-source guard +
--max-delete 25). ESO ExternalSecret stem95su-rclone <- Vault
secret/stem95su. Requires the GCP OAuth app published to Production or the
refresh token expires ~weekly.

Lands the gdrive-sync stack on master (it had landed on a feature branch
by accident on the shared devvm checkout).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Viktor Barzin 2026-06-09 08:42:26 +00:00
parent 05b50d2b96
commit 6d224861c4
1168 changed files with 120 additions and 358547 deletions

View file

@ -1,16 +0,0 @@
# Add New Service
Help create a new Kubernetes service module.
Service name: $ARGUMENTS
Steps:
1. Create directory at modules/kubernetes/<service-name>/
2. Create main.tf with:
- Namespace resource
- Deployment with appropriate container
- Service resource
- Ingress with TLS and standard annotations
3. Use existing patterns from similar services
4. Add module reference in main.tf
5. Update .claude/CLAUDE.md with new service version

View file

@ -1,13 +0,0 @@
# Kubectl Command
Run kubectl commands on the cluster.
```bash
kubectl --kubeconfig $(pwd)/config $ARGUMENTS
```
Examples:
- `/kubectl get pods -A` - List all pods
- `/kubectl get pods -n immich` - List pods in immich namespace
- `/kubectl logs -n immich deploy/immich-server` - View logs
- `/kubectl describe pod -n monitoring <pod>` - Describe a pod

View file

@ -1,9 +0,0 @@
# List All Services
List all Kubernetes services deployed in this infrastructure.
```bash
ls -1 modules/kubernetes/
```
Provide a summary of the services, grouped by category if possible (media, monitoring, productivity, etc.).

View file

@ -1,10 +0,0 @@
# Check Service Version
Find the version of a specific service deployed in this infrastructure.
Search for the service name in modules/kubernetes/ and extract:
1. The image version/tag being used
2. Any version variables defined
3. The Helm chart version if applicable
Service to check: $ARGUMENTS

View file

@ -1,9 +0,0 @@
# Terraform Apply
Run terraform apply to deploy infrastructure changes.
```bash
terraform apply -target=module.kubernetes_cluster.module.<service> -var="kube_config_path=$(pwd)/config" -auto-approve
```
ALWAYS use -target to speed up execution. Monitor the output and report any errors or successful completions.

View file

@ -1,9 +0,0 @@
# Terraform Plan
Run terraform plan to preview infrastructure changes.
```bash
terraform plan -target=module.kubernetes_cluster.module.<service> -var="kube_config_path=$(pwd)/config"
```
ALWAYS use -target to speed up execution. Summarize the planned changes, highlighting any resources being destroyed or recreated.

View file

@ -1,12 +0,0 @@
# Update Knowledge Base
Update the .claude/CLAUDE.md knowledge file with new learnings.
Add or update information based on recent discoveries about:
- Service versions
- Infrastructure patterns
- Important configurations
- Useful commands
- Troubleshooting notes
Context to add: $ARGUMENTS