diff --git a/Dockerfile b/Dockerfile index 7ad6823..8cde195 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,14 +5,11 @@ FROM python:3.9.18-alpine3.18 WORKDIR /app # Copy the necessary files -COPY src/ /app/src/ +COPY src/ /app/ COPY requirements.txt /app/ # Install required Python packages -RUN pip install --no-cache-dir -r requirements.txt - -# Install Kopf -RUN pip install kopf +RUN pip install --no-cache-dir -r /app/requirements.txt # Create a non-root user RUN adduser -D operator-usr diff --git a/README.md b/README.md index a902d6f..351b8fe 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ helm repo add phase https://helm.phase.dev && helm repo update Install the Phase Secrets Operator: ```fish -helm install phase-secrets-operator phase/phase-kubernetes-operator --set image.tag=v0.1.0 +helm install phase-secrets-operator phase/phase-kubernetes-operator --set image.tag=v1.0.1 ``` It's best practice to specify the version in production environments to avoid diff --git a/cr-template.yaml b/cr-template.yaml index bf4ef4e..1af64a3 100644 --- a/cr-template.yaml +++ b/cr-template.yaml @@ -6,7 +6,6 @@ metadata: spec: phaseApp: "your-phase-application" # The name of your Phase application phaseAppEnv: "production" # OPTIONAL The Phase application environment to fetch secrets from - phaseAppEnvTag: "certs" # OPTIONAL Tag for filtering secrets in the specified Phase app environment. phaseHost: "https://console.phase.dev" # OPTIONAL - URL of a Phase Console instance authentication: serviceToken: diff --git a/phase-kubernetes-operator/Chart.yaml b/phase-kubernetes-operator/Chart.yaml index 5497b8d..472c894 100644 --- a/phase-kubernetes-operator/Chart.yaml +++ b/phase-kubernetes-operator/Chart.yaml @@ -5,10 +5,10 @@ description: A Helm chart for deploying the Phase Kubernetes Operator type: application # Version of the chart -version: 1.0.0 +version: 1.0.1 # Version of the application (operator) that is being deployed -appVersion: "1.0.0" +appVersion: "1.0.1" # Keywords, maintainers, and source URLs can also be added here keywords: diff --git a/src/utils/keyring.py b/src/utils/keyring.py index f7e0c72..a599b2a 100644 --- a/src/utils/keyring.py +++ b/src/utils/keyring.py @@ -1,7 +1,6 @@ import os import sys import getpass -import keyring from utils.misc import get_default_user_id def get_credentials():