2장. 새로운 기능 및 개선 사항
2.1. 모든 사용자 네임스페이스에서 Secrets, ConfigMaps, PersistentVolumesClaims 복제 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
이번 릴리스에서는 모든 사용자의 네임스페이스에서 복제될 Secrets, ConfigMaps, PersistentVolumesClaims를 구성할 수 있습니다. 따라서 모든 사용자가 인증서, 보안 및 구성 파일을 공유할 수 있습니다.
예를 들어 다음 ConfigMap을 생성하면 모든 사용자의 CDI(Container Development Environment)에서 Mavensettings.xml 파일을 사용할 수 있습니다.
kind: ConfigMap
apiVersion: v1
metadata:
name: user-settings-xml
namespace: {prod-namespace}
labels:
app.kubernetes.io/part-of: che.eclipse.org
app.kubernetes.io/component: workspaces-config
annotations:
controller.devfile.io/mount-as: subpath
controller.devfile.io/mount-path: /home/user/.m2
data:
settings.xml: |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>/home/user/.m2/repository</localRepository>
<interactiveMode>true</interactiveMode>
<offline>false</offline>
</settings>
공식 문서 의 절차에 대해 자세히 알아보십시오.
추가 리소스