Skip to content

Instantly share code, notes, and snippets.

View owlwalks's full-sized avatar
🦉

owlwalks

🦉
  • Brisbane, Australia
View GitHub Profile
@owlwalks
owlwalks / gist:877c9f8b19ffd157033033a60aec1df2
Last active February 24, 2021 22:06
Gitlab + Kubernetes (gitlab-managed-apps) + S3 cache

Make cache (S3) works with Gitlab and K8S (gitlab-managed-apps)

  1. Add secret carries your aws keys:
kubectl create secret generic runner-secrets --from-literal=CACHE_S3_ACCESS_KEY="" --from-literal=CACHE_S3_SECRET_KEY="" -n gitlab-managed-apps
  1. Specify cache env vars: