apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

metadata:
  name: socktop-webterm
  namespace: default

# Common labels applied to all resources
commonLabels:
  app: socktop-webterm
  managed-by: kustomize

# Resources to deploy
resources:
  - 01-configmap.yaml
  - 02-secret.yaml
  - 03-deployment.yaml
  - 04-service.yaml
  - 05-ingress.yaml

# Namespace for all resources
namespace: default

# Images to use (can be overridden)
images:
  - name: 192.168.1.208:3002/jason/socktop-webterm
    newTag: "0.2.0"

# ConfigMap generator options
generatorOptions:
  disableNameSuffixHash: true

# Replicas (can be overridden with kubectl apply -k . --replicas=5)
replicas:
  - name: socktop-webterm
    count: 3

# Common annotations
commonAnnotations:
  version: "0.2.0"
  description: "Socktop WebTerm - Terminal interface for monitoring"
