Skip to content

Commit

Permalink
Add CUBER_APP_NAME and CUBER_RELEASE_VERSION env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
collimarco committed Sep 2, 2024
1 parent 435bf92 commit 4e38255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/cuber/templates/deployment.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ metadata:
app.kubernetes.io/version: <%= @options[:release].to_s.to_json %>
app.kubernetes.io/managed-by: cuber
data:
CUBER_APP_NAME: <%= @options[:app].to_s.to_json %>
CUBER_RELEASE_VERSION: <%= @options[:release].to_s.to_json %>
<%- @options[:env].each do |key, value| -%>
<%= key %>: <%= value.to_s.to_json %>
<%- end -%>
Expand Down
2 changes: 1 addition & 1 deletion lib/cuber/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Cuber
VERSION = '1.12.0'.freeze
VERSION = '1.13.0'.freeze
end

0 comments on commit 4e38255

Please sign in to comment.