cloudstrap-azure 0.7.1.pre → 0.7.3.pre

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3507bc0adf913a98d05e1684f68206f2dce0f81604da579bc0d68edcca16ab13
4
- data.tar.gz: 89f3b4ecb894554b809c33c1dba16561bd37d9cf7e2e094aafa847deafd92200
3
+ metadata.gz: fdb4eea4767aea55122245e9fc02c98e40263e1a6f928fffa19bcfc2c3141753
4
+ data.tar.gz: 8737872073cf424b306a10d5bf6f63877cb9bd154442df8e6ac8279c32863008
5
5
  SHA512:
6
- metadata.gz: dc736cdef1de7e5e9debfa6248bd35dc58cb263005f9df9a1df8f8c4f7697bda88be2231f7496e5c5f7fb49632f5ad780c5fc9f3ee50cba8a62c5c77037fe35f
7
- data.tar.gz: 63c98e73c36a39d6ff63cb25d5cdae50ddd9f31ed6349c4b4330f7db062a7ac0f6bbae11d9753684481bcf93ff90bef22c10f90e2fb6dd372e4c9317c101253d
6
+ metadata.gz: ec41dfcf41b2a77a05214efaa532b4cf80e020e2fa6413768856b7be1cfdd16de8dc145a60d21fc0307940bc0df7bfa916a21a133174b4d0666d0be403229f21
7
+ data.tar.gz: 1e8de685f44ebad580fe51702e63956535122612ce6c26c2ae35fcf37ad1265732c8db86180392b97e1e50aa996bfe868b961ab780cec446cb7f15e7cdc2649e
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -516,7 +516,7 @@ DownloadKubeConfig = ->(container_service, filename) {
516
516
  Purge = -> {
517
517
  if resource_group = FindResourceGroup.(Chamber.env.identifier)
518
518
  WhileSpinning.('Purge Resources') {
519
- AzureAPI::Resource::ResourceGroups.delete(resource_group.name)}
519
+ AzureAPI::Resources::ResourceGroups.delete(resource_group.name)}
520
520
  end
521
521
  if application = FindApplication.(Chamber.env.identifier)
522
522
  if service_principal = FindServicePrincipal.(application)
@@ -527,6 +527,28 @@ Purge = -> {
527
527
  AzureAPI::GraphRbac::Applications.delete(application.object_id)}
528
528
  end}
529
529
 
530
+
531
+ #################
532
+ # Sanity Checks #
533
+ #################
534
+
535
+ if Time.parse(Chamber.env.credential_end_date) < Time.now
536
+ STDERR.puts Pastel.new.red.bold("Bad End Date for Credentials")
537
+
538
+ STDERR.puts(
539
+ Pastel.new.red("
540
+ Credentials were configured to expire at #{Chamber.env.credential_end_date}
541
+
542
+ This time has passed.
543
+
544
+ Please choose a new credential end date during configuration:
545
+ "))
546
+
547
+ STDERR.puts Pastel.new.bold("cloudstrap-azure environment -- cloudstrap-azure configure\n")
548
+
549
+ abort
550
+ end
551
+
530
552
  ################
531
553
  # Main Program #
532
554
  ################
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudstrap-azure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1.pre
4
+ version: 0.7.3.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Olstrom
@@ -34,7 +34,7 @@ cert_chain:
34
34
  EIKh6yDoB+oCRuiTV0uw/lKE2PtbONhJb7uN1qhZqla/iBpmUjiEu8+skI+ygv9n
35
35
  7Krw8FJrV3+VRCiZTPKHeshAfL9yeIZh
36
36
  -----END CERTIFICATE-----
37
- date: 2018-05-28 00:00:00.000000000 Z
37
+ date: 2018-06-04 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: azure_graph_rbac
metadata.gz.sig CHANGED
Binary file