about summary refs log tree commit diff
path: root/infra/kubernetes
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-09-04T09·34+0100
committerVincent Ambo <tazjin@google.com>2019-09-04T09·34+0100
commit56f9e3775507def5fb0f69e49c3835b747eba7cd (patch)
treee710a36e5c7c73ab260facd813d8ba901a3a9423 /infra/kubernetes
parent628cec34331ea7ef94a71f562a0dc1f8d49e9ecf (diff)
fix(k8s): Move nixery-secrets to the correct namespace
Diffstat (limited to 'infra/kubernetes')
-rw-r--r--infra/kubernetes/nixery/secrets.yaml11
1 files changed, 5 insertions, 6 deletions
diff --git a/infra/kubernetes/nixery/secrets.yaml b/infra/kubernetes/nixery/secrets.yaml
index ec97a29d362a..e9374faa48c1 100644
--- a/infra/kubernetes/nixery/secrets.yaml
+++ b/infra/kubernetes/nixery/secrets.yaml
@@ -4,6 +4,11 @@
 # Not all of the values are actually secret (see the matching)
 ---
 apiVersion: v1
+kind: Secret
+metadata:
+  name: nixery-secrets
+  namespace: kube-public
+type: Opaque
 data:
   gcs-key.json: {{ passLookup "nixery-gcs-json" | b64enc }}
   gcs-key.pem: {{ passLookup "nixery-gcs-pem" | b64enc }}
@@ -11,9 +16,3 @@ data:
   id_nixery.pub: {{ insertFile "id_nixery.pub" | b64enc }}
   known_hosts: {{ insertFile "known_hosts" | b64enc }}
   ssh_config: {{ insertFile "ssh_config" | b64enc }}
-kind: Secret
-metadata:
-  creationTimestamp: null
-  name: nixery-secrets
-  selfLink: /api/v1/namespaces/kube-public/secrets/nixery-secrets
-type: Opaque