Commit 4f22ee78 authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

Do not version ansible-generated files

parent 375672bd
Loading
Loading
Loading
Loading
+17 −1
Original line number Diff line number Diff line
operator-platform-external-kubeconfig.yaml
# Ansible generated files
ansible/venv/
ansible/.ansible/

# Generated kubeconfig files
**/operator-platform-external-kubeconfig.yaml

# Generated configuration files from Ansible templates
automation/1-kind-cluster/kind-config.yaml
automation/1-kind-cluster/prometheus-values.yaml
automation/1-kind-cluster/nfd-node-labels.yaml
automation/1-kind-cluster/setup-env.sh

# Temporary files
/tmp/
*.tmp
*.log
+0 −36
Original line number Diff line number Diff line
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
  apiServerAddress: "0.0.0.0"
nodes:
  - role: control-plane
    kubeadmConfigPatches:
      - |
        kind: ClusterConfiguration
        apiServer:
          certSANs:
          - "localhost"
          - "127.0.0.1"
          - "10.69.222.3"
    extraPortMappings:
      - containerPort: 6443  # api_server_port        hostPort: 6443
        listenAddress: "0.0.0.0"
        protocol: TCP
      - containerPort: 30090  # prometheus_nodeport        hostPort: 30090
        listenAddress: "0.0.0.0"
        protocol: TCP
      - containerPort: 30091  # grafana_nodeport        hostPort: 30091
        listenAddress: "0.0.0.0"
        protocol: TCP
      - containerPort: 30092  # alertmanager_nodeport        hostPort: 30092
        listenAddress: "0.0.0.0"
        protocol: TCP
      - containerPort: 30769  # i2edge_nodeport        hostPort: 30769
        listenAddress: "0.0.0.0"
        protocol: TCP
  - role: worker
  - role: worker
containerdConfigPatches:
  - |-
    [plugins."io.containerd.grpc.v1.cri".containerd]
      discard_unpacked_layers = false
+0 −10
Original line number Diff line number Diff line
#!/bin/bash
# Source this file to configure your environment for the Kind cluster
export KUBECONFIG="/home/sergio/i2cat/OperatorPlatform/OP_Automation/automation/1-kind-cluster/operator-platform-external-kubeconfig.yaml"
echo "✓ KUBECONFIG set to: $KUBECONFIG"
echo ""
echo "Cluster nodes:"
kubectl get nodes
echo ""
echo "To use this cluster in other terminals, run:"
echo "  source /home/sergio/i2cat/OperatorPlatform/OP_Automation/automation/1-kind-cluster/setup-env.sh"