From cf42609197f18ee93f97a10db8e111550dfe6640 Mon Sep 17 00:00:00 2001 From: "Otter Prime Sr (steve)" Date: Fri, 30 Jun 2023 12:54:21 -0700 Subject: [PATCH 1/2] Fix Cluster Role, pathing in script, and README instructions --- README.md | 6 +++--- deployments/rbac/apply.sh | 4 ++++ deployments/rbac/clusterrole.yaml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 10fe59bc..8a1c0d77 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ There is a much more detailed [Installation Reference](docs/README.md) available 2. Apply the Namespace -```kubectl apply -f deployments/namespace.yaml``` +```kubectl apply -f deployments/deployment/namespace.yaml``` 3. Apply the RBAC resources @@ -119,11 +119,11 @@ There is a much more detailed [Installation Reference](docs/README.md) available 4. Update / Apply the ConfigMap (For best results update the `nginx-hosts` values first) -```kubectl apply -f deployments/configmap.yaml``` +```kubectl apply -f deployments/deployment/configmap.yaml``` 5. Apply the Deployment -```kubectl apply -f deployments/deployment.yaml``` +```kubectl apply -f deployments/deployment/deployment.yaml``` 6. Check the logs diff --git a/deployments/rbac/apply.sh b/deployments/rbac/apply.sh index e1689c5f..58248da1 100755 --- a/deployments/rbac/apply.sh +++ b/deployments/rbac/apply.sh @@ -1,8 +1,12 @@ #!/bin/bash +pushd "$(dirname "$0")" + echo "Applying all RBAC resources..." kubectl apply -f serviceaccount.yaml kubectl apply -f clusterrole.yaml kubectl apply -f clusterrolebinding.yaml kubectl apply -f secret.yaml + +popd diff --git a/deployments/rbac/clusterrole.yaml b/deployments/rbac/clusterrole.yaml index 5827ef60..9edf9e0f 100644 --- a/deployments/rbac/clusterrole.yaml +++ b/deployments/rbac/clusterrole.yaml @@ -1,7 +1,7 @@ apiVersion: rbac.authorization.k8s.io/v1 kind: ClusterRole metadata: - name: ingress-resource-get-watch-list + name: resource-get-watch-list namespace: nlk rules: - apiGroups: From 1126c99dde7173a161e29a91f087cea245d5ae3c Mon Sep 17 00:00:00 2001 From: "Otter Prime Sr (steve)" Date: Fri, 7 Jul 2023 14:24:45 -0700 Subject: [PATCH 2/2] More replacements for rename --- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++-- CONTRIBUTING.md | 4 ++-- SECURITY.md | 2 +- SUPPORT.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 6b1857e0..cc6c1d26 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -13,7 +13,7 @@ A clear and concise description of what the bug is. Steps to reproduce the behavior: -1. Deploy nginx_k8s_loadbalancer using +1. Deploy nginx_loadbalancer_kubernetes using 2. View output/logs/configuration on '...' 3. See error @@ -23,7 +23,7 @@ A clear and concise description of what you expected to happen. ### Your environment -- Version of the nginx_k8s_loadbalancer or specific commit +- Version of the nginx_loadbalancer_kubernetes or specific commit - Target deployment platform diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 14c3721f..0e900ec6 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,6 +1,6 @@ # Contributing Guidelines -The following is a set of guidelines for contributing to the nginx_k8s_loadbalancer. We really appreciate that you are considering contributing! +The following is a set of guidelines for contributing to the nginx_loadbalancer_kubernetes. We really appreciate that you are considering contributing! #### Table Of Contents @@ -14,7 +14,7 @@ The following is a set of guidelines for contributing to the nginx_k8s_loadbalan ## Getting Started -Follow our [Installation Guide](https://github.com/nginxinc/nginx-loadbalancer-kubernetes/blob/main/README.md#Installation) to get the nginx_k8s_loadbalancer up and running. +Follow our [Installation Guide](https://github.com/nginxinc/nginx-loadbalancer-kubernetes/blob/main/README.md#Installation) to get the nginx_loadbalancer_kubernetes up and running. diff --git a/SECURITY.md b/SECURITY.md index 916456dc..6c57f96d 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,7 +2,7 @@ ## Latest Versions -We advise users to run or update to the most recent release of the nginx_k8s_loadbalancer. Older versions of the nginx_k8s_loadbalancer may not have all enhancements and/or bug fixes applied to them. +We advise users to run or update to the most recent release of the nginx_loadbalancer_kubernetes. Older versions of the nginx_loadbalancer_kubernetes may not have all enhancements and/or bug fixes applied to them. ## Reporting a Vulnerability diff --git a/SUPPORT.md b/SUPPORT.md index a50bbb3c..45bc32f7 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -4,7 +4,7 @@ We use GitHub for tracking bugs and feature requests related to this project. -Don't know how something in the nginx_k8s_loadbalancer works? Curious if the nginx_k8s_loadbalancer can achieve your desired functionality? Please open an Issue on GitHub with the label `question`. +Don't know how something in the nginx_loadbalancer_kubernetes works? Curious if the nginx_loadbalancer_kubernetes can achieve your desired functionality? Please open an Issue on GitHub with the label `question`. ## NGINX Specific Questions and/or Issues