apiVersion: v1
kind: ConfigMap
metadata:
  labels:
    control-plane: seldon-controller-manager
  name: config
data:
  credentials: |-
    {
       "gcs" : {
           "gcsCredentialFileName": "gcloud-application-credentials.json"
       },
       "s3" : {
           "s3AccessKeyIDName": "awsAccessKeyID",
           "s3SecretAccessKeyName": "awsSecretAccessKey"
       }
    }
  predictor_servers: |-
    {
        "TENSORFLOW_SERVER": {
            "tensorflow": true,
            "tfImage": "tensorflow/serving:latest",
            "rest": {
              "image": "seldonio/tfserving-proxy_rest",
              "defaultImageVersion": "0.7"
            },
            "grpc": {
              "image": "seldonio/tfserving-proxy_grpc",
              "defaultImageVersion": "0.7"
            }
        },
        "SKLEARN_SERVER": {
            "rest": {
              "image": "seldonio/sklearnserver_rest",
              "defaultImageVersion": "0.2"
            },
            "grpc": {
              "image": "seldonio/sklearnserver_grpc",
              "defaultImageVersion": "0.2"
            }
        },
        "XGBOOST_SERVER": {
            "rest": {
              "image": "seldonio/xgboostserver_rest",
              "defaultImageVersion": "0.3"
            },
            "grpc": {
              "image": "seldonio/xgboostserver_grpc",
              "defaultImageVersion": "0.3"
            }
        },
        "MLFLOW_SERVER": {
            "rest": {
              "image": "seldonio/mlflowserver_rest",
              "defaultImageVersion": "0.2"
            },
            "grpc": {
              "image": "seldonio/mlflowserver_grpc",
              "defaultImageVersion": "0.2"
            }
        }
    }
  storageInitializer: |-
    {
        "image" : "gcr.io/kfserving/storage-initializer:0.2.2",
        "memoryRequest": "100Mi",
        "memoryLimit": "1Gi",
        "cpuRequest": "100m",
        "cpuLimit": "1"
    }
