github.com/argoproj/argo-cd@v1.8.7/server/settings/settings.proto (about)

     1  syntax = "proto3";
     2  option go_package = "github.com/argoproj/argo-cd/pkg/apiclient/settings";
     3  
     4  // Settings Service
     5  //
     6  // Settings Service API retrieves Argo CD settings
     7  package cluster;
     8  
     9  import "gogoproto/gogo.proto";
    10  import "google/api/annotations.proto";
    11  import "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1/generated.proto";
    12  import "github.com/argoproj/argo-cd/server/settings/oidc/claims.proto";
    13  
    14  // SettingsQuery is a query for Argo CD settings
    15  message SettingsQuery {
    16  }
    17  
    18  message Settings {
    19      string url = 1 [(gogoproto.customname) = "URL"];
    20      DexConfig dexConfig = 2;
    21      OIDCConfig oidcConfig = 3 [(gogoproto.customname) = "OIDCConfig"];
    22      string appLabelKey = 4;
    23      map<string, github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.ResourceOverride> resourceOverrides = 5;
    24      bool statusBadgeEnabled = 6;
    25      GoogleAnalyticsConfig googleAnalytics = 7;
    26      github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.KustomizeOptions kustomizeOptions = 8;
    27      // Help settings
    28      Help help = 9;
    29      repeated Plugin plugins = 10;
    30      bool userLoginsDisabled = 11;
    31      repeated github.com.argoproj.argo_cd.pkg.apis.application.v1alpha1.ConfigManagementPlugin configManagementPlugins = 12;
    32      repeated string kustomizeVersions = 13;
    33      string uiCssURL = 14;
    34  }
    35  
    36  message GoogleAnalyticsConfig {
    37      string trackingID = 1;
    38      bool anonymizeUsers = 2;
    39  }
    40  
    41  // Help settings
    42  message Help {
    43      // the URL for getting chat help, this will typically be your Slack channel for support
    44      string chatUrl = 1;
    45      // the text for getting chat help, defaults to "Chat now!"
    46      string chatText = 2;
    47  }
    48  
    49  // Plugin settings
    50  message Plugin {
    51      // the name of the plugin, e.g. "kasane"
    52      string name = 1;
    53  }
    54  
    55  
    56  message DexConfig {
    57      repeated Connector connectors = 1;
    58  }
    59  
    60  message Connector {
    61      string name = 1;
    62      string type = 2;
    63  }
    64  
    65  message OIDCConfig {
    66      string name = 1;
    67      string issuer = 2;
    68      string clientID = 3 [(gogoproto.customname) = "ClientID"];
    69      string cliClientID = 4 [(gogoproto.customname) = "CLIClientID"];
    70      repeated string scopes = 5;
    71      map<string, github.com.argoproj.argo_cd.server.settings.oidc.Claim> idTokenClaims = 6 [(gogoproto.customname) = "IDTokenClaims"];
    72  }
    73  
    74  // SettingsService
    75  service SettingsService {
    76  
    77      // Get returns Argo CD settings
    78      rpc Get(SettingsQuery) returns (Settings) {
    79  		option (google.api.http).get = "/api/v1/settings";
    80  	}
    81  
    82  }