lib/seira/pods.rb in seira-0.4.0 vs lib/seira/pods.rb in seira-0.4.1
- old
+ new
@@ -103,10 +103,13 @@
temp_pod = {
apiVersion: target_pod['apiVersion'],
kind: 'Pod',
spec: spec,
metadata: {
- name: temp_name
+ name: temp_name,
+ annotations: {
+ owner: Helpers.shell_username
+ }
}
}
# Don't restart the pod when it dies
spec['restartPolicy'] = 'Never'
# Overwrite container commands with something that times out, so if the client disconnects