mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-21 14:32:03 +00:00
1) Set document IDs to avoid duplicating documents; 2) Set the `creationTime` field of each document in the index; 3) set the `values`, `kinds` and `identifiers` fields for all documents; 4) Add a `Copy` method into the `Document` struct: this fixes the issue where all the documents existing in the index point to the same Document object; 5) Avoid using keystore redis; 6) Set imagePullPolicy to `Always` for crawler jobs.
24 lines
477 B
YAML
24 lines
477 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: kustomize-search-ui
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: kustomize-search
|
|
tier: frontend
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: kustomize-search
|
|
tier: frontend
|
|
spec:
|
|
containers:
|
|
- name: frontend
|
|
image: gcr.io/kustomize-search/frontend:latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- name: frontend-port
|
|
containerPort: 80
|