summaryrefslogtreecommitdiffhomepage
path: root/cmd/k8s-operator/deploy/examples
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/k8s-operator/deploy/examples')
-rw-r--r--cmd/k8s-operator/deploy/examples/proxclass.yaml11
-rw-r--r--cmd/k8s-operator/deploy/examples/proxyclassremoveinit.yaml10
2 files changed, 21 insertions, 0 deletions
diff --git a/cmd/k8s-operator/deploy/examples/proxclass.yaml b/cmd/k8s-operator/deploy/examples/proxclass.yaml
new file mode 100644
index 000000000..5fa661806
--- /dev/null
+++ b/cmd/k8s-operator/deploy/examples/proxclass.yaml
@@ -0,0 +1,11 @@
+apiVersion: tailscale.com/v1alpha1
+kind: ProxyClass
+metadata:
+ name: prod
+spec:
+ statefulSet:
+ pod:
+ nodeSelector:
+ beta.kubernetes.io/os: "linux"
+ imagePullSecrets:
+ - name: "foo"
diff --git a/cmd/k8s-operator/deploy/examples/proxyclassremoveinit.yaml b/cmd/k8s-operator/deploy/examples/proxyclassremoveinit.yaml
new file mode 100644
index 000000000..a2d278fc8
--- /dev/null
+++ b/cmd/k8s-operator/deploy/examples/proxyclassremoveinit.yaml
@@ -0,0 +1,10 @@
+apiVersion: tailscale.com/v1alpha1
+kind: ProxyClass
+metadata:
+ name: removeinit
+spec:
+ statefulSet:
+ pod:
+ patches:
+ - op: remove
+ path: "/spec/initContainers/0"