Skip to content

Commit

Permalink
fix: config-defaults mount path
Browse files Browse the repository at this point in the history
Fixes kserve#205

Signed-off-by: Christian Kadner <[email protected]>
  • Loading branch information
ckadner committed Dec 10, 2022
1 parent 0af760d commit cf0d3a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ spec:
cpu: "1"
memory: 512Mi
volumeMounts:
- mountPath: /etc/model-serving/config-defaults.yaml
- mountPath: /etc/model-serving/config/default
name: config-defaults
readOnly: true
securityContext:
Expand Down
4 changes: 2 additions & 2 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down Expand Up @@ -43,7 +43,7 @@ const (
DefaultEtcdSecretName = "model-serving-etcd"

ConfigType = "yaml"
MountLocation = "/etc/model-serving/config-defaults.yaml"
MountLocation = "/etc/model-serving/config/default"
ViperKeyDelimiter = "::"
)

Expand Down

0 comments on commit cf0d3a8

Please sign in to comment.