We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport fix for Auto-Deploying Manifests ignores symlinked directories
The text was updated successfully, but these errors were encountered:
Infrastructure
Node(s) CPU architecture, OS, and Version:
Linux ip-172-31-15-31 5.15.0-1019-aws #23-Ubuntu SMP Wed Aug 17 18:33:13 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux PRETTY_NAME="Ubuntu 22.04.1 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.1 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy
Cluster Configuration:
single node
Config.yaml:
write-kubeconfig-mode: "0644" tls-san: - fake.fqdn.value cluster-init: true node-name: ip-[redacted].us-east-2.compute.internal protect-kernel-defaults: true selinux: true node-external-ip: [redacted] node-ip: [redacted] secrets-encryption: true kube-apiserver-arg: - 'audit-log-path=/var/lib/rancher/k3s/server/logs/audit.log' - 'audit-policy-file=/var/lib/rancher/k3s/server/audit.yaml' - 'audit-log-maxage=30' - 'audit-log-maxbackup=10' - 'audit-log-maxsize=100' - 'request-timeout=300s' - 'service-account-lookup=true' - 'enable-admission-plugins=NodeRestriction,PodSecurity,NamespaceLifecycle,ServiceAccount' - 'admission-control-config-file=/var/lib/rancher/k3s/server/cluster-level-pss.yaml' kube-controller-manager-arg: - 'terminated-pod-gc-threshold=10' - 'use-service-account-credentials=true' kubelet-arg: - 'streaming-connection-idle-timeout=5m' - 'make-iptables-util-chains=true'
Additional files
bar.yaml apiVersion: v1 kind: Namespace metadata: name: bar
$ sudo mkdir -p /etc/rancher/k3s && sudo cp config.yaml /etc/rancher/k3s
$ sudo -i $ mkdir /var/lib/foo/ $ cat <<EOF > /var/lib/foo/bar.yaml $ > apiVersion: v1 kind: Namespace metadata: name: bar $ > EOF $ ln -s /var/lib/foo /var/lib/rancher/k3s/server/manifests $ exit
k3s kubectl get ns
Validation Results:
k3s -v k3s version v1.29.5+k3s-485eaf31 (485eaf31) go version go1.21.9
k3s kubectl get ns NAME STATUS AGE bar Active 2s default Active 34m kube-node-lease Active 34m kube-public Active 34m kube-system Active 34m
Additional context / logs:
N/A
Sorry, something went wrong.
brandond
endawkins
No branches or pull requests
Backport fix for Auto-Deploying Manifests ignores symlinked directories
The text was updated successfully, but these errors were encountered: