From 2712e32e0ca87cde29bb2b73c853ab52cf8dbc87 Mon Sep 17 00:00:00 2001 From: Joyce Ma Date: Thu, 31 Oct 2024 20:46:01 +0000 Subject: [PATCH] Add ResourceConfig for PrivilegedAccessManagerEntitlement --- .../privilegedaccessmanager.yaml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 config/servicemappings/privilegedaccessmanager.yaml diff --git a/config/servicemappings/privilegedaccessmanager.yaml b/config/servicemappings/privilegedaccessmanager.yaml new file mode 100644 index 0000000000..728ed27653 --- /dev/null +++ b/config/servicemappings/privilegedaccessmanager.yaml @@ -0,0 +1,27 @@ +# Copyright 2024 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# 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 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +apiVersion: core.cnrm.cloud.google.com/v1alpha1 +kind: ServiceMapping +metadata: + name: privilegedaccessmanager.cnrm.cloud.google.com + namespace: cnrm-system +spec: + name: PrivilegedAccessManager + version: v1alpha1 + serviceHostName: "privilegedaccessmanager.googleapis.com" + resources: + - name: google_privileged_access_manager_entitlement + kind: PrivilegedAccessManagerEntitlement + direct: true \ No newline at end of file