github.com/argoproj/argo-cd/v2@v2.10.9/server/settings/settings.proto (about) 1 syntax = "proto3"; 2 option go_package = "github.com/argoproj/argo-cd/v2/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/v2/pkg/apis/application/v1alpha1/generated.proto"; 12 import "github.com/argoproj/argo-cd/v2/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.v2.pkg.apis.application.v1alpha1.ResourceOverride> resourceOverrides = 5; 24 bool statusBadgeEnabled = 6; 25 GoogleAnalyticsConfig googleAnalytics = 7; 26 github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.KustomizeOptions kustomizeOptions = 8; 27 // Help settings 28 Help help = 9; 29 repeated Plugin plugins = 10; 30 bool userLoginsDisabled = 11; 31 // Deprecated: use sidecar plugins instead. 32 repeated github.com.argoproj.argo_cd.v2.pkg.apis.application.v1alpha1.ConfigManagementPlugin configManagementPlugins = 12; 33 repeated string kustomizeVersions = 13; 34 string uiCssURL = 14; 35 string uiBannerContent = 15; 36 string uiBannerURL = 16; 37 string passwordPattern = 17; 38 string trackingMethod = 18; 39 bool uiBannerPermanent = 19; 40 string uiBannerPosition = 20; 41 string statusBadgeRootUrl = 21; 42 bool execEnabled = 22; 43 string controllerNamespace = 23; 44 bool appsInAnyNamespaceEnabled = 24; 45 } 46 47 message GoogleAnalyticsConfig { 48 string trackingID = 1; 49 bool anonymizeUsers = 2; 50 } 51 52 message SettingsPluginsResponse { 53 repeated Plugin plugins = 1; 54 } 55 56 // Help settings 57 message Help { 58 // the URL for getting chat help, this will typically be your Slack channel for support 59 string chatUrl = 1; 60 // the text for getting chat help, defaults to "Chat now!" 61 string chatText = 2; 62 // the URLs for downloading argocd binaries 63 map<string, string> binaryUrls = 3; 64 } 65 66 // Plugin settings 67 message Plugin { 68 // the name of the plugin, e.g. "kasane" 69 string name = 1; 70 } 71 72 message DexConfig { 73 repeated Connector connectors = 1; 74 } 75 76 message Connector { 77 string name = 1; 78 string type = 2; 79 } 80 81 message OIDCConfig { 82 string name = 1; 83 string issuer = 2; 84 string clientID = 3 [(gogoproto.customname) = "ClientID"]; 85 string cliClientID = 4 [(gogoproto.customname) = "CLIClientID"]; 86 repeated string scopes = 5; 87 map<string, github.com.argoproj.argo_cd.server.settings.oidc.Claim> idTokenClaims = 6 [(gogoproto.customname) = "IDTokenClaims"]; 88 bool enablePKCEAuthentication = 7; 89 } 90 91 // SettingsService 92 service SettingsService { 93 94 // Get returns Argo CD settings 95 rpc Get(SettingsQuery) returns (Settings) { 96 option (google.api.http).get = "/api/v1/settings"; 97 } 98 99 // Get returns Argo CD plugins 100 rpc GetPlugins(SettingsQuery) returns (SettingsPluginsResponse) { 101 option (google.api.http).get = "/api/v1/settings/plugins"; 102 } 103 }