This repository was archived by the owner on Dec 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5427c12
commit 29f529d
Showing
10 changed files
with
32 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ruby:3.1 | ||
FROM ruby:3.2 | ||
MAINTAINER CyberArk Software Ltd. | ||
|
||
RUN apt-get update && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.17-stretch | ||
FROM golang:1.20 | ||
MAINTAINER CyberArk Software, Inc. | ||
|
||
ENV GOOS=linux \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
module github.com/cyberark/conjur-service-broker/buildpack-health-check | ||
|
||
go 1.17 | ||
go 1.20 | ||
|
||
require github.com/cyberark/conjur-api-go v0.10.2 | ||
|
||
require ( | ||
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect | ||
github.com/sirupsen/logrus v1.8.1 // indirect | ||
golang.org/x/sys v0.1.0 // indirect | ||
golang.org/x/sys v0.8.0 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
) | ||
|
||
replace golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 => golang.org/x/sys v0.8.0 | ||
|
||
replace golang.org/x/sys v0.0.0-20211214234402-4825e8c3871d => golang.org/x/sys v0.8.0 | ||
|
||
replace golang.org/x/sys v0.8.0 => golang.org/x/sys v0.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
require 'sinatra/base' | ||
require 'roda' | ||
|
||
# The TestApp class returns several secrets to verify | ||
# functionality with Conjur | ||
class TestApp < Sinatra::Application | ||
class TestApp < Roda | ||
plugin :default_headers, 'Content-Type'=>'text/html' | ||
|
||
configure do | ||
set :bind, '0.0.0.0' | ||
end | ||
|
||
get '/' do | ||
" | ||
route do |r| | ||
r.root do | ||
" | ||
<p>Org Secret: #{ENV['ORG_SECRET']}</p> | ||
<p>Space Secret: #{ENV['SPACE_SECRET']}</p> | ||
<p>App Secret: #{ENV['APP_SECRET']}</p> | ||
" | ||
end | ||
end | ||
|
||
end |