const configMapPatch1 … const configMapPatch2 … // deny configmaps with specific key-value pair. func admitConfigMaps(ar v1.AdmissionReview) *v1.AdmissionResponse { … } func mutateConfigmaps(ar v1.AdmissionReview) *v1.AdmissionResponse { … }
const configMapPatch1 … const configMapPatch2 … // deny configmaps with specific key-value pair. func admitConfigMaps(ar v1.AdmissionReview) *v1.AdmissionResponse { … } func mutateConfigmaps(ar v1.AdmissionReview) *v1.AdmissionResponse { … }