@@ -50,10 +50,6 @@ pub struct profile {
5050 pub s3_region : String ,
5151 pub s3_accesskey : String ,
5252 pub s3_secretaccesskey : String ,
53- // TODO external dns garbage
54- pub dns_provider : String ,
55- // dns_provider_values: HashMap<String, String>
56- // dns_txtOwnerId: Option<
5753}
5854
5955pub fn interactive_init ( ) -> inquire:: error:: InquireResult < init_vars > {
@@ -256,13 +252,6 @@ pub fn interactive_init() -> inquire::error::InquireResult<init_vars> {
256252 . with_help_message ( "The secret acess key to the S3 bucket." )
257253 . prompt ( ) ?
258254 } ,
259- dns_provider : {
260- // TODO : literally all of the external DNS settings
261- inquire:: Text :: new ( "DNS provider:" )
262- . with_help_message ( "The name of the cloud DNS provider being used." )
263- . with_placeholder ( "route53" )
264- . prompt ( ) ?
265- } ,
266255 } ;
267256 profiles. push ( prof) ;
268257
@@ -303,7 +292,6 @@ pub fn blank_init() -> init_vars {
303292 s3_region: String :: new( ) ,
304293 s3_accesskey: String :: new( ) ,
305294 s3_secretaccesskey: String :: new( ) ,
306- dns_provider: String :: from( "aws" ) ,
307295 } ] ,
308296 } ;
309297}
@@ -333,16 +321,15 @@ pub fn example_init() -> init_vars {
333321 ] ,
334322 profiles : vec ! [ profile {
335323 profile_name: String :: from( "default" ) ,
336- frontend_url: String :: from( "https://ctf.coolguy.xyz " ) ,
324+ frontend_url: String :: from( "https://ctf.coolguy.invalid " ) ,
337325 frontend_token: String :: from( "secretsecretsecret" ) ,
338- challenges_domain: String :: from( "chals.coolguy.xyz " ) ,
326+ challenges_domain: String :: from( "chals.coolguy.invalid " ) ,
339327 kubecontext: String :: from( "ctf-cluster" ) ,
340328 s3_bucket_name: String :: from( "ctf-bucket" ) ,
341- s3_endpoint: String :: from( "s3.coolguy.xyz " ) ,
329+ s3_endpoint: String :: from( "s3.coolguy.invalid " ) ,
342330 s3_region: String :: from( "us-west-2" ) ,
343331 s3_accesskey: String :: from( "accesskey" ) ,
344332 s3_secretaccesskey: String :: from( "secretkey" ) ,
345- dns_provider: String :: from( "aws" ) ,
346333 } ] ,
347334 } ;
348335}
0 commit comments