kubectl's built-in kustomize applies a temporary overlay that overrides the image tag, removing the slow kustomize download from GitHub. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
23 lines
493 B
YAML
23 lines
493 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: personal-site
|
|
|
|
resources:
|
|
- namespace.yaml
|
|
- configmap.yaml
|
|
- deployment.yaml
|
|
- service.yaml
|
|
- ingress.yaml
|
|
|
|
labels:
|
|
- pairs:
|
|
app.kubernetes.io/name: personal-site
|
|
app.kubernetes.io/managed-by: kustomize
|
|
|
|
# CI pins the tag to sha-<commit> via a generated overlay (see deploy.yml).
|
|
images:
|
|
- name: jesseinit-portfolio
|
|
newName: tea.jesseinit.dev/jesseinit/personal-site
|
|
newTag: latest
|